├── .gitignore
├── LICENSE
├── README.md
├── 学员评价
├── IMG_20190720_071849.jpg
├── Screenshot_2019-07-20-07-22-42.png
├── Screenshot_2019-07-20-07-24-56.png
├── Screenshot_2019-07-29-12-27-27.png
├── Screenshot_2019-08-03-22-06-36.png
├── Screenshot_2019-08-06-07-20-40.png
├── Screenshot_2019-08-07-21-09-05.png
└── Screenshot_2019-09-15-22-21-16.png
└── 课程代码
├── 000、配套软件
└── Electric Rain ZAM 3D v1.0.175.rar
├── 第06课、Cascading&ransparencyDemo6
├── Demo6.sln
└── Demo6
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Demo6.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── pict1.jpg
│ ├── pict2.JPG
│ └── pict4.JPG
├── 第07课、FillDemo7
├── Demo7.sln
└── Demo7
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Demo7.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── Tile.png
│ └── img4.jpg
├── 第08课、PathDemo8
├── PathDemo8.sln
└── PathDemo8
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Blend教学.png
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── PathDemo8.csproj
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第09课、LayoutDemo9
├── LayoutDemo9.sln
└── LayoutDemo9
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── LayoutDemo9.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第10课、TextDemo10
├── TextDemo10.sln
└── TextDemo10
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── TextDemo10.csproj
├── 第11课、AnimationDemo11
├── AnimationDemo11.sln
└── AnimationDemo11
│ ├── AnimationDemo11.csproj
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Blend教学.png
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第12课、PathAnimation
├── PathAnimation.sln
└── PathAnimation
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── PathAnimation.csproj
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第13课、AudioDemo
├── AudioDemo.sln
└── AudioDemo
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── AudioDemo.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── TestMp3.mp3
├── 第14课、MediaElementDemo14
├── MediaElementDemo14.sln
└── MediaElementDemo14
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── MediaElementDemo14.csproj
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── movie.mp4
├── 第15课、MoviePlayer15
├── MoviePlayer15.sln
└── MoviePlayer15
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── MoviePlayer15.csproj
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── movie.mp4
├── 第16课、DiscreteAnimation16
├── DiscreteAnimation16.sln
└── DiscreteAnimation16
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DiscreteAnimation16.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第17课、Button17
├── Button17.sln
└── Button17
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Button17.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── 羽化效果.png
├── 第18课、TabControlDemo18
├── TabControlDemo18.sln
└── TabControlDemo18
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── TabControlDemo18.csproj
├── 第19课、CheckBoxDemo19
├── CheckBoxDemo19.sln
└── CheckBoxDemo19
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── CheckBoxDemo19.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第20课、RadioButtonDemo20
├── RadioButtonDemo20.sln
└── RadioButtonDemo20
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── RadioButtonDemo20.csproj
├── 第21课、ComboBoxDemo21
├── ComboBoxDemo21.sln
└── ComboBoxDemo21
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ComboBoxDemo21.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第22课、ListBoxDemo22
├── ListBoxDemo22.sln
└── ListBoxDemo22
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ListBoxDemo22.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第23课、ProgressBarDemo23
├── ProgressBarDemo23.sln
└── ProgressBarDemo23
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── ProgressBarDemo23.csproj
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第24课、SliderDemo24
├── SliderDemo24.sln
└── SliderDemo24
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── SliderDemo24.csproj
├── 第25课、ImageScrollViewerDemo25
├── ImageScrollViewerDemo25.sln
└── ImageScrollViewerDemo25
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── ImageScrollViewerDemo25.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── pict1.jpg
├── 第26课、GirdSplitterDemo26
├── GirdSplitterDemo26.sln
└── GirdSplitterDemo26
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── GirdSplitterDemo26.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第27课、CalenderDemo27
├── CalenderDemo27.sln
└── CalenderDemo27
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── CalenderDemo27.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第28课、DatePickerDemo28
├── DatePickerDemo28.sln
└── DatePickerDemo28
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DatePickerDemo28.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第29课、WebBrowserDemo29
├── WebBrowserDemo29.sln
└── WebBrowserDemo29
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── WebBrowserDemo29.csproj
├── 第30课、DataBindingDemo30
├── DataBindingDemo30.sln
└── DataBindingDemo30
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DataBindingDemo30.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── 第31课、DataPanelDemo31
├── DataPanelDemo31.sln
└── DataPanelDemo31
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DataPanelDemo31.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── SampleData
│ ├── SampleDataSource
│ ├── SampleDataSource.xaml
│ ├── SampleDataSource.xaml.cs
│ └── SampleDataSource.xsd
│ └── 人员信息表SampleDataSource
│ ├── 人员信息表SampleDataSource.xaml
│ ├── 人员信息表SampleDataSource.xaml.cs
│ └── 人员信息表SampleDataSource.xsd
├── 第32课、DataTemplateDemo32
├── DataTemplateDemo32.sln
└── DataTemplateDemo32
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DataTemplateDemo32.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── SampleData
│ └── 人员信息表SampleDataSource
│ ├── 人员信息表SampleDataSource.xaml
│ ├── 人员信息表SampleDataSource.xaml.cs
│ └── 人员信息表SampleDataSource.xsd
├── 第33课、XmlDataDemo33
├── XmlDataDemo33.sln
└── XmlDataDemo33
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── XmlDataDemo33.csproj
│ └── renyuanxinxibiao.xml
├── 第34课、DataGridDemo34
├── DataGridDemo34.sln
└── DataGridDemo34
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── DataGridDemo34.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── RenYuanClass.cs
│ ├── SampleData
│ └── 人员信息表SampleDataSource
│ │ ├── 人员信息表SampleDataSource.xaml
│ │ ├── 人员信息表SampleDataSource.xaml.cs
│ │ └── 人员信息表SampleDataSource.xsd
│ ├── Window1.xaml
│ └── Window1.xaml.cs
├── 第35课、TreeViewDemo35
├── TreeViewDemo35.sln
└── TreeViewDemo35
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── TreeViewDemo35.csproj
├── 第36课、MenuDemo36
├── MenuDemo36.sln
└── MenuDemo36
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── MenuDemo36.csproj
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── plus.png
├── 第37课、Viewport3DDemo37
├── Viewport3DDemo37.sln
└── Viewport3DDemo37
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── Viewport3DDemo37.csproj
│ └── Window1ER_04_Planet_EarthMR1.png
├── 第38课、FlowDocumentReaderDemo38
├── FlowDocumentReaderDemo38.sln
└── FlowDocumentReaderDemo38
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── FlowDocumentReaderDemo38.csproj
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── Window1.xaml
│ ├── Window1.xaml.cs
│ ├── b7f86c7704a1daf8b4005fe78f7fb207_t01c86e0cd812d5454e_size=668x442.png
│ ├── faa30fa6117d7f75ee3db885f13d3968_t01a749efef3578e07d_size=654x453.png
│ └── movie.mp4
├── 第39课、StyleControlTemplateDemo39
├── StyleControlTemplateDemo39.sln
└── StyleControlTemplateDemo39
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Dictionary1.xaml
│ ├── Dictionary2.xaml
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── Simple Styles.xaml
│ ├── StyleControlTemplateDemo39.csproj
│ ├── Window1.xaml
│ ├── Window1.xaml.cs
│ └── pict5.jpg
└── 第40课、CustomControlDemo40
├── CustomControlDemo40.sln
├── CustomControlDemo40
├── App.config
├── App.xaml
├── App.xaml.cs
├── CustomControlDemo40.csproj
├── MainWindow.xaml
├── MainWindow.xaml.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── UserControlAB.xaml
├── UserControlAB.xaml.cs
├── UserControlC.xaml
├── UserControlC.xaml.cs
├── Window1.xaml
└── Window1.xaml.cs
├── WpfControlLibraryDemo40.sln
└── WpfControlLibraryDemo40
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── UserControl1.xaml
├── UserControl1.xaml.cs
└── WpfControlLibraryDemo40.csproj
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 赵庆明
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/学员评价/IMG_20190720_071849.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/IMG_20190720_071849.jpg
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-07-20-07-22-42.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-07-20-07-22-42.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-07-20-07-24-56.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-07-20-07-24-56.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-07-29-12-27-27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-07-29-12-27-27.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-08-03-22-06-36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-08-03-22-06-36.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-08-06-07-20-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-08-06-07-20-40.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-08-07-21-09-05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-08-07-21-09-05.png
--------------------------------------------------------------------------------
/学员评价/Screenshot_2019-09-15-22-21-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/学员评价/Screenshot_2019-09-15-22-21-16.png
--------------------------------------------------------------------------------
/课程代码/000、配套软件/Electric Rain ZAM 3D v1.0.175.rar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/000、配套软件/Electric Rain ZAM 3D v1.0.175.rar
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo6", "Demo6\Demo6.csproj", "{E4A299F3-ABE2-4104-AAC1-38C212420B6F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {E4A299F3-ABE2-4104-AAC1-38C212420B6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E4A299F3-ABE2-4104-AAC1-38C212420B6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E4A299F3-ABE2-4104-AAC1-38C212420B6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E4A299F3-ABE2-4104-AAC1-38C212420B6F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {EF342429-53D3-40D5-A9E2-0B56F1516489}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace Demo6
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace Demo6
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Demo6.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict1.jpg
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict2.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict2.JPG
--------------------------------------------------------------------------------
/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict4.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第06课、Cascading&ransparencyDemo6/Demo6/pict4.JPG
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo7", "Demo7\Demo7.csproj", "{51A06A78-481C-4678-BF9A-8B470B9BD4F6}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {51A06A78-481C-4678-BF9A-8B470B9BD4F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {51A06A78-481C-4678-BF9A-8B470B9BD4F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {51A06A78-481C-4678-BF9A-8B470B9BD4F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {51A06A78-481C-4678-BF9A-8B470B9BD4F6}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {059971A6-E01A-4D25-BD37-B7C5795105A1}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace Demo7
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace Demo7
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Demo7.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/Tile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第07课、FillDemo7/Demo7/Tile.png
--------------------------------------------------------------------------------
/课程代码/第07课、FillDemo7/Demo7/img4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第07课、FillDemo7/Demo7/img4.jpg
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PathDemo8", "PathDemo8\PathDemo8.csproj", "{3C30845E-3F73-44A3-9E51-EC7554882D2C}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {3C30845E-3F73-44A3-9E51-EC7554882D2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {3C30845E-3F73-44A3-9E51-EC7554882D2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {3C30845E-3F73-44A3-9E51-EC7554882D2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {3C30845E-3F73-44A3-9E51-EC7554882D2C}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {033BE4C2-96FE-483F-8805-67096F8C47AA}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace PathDemo8
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/Blend教学.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第08课、PathDemo8/PathDemo8/Blend教学.png
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace PathDemo8
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PathDemo8.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第08课、PathDemo8/PathDemo8/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LayoutDemo9", "LayoutDemo9\LayoutDemo9.csproj", "{AAC657FB-298F-4CB7-997E-B06483D51FBC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {AAC657FB-298F-4CB7-997E-B06483D51FBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {AAC657FB-298F-4CB7-997E-B06483D51FBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {AAC657FB-298F-4CB7-997E-B06483D51FBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {AAC657FB-298F-4CB7-997E-B06483D51FBC}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {682B805C-0382-49FF-BF66-68373A9F72DC}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace LayoutDemo9
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace LayoutDemo9
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 |
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace LayoutDemo9.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第09课、LayoutDemo9/LayoutDemo9/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextDemo10", "TextDemo10\TextDemo10.csproj", "{631EDF4E-245F-458D-A724-8F91E1CBCF0A}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {631EDF4E-245F-458D-A724-8F91E1CBCF0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {631EDF4E-245F-458D-A724-8F91E1CBCF0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {631EDF4E-245F-458D-A724-8F91E1CBCF0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {631EDF4E-245F-458D-A724-8F91E1CBCF0A}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {96EF9158-07AF-44ED-BD60-03CAE93ABC6E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace TextDemo10
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace TextDemo10
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace TextDemo10.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第10课、TextDemo10/TextDemo10/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28531.58
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnimationDemo11", "AnimationDemo11\AnimationDemo11.csproj", "{1FD5EFD8-1D16-4E0E-85A0-DEC3B83E7260}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {1FD5EFD8-1D16-4E0E-85A0-DEC3B83E7260}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {1FD5EFD8-1D16-4E0E-85A0-DEC3B83E7260}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {1FD5EFD8-1D16-4E0E-85A0-DEC3B83E7260}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {1FD5EFD8-1D16-4E0E-85A0-DEC3B83E7260}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {CEC5B4C5-FACF-42A2-AA36-6D5AAA79BB17}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace AnimationDemo11
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/Blend教学.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第11课、AnimationDemo11/AnimationDemo11/Blend教学.png
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace AnimationDemo11
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AnimationDemo11.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第11课、AnimationDemo11/AnimationDemo11/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PathAnimation", "PathAnimation\PathAnimation.csproj", "{85A08C9A-8CBA-4A2A-885B-F6F6E51884A0}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {85A08C9A-8CBA-4A2A-885B-F6F6E51884A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {85A08C9A-8CBA-4A2A-885B-F6F6E51884A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {85A08C9A-8CBA-4A2A-885B-F6F6E51884A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {85A08C9A-8CBA-4A2A-885B-F6F6E51884A0}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {582470C0-63D8-4D2D-A301-0ECDF48A324E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace PathAnimation
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace PathAnimation
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PathAnimation.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第12课、PathAnimation/PathAnimation/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AudioDemo", "AudioDemo\AudioDemo.csproj", "{31CA3939-721B-4BA6-9AFA-42E00F215DE1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {31CA3939-721B-4BA6-9AFA-42E00F215DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {31CA3939-721B-4BA6-9AFA-42E00F215DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {31CA3939-721B-4BA6-9AFA-42E00F215DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {31CA3939-721B-4BA6-9AFA-42E00F215DE1}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {B69D6440-E77E-474F-BFB0-4D426DF27174}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace AudioDemo
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace AudioDemo
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void Button_Click(object sender, RoutedEventArgs e)
29 | {
30 | this.TestMp3_mp3.IsMuted = !this.TestMp3_mp3.IsMuted;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AudioDemo.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第13课、AudioDemo/AudioDemo/TestMp3.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第13课、AudioDemo/AudioDemo/TestMp3.mp3
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaElementDemo14", "MediaElementDemo14\MediaElementDemo14.csproj", "{38D8BABB-5982-4DF7-9228-6BBBDF78ECA3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {38D8BABB-5982-4DF7-9228-6BBBDF78ECA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {38D8BABB-5982-4DF7-9228-6BBBDF78ECA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {38D8BABB-5982-4DF7-9228-6BBBDF78ECA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {38D8BABB-5982-4DF7-9228-6BBBDF78ECA3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {3AB1E04B-D4E1-4DC1-ACEE-BB000F7B0805}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace MediaElementDemo14
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace MediaElementDemo14
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace MediaElementDemo14.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/movie.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第14课、MediaElementDemo14/MediaElementDemo14/movie.mp4
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoviePlayer15", "MoviePlayer15\MoviePlayer15.csproj", "{F7CCB5A2-4B58-4FBE-8345-FC6240251C56}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {F7CCB5A2-4B58-4FBE-8345-FC6240251C56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {F7CCB5A2-4B58-4FBE-8345-FC6240251C56}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {F7CCB5A2-4B58-4FBE-8345-FC6240251C56}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {F7CCB5A2-4B58-4FBE-8345-FC6240251C56}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {69A4F4B4-6EEC-44FE-B66F-0AC044E1A27B}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace MoviePlayer15
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace MoviePlayer15
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace MoviePlayer15.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第15课、MoviePlayer15/MoviePlayer15/movie.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第15课、MoviePlayer15/MoviePlayer15/movie.mp4
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiscreteAnimation16", "DiscreteAnimation16\DiscreteAnimation16.csproj", "{37B6DBD5-9EF5-4273-80DF-80DCEE146D47}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {37B6DBD5-9EF5-4273-80DF-80DCEE146D47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {37B6DBD5-9EF5-4273-80DF-80DCEE146D47}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {37B6DBD5-9EF5-4273-80DF-80DCEE146D47}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {37B6DBD5-9EF5-4273-80DF-80DCEE146D47}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {32B21BE4-D7E9-4565-8A89-200C31919C39}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DiscreteAnimation16
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace DiscreteAnimation16
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DiscreteAnimation16.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第16课、DiscreteAnimation16/DiscreteAnimation16/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Button17", "Button17\Button17.csproj", "{75306A28-5044-4BCE-B6C5-6288DFE21A88}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {75306A28-5044-4BCE-B6C5-6288DFE21A88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {75306A28-5044-4BCE-B6C5-6288DFE21A88}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {75306A28-5044-4BCE-B6C5-6288DFE21A88}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {75306A28-5044-4BCE-B6C5-6288DFE21A88}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {6F0DEA64-D522-4472-9A30-0221ECFE97E6}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace Button17
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace Button17
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Button17.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第17课、Button17/Button17/羽化效果.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第17课、Button17/Button17/羽化效果.png
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TabControlDemo18", "TabControlDemo18\TabControlDemo18.csproj", "{8110B3B6-A5F8-4DF2-93F1-EF17AE57A0C0}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {8110B3B6-A5F8-4DF2-93F1-EF17AE57A0C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {8110B3B6-A5F8-4DF2-93F1-EF17AE57A0C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {8110B3B6-A5F8-4DF2-93F1-EF17AE57A0C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {8110B3B6-A5F8-4DF2-93F1-EF17AE57A0C0}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {9668ADEB-7495-4056-B93D-F574645E01DD}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace TabControlDemo18
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace TabControlDemo18
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void Backgroundcolor_GotFocus(object sender, RoutedEventArgs e)
29 | {
30 | TabItem tabItem = sender as TabItem;
31 | if (tabItem == null) return;
32 |
33 | MessageBox.Show(tabItem.Header.ToString());
34 |
35 | }
36 |
37 | private void tabItem(object sender, RoutedEventArgs e)
38 | {
39 |
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace TabControlDemo18.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第18课、TabControlDemo18/TabControlDemo18/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckBoxDemo19", "CheckBoxDemo19\CheckBoxDemo19.csproj", "{93AE78B3-5BA3-476E-A710-F475627BE32A}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {93AE78B3-5BA3-476E-A710-F475627BE32A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {93AE78B3-5BA3-476E-A710-F475627BE32A}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {93AE78B3-5BA3-476E-A710-F475627BE32A}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {93AE78B3-5BA3-476E-A710-F475627BE32A}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {3C85C61F-BE94-481B-8E45-F1BAF3BAB9C5}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace CheckBoxDemo19
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace CheckBoxDemo19
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void CheckBox_Click(object sender, RoutedEventArgs e)
29 | {
30 | CheckBox checkBox = sender as CheckBox;
31 | if (checkBox == null) return;
32 |
33 | this.textBlock1.Text = "选择结果:" + checkBox.IsChecked.ToString();
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CheckBoxDemo19.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第19课、CheckBoxDemo19/CheckBoxDemo19/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RadioButtonDemo20", "RadioButtonDemo20\RadioButtonDemo20.csproj", "{5A8E81D1-77AA-4276-86C5-84E2FD452D57}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {5A8E81D1-77AA-4276-86C5-84E2FD452D57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {5A8E81D1-77AA-4276-86C5-84E2FD452D57}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {5A8E81D1-77AA-4276-86C5-84E2FD452D57}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {5A8E81D1-77AA-4276-86C5-84E2FD452D57}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {F5771C97-EADB-4101-BA82-F30AE414C7B7}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace RadioButtonDemo20
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace RadioButtonDemo20
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void Button_Click(object sender, RoutedEventArgs e)
29 | {
30 | this.r1.IsChecked = !this.r1.IsChecked;
31 |
32 | }
33 |
34 | private void Button_Click_1(object sender, RoutedEventArgs e)
35 | {
36 | this.r1.IsChecked = null;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace RadioButtonDemo20.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第20课、RadioButtonDemo20/RadioButtonDemo20/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComboBoxDemo21", "ComboBoxDemo21\ComboBoxDemo21.csproj", "{2B5A90DB-B144-4ECB-925A-8E3BAFFF1B12}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {2B5A90DB-B144-4ECB-925A-8E3BAFFF1B12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {2B5A90DB-B144-4ECB-925A-8E3BAFFF1B12}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {2B5A90DB-B144-4ECB-925A-8E3BAFFF1B12}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {2B5A90DB-B144-4ECB-925A-8E3BAFFF1B12}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {8FF7D564-046E-4713-83B8-9C16381423E3}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace ComboBoxDemo21
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ComboBoxDemo21.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第21课、ComboBoxDemo21/ComboBoxDemo21/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ListBoxDemo22", "ListBoxDemo22\ListBoxDemo22.csproj", "{13CC0056-EC0E-45E7-87E3-1B88DA9F76C7}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {13CC0056-EC0E-45E7-87E3-1B88DA9F76C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {13CC0056-EC0E-45E7-87E3-1B88DA9F76C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {13CC0056-EC0E-45E7-87E3-1B88DA9F76C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {13CC0056-EC0E-45E7-87E3-1B88DA9F76C7}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {CC5F089E-928F-43DA-9DDC-8857074E7FCE}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace ListBoxDemo22
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ListBoxDemo22.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第22课、ListBoxDemo22/ListBoxDemo22/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProgressBarDemo23", "ProgressBarDemo23\ProgressBarDemo23.csproj", "{D5D022DE-E2C1-495B-B194-1CE0C8F454BD}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {D5D022DE-E2C1-495B-B194-1CE0C8F454BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {D5D022DE-E2C1-495B-B194-1CE0C8F454BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {D5D022DE-E2C1-495B-B194-1CE0C8F454BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {D5D022DE-E2C1-495B-B194-1CE0C8F454BD}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {4A4F2A94-DCFB-4445-8321-2B27B5822CB6}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace ProgressBarDemo23
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace ProgressBarDemo23
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | private void Button_Click(object sender, RoutedEventArgs e)
29 | {
30 | this.progressBar1.Value += 50;
31 | }
32 |
33 | private void Button_Click_1(object sender, RoutedEventArgs e)
34 | {
35 | this.progressBar1.Value -= 50;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ProgressBarDemo23.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第23课、ProgressBarDemo23/ProgressBarDemo23/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SliderDemo24", "SliderDemo24\SliderDemo24.csproj", "{62FF3C68-1D3A-4829-BAF1-44D05DD43953}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {62FF3C68-1D3A-4829-BAF1-44D05DD43953}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {62FF3C68-1D3A-4829-BAF1-44D05DD43953}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {62FF3C68-1D3A-4829-BAF1-44D05DD43953}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {62FF3C68-1D3A-4829-BAF1-44D05DD43953}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {5B333C5D-6AC2-4F39-B8E8-3CB20D7BD21C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace SliderDemo24
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace SliderDemo24
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace SliderDemo24.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第24课、SliderDemo24/SliderDemo24/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace ImageScrollViewerDemo25
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ImageScrollViewerDemo25.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/pict1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第25课、ImageScrollViewerDemo25/ImageScrollViewerDemo25/pict1.jpg
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GirdSplitterDemo26", "GirdSplitterDemo26\GirdSplitterDemo26.csproj", "{F9CCE1EE-5EF1-4878-830D-FEC1737B2DFE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {F9CCE1EE-5EF1-4878-830D-FEC1737B2DFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {F9CCE1EE-5EF1-4878-830D-FEC1737B2DFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {F9CCE1EE-5EF1-4878-830D-FEC1737B2DFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {F9CCE1EE-5EF1-4878-830D-FEC1737B2DFE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {87227A69-4642-44D9-92A3-2B43F55E2C22}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace GirdSplitterDemo26
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace GirdSplitterDemo26
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace GirdSplitterDemo26.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第26课、GirdSplitterDemo26/GirdSplitterDemo26/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalenderDemo27", "CalenderDemo27\CalenderDemo27.csproj", "{B7D273A7-4614-4E1F-BF9A-5C6F93966D67}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {B7D273A7-4614-4E1F-BF9A-5C6F93966D67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {B7D273A7-4614-4E1F-BF9A-5C6F93966D67}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {B7D273A7-4614-4E1F-BF9A-5C6F93966D67}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {B7D273A7-4614-4E1F-BF9A-5C6F93966D67}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {D1CA026B-AB35-49D0-AFD7-E5E022A25AC1}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace CalenderDemo27
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CalenderDemo27.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第27课、CalenderDemo27/CalenderDemo27/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatePickerDemo28", "DatePickerDemo28\DatePickerDemo28.csproj", "{89EB2AAD-3E83-44C0-BFFB-824D43C9DE2C}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {89EB2AAD-3E83-44C0-BFFB-824D43C9DE2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {89EB2AAD-3E83-44C0-BFFB-824D43C9DE2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {89EB2AAD-3E83-44C0-BFFB-824D43C9DE2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {89EB2AAD-3E83-44C0-BFFB-824D43C9DE2C}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {5BFF5DA5-6BA8-40FA-84B2-006A931AD66E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DatePickerDemo28
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DatePickerDemo28.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第28课、DatePickerDemo28/DatePickerDemo28/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebBrowserDemo29", "WebBrowserDemo29\WebBrowserDemo29.csproj", "{86768BF4-B37D-4707-A421-1F9AD610F1DF}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {86768BF4-B37D-4707-A421-1F9AD610F1DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {86768BF4-B37D-4707-A421-1F9AD610F1DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {86768BF4-B37D-4707-A421-1F9AD610F1DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {86768BF4-B37D-4707-A421-1F9AD610F1DF}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {C0EFD0A9-FB49-4AA5-9FAA-1305C561C60C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace WebBrowserDemo29
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WebBrowserDemo29.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第29课、WebBrowserDemo29/WebBrowserDemo29/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28606.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataBindingDemo30", "DataBindingDemo30\DataBindingDemo30.csproj", "{646BE488-13CC-40E0-ABDE-D83AFC8DD551}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {646BE488-13CC-40E0-ABDE-D83AFC8DD551}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {646BE488-13CC-40E0-ABDE-D83AFC8DD551}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {646BE488-13CC-40E0-ABDE-D83AFC8DD551}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {646BE488-13CC-40E0-ABDE-D83AFC8DD551}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {DBBF8022-E8B9-4C17-9509-CADF1FB2539D}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DataBindingDemo30
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace DataBindingDemo30
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DataBindingDemo30.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第30课、DataBindingDemo30/DataBindingDemo30/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28705.295
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataPanelDemo31", "DataPanelDemo31\DataPanelDemo31.csproj", "{67DF4506-D2E7-4E11-B97A-34D6A8A769B1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {67DF4506-D2E7-4E11-B97A-34D6A8A769B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {67DF4506-D2E7-4E11-B97A-34D6A8A769B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {67DF4506-D2E7-4E11-B97A-34D6A8A769B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {67DF4506-D2E7-4E11-B97A-34D6A8A769B1}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {43FEC486-378C-4F40-90C4-50F07B6E9423}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 | <人员信息表SampleDataSource:renyuans x:Key="人员信息表SampleDataSource" d:IsDataSource="True"/>
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DataPanelDemo31
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace DataPanelDemo31
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DataPanelDemo31.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/SampleData/SampleDataSource/SampleDataSource.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/SampleData/SampleDataSource/SampleDataSource.xsd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xaml:
--------------------------------------------------------------------------------
1 |
6 | <人员信息表SampleDataSource:renyuans xmlns:人员信息表SampleDataSource="clr-namespace:Expression.Blend.SampleData.人员信息表SampleDataSource">
7 | <人员信息表SampleDataSource:renyuans.renyuanCollection>
8 | <人员信息表SampleDataSource:renyuan 编号="1" 姓名="李芳" 地址="北京市打伞胡同2号"/>
9 | <人员信息表SampleDataSource:renyuan 编号="2" 姓名="张筱雨" 地址="南京市雨花台路100号"/>
10 | <人员信息表SampleDataSource:renyuan 编号="3" 姓名="王兰萍" 地址="天津市梅江南路3号"/>
11 | <人员信息表SampleDataSource:renyuan 编号="4" 姓名="姚家辉" 地址="广州市越秀路62号"/>
12 | <人员信息表SampleDataSource:renyuan 编号="5" 姓名="陈震" 地址="石家庄市湖南路45号"/>
13 | <人员信息表SampleDataSource:renyuan 编号="6" 姓名="方静海" 地址="上海姚家湾5弄3号"/>
14 | 人员信息表SampleDataSource:renyuans.renyuanCollection>
15 | 人员信息表SampleDataSource:renyuans>
16 |
--------------------------------------------------------------------------------
/课程代码/第31课、DataPanelDemo31/DataPanelDemo31/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xsd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28705.295
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataTemplateDemo32", "DataTemplateDemo32\DataTemplateDemo32.csproj", "{410F6081-D49A-4871-96B7-7AB24556FEAE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {410F6081-D49A-4871-96B7-7AB24556FEAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {410F6081-D49A-4871-96B7-7AB24556FEAE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {410F6081-D49A-4871-96B7-7AB24556FEAE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {410F6081-D49A-4871-96B7-7AB24556FEAE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {9271F095-3E83-432E-A97F-364E4FB07C9E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 | <人员信息表SampleDataSource:renyuans x:Key="人员信息表SampleDataSource" d:IsDataSource="True"/>
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DataTemplateDemo32
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace DataTemplateDemo32
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DataTemplateDemo32.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xaml:
--------------------------------------------------------------------------------
1 |
6 | <人员信息表SampleDataSource:renyuans xmlns:人员信息表SampleDataSource="clr-namespace:Expression.Blend.SampleData.人员信息表SampleDataSource">
7 | <人员信息表SampleDataSource:renyuans.renyuanCollection>
8 | <人员信息表SampleDataSource:renyuan 编号="1" 姓名="李芳" 地址="北京市打伞胡同2号"/>
9 | <人员信息表SampleDataSource:renyuan 编号="2" 姓名="张筱雨" 地址="南京市雨花台路100号"/>
10 | <人员信息表SampleDataSource:renyuan 编号="3" 姓名="王兰萍" 地址="天津市梅江南路3号"/>
11 | <人员信息表SampleDataSource:renyuan 编号="4" 姓名="姚家辉" 地址="广州市越秀路62号"/>
12 | <人员信息表SampleDataSource:renyuan 编号="5" 姓名="陈震" 地址="石家庄市湖南路45号"/>
13 | <人员信息表SampleDataSource:renyuan 编号="6" 姓名="方静海" 地址="上海姚家湾5弄3号"/>
14 | 人员信息表SampleDataSource:renyuans.renyuanCollection>
15 | 人员信息表SampleDataSource:renyuans>
16 |
--------------------------------------------------------------------------------
/课程代码/第32课、DataTemplateDemo32/DataTemplateDemo32/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xsd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28705.295
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XmlDataDemo33", "XmlDataDemo33\XmlDataDemo33.csproj", "{A2FC2684-8FF9-47CC-B2FB-ED32451ECCCE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {A2FC2684-8FF9-47CC-B2FB-ED32451ECCCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A2FC2684-8FF9-47CC-B2FB-ED32451ECCCE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A2FC2684-8FF9-47CC-B2FB-ED32451ECCCE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A2FC2684-8FF9-47CC-B2FB-ED32451ECCCE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {BC356D9F-367E-4787-8E8C-77C8F381BA55}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace XmlDataDemo33
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace XmlDataDemo33.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第33课、XmlDataDemo33/XmlDataDemo33/renyuanxinxibiao.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28711.60
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataGridDemo34", "DataGridDemo34\DataGridDemo34.csproj", "{C01669C6-FB35-4646-907D-B307D8A9480E}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C01669C6-FB35-4646-907D-B307D8A9480E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C01669C6-FB35-4646-907D-B307D8A9480E}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C01669C6-FB35-4646-907D-B307D8A9480E}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C01669C6-FB35-4646-907D-B307D8A9480E}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {C7AD773C-825F-4C0B-A672-343E7AB3E76D}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace DataGridDemo34
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DataGridDemo34.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/RenYuanClass.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace DataGridDemo34
8 | {
9 | public class RenYuanClass
10 | {
11 | public RenYuanClass(int 编号, string 姓名, string 单位, string 性别, int 年龄, string 备注)
12 | {
13 | this.编号 = 编号;
14 | this.姓名 = 姓名;
15 | this.年龄 = 年龄;
16 | this.单位 = 单位;
17 | this.性别 = 性别;
18 | this.备注 = 备注;
19 | }
20 |
21 | public int 编号 { get; set; }
22 | public string 姓名 { get; set; }
23 | public int 年龄 { get; set; }
24 | public string 性别 { get; set; }
25 | public string 单位 { get; set; }
26 | public string 备注 { get; set; }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xaml:
--------------------------------------------------------------------------------
1 |
6 | <人员信息表SampleDataSource:renyuans xmlns:人员信息表SampleDataSource="clr-namespace:Expression.Blend.SampleData.人员信息表SampleDataSource">
7 | <人员信息表SampleDataSource:renyuans.renyuanCollection>
8 | <人员信息表SampleDataSource:renyuan 编号="1" 姓名="李芳" 地址="北京市打伞胡同2号"/>
9 | <人员信息表SampleDataSource:renyuan 编号="2" 姓名="张筱雨" 地址="南京市雨花台路100号"/>
10 | <人员信息表SampleDataSource:renyuan 编号="3" 姓名="王兰萍" 地址="天津市梅江南路3号"/>
11 | <人员信息表SampleDataSource:renyuan 编号="4" 姓名="姚家辉" 地址="广州市越秀路62号"/>
12 | <人员信息表SampleDataSource:renyuan 编号="5" 姓名="陈震" 地址="石家庄市湖南路45号"/>
13 | <人员信息表SampleDataSource:renyuan 编号="6" 姓名="方静海" 地址="上海姚家湾5弄3号"/>
14 | 人员信息表SampleDataSource:renyuans.renyuanCollection>
15 | 人员信息表SampleDataSource:renyuans>
16 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/SampleData/人员信息表SampleDataSource/人员信息表SampleDataSource.xsd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/课程代码/第34课、DataGridDemo34/DataGridDemo34/Window1.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace DataGridDemo34
16 | {
17 | ///
18 | /// Window1.xaml 的交互逻辑
19 | ///
20 | public partial class Window1 : Window
21 | {
22 | public Window1()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28711.60
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewDemo35", "TreeViewDemo35\TreeViewDemo35.csproj", "{4B81C9B0-5A4D-4D79-95B1-C29311DF213B}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {4B81C9B0-5A4D-4D79-95B1-C29311DF213B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {4B81C9B0-5A4D-4D79-95B1-C29311DF213B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {4B81C9B0-5A4D-4D79-95B1-C29311DF213B}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {4B81C9B0-5A4D-4D79-95B1-C29311DF213B}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {D2E081DD-41FF-47FD-811F-8EF2FF24C3D6}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace TreeViewDemo35
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace TreeViewDemo35.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第35课、TreeViewDemo35/TreeViewDemo35/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28711.60
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MenuDemo36", "MenuDemo36\MenuDemo36.csproj", "{2AAC2692-C431-4BD0-8BB5-1BAC854BE296}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {2AAC2692-C431-4BD0-8BB5-1BAC854BE296}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {2AAC2692-C431-4BD0-8BB5-1BAC854BE296}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {2AAC2692-C431-4BD0-8BB5-1BAC854BE296}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {2AAC2692-C431-4BD0-8BB5-1BAC854BE296}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {A2803D2B-F2A4-4647-8728-8A38B8E80287}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace MenuDemo36
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace MenuDemo36.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第36课、MenuDemo36/MenuDemo36/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第36课、MenuDemo36/MenuDemo36/plus.png
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28711.60
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Viewport3DDemo37", "Viewport3DDemo37\Viewport3DDemo37.csproj", "{D4C9F3DD-0AF4-4B68-8890-CF0B8E4B95CB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {D4C9F3DD-0AF4-4B68-8890-CF0B8E4B95CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {D4C9F3DD-0AF4-4B68-8890-CF0B8E4B95CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {D4C9F3DD-0AF4-4B68-8890-CF0B8E4B95CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {D4C9F3DD-0AF4-4B68-8890-CF0B8E4B95CB}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {3DED3178-8FDF-4249-84C5-903718BD8300}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace Viewport3DDemo37
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace Viewport3DDemo37
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Viewport3DDemo37.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/Window1ER_04_Planet_EarthMR1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第37课、Viewport3DDemo37/Viewport3DDemo37/Window1ER_04_Planet_EarthMR1.png
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace FlowDocumentReaderDemo38
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 | using System.Windows.Controls;
9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 |
17 | namespace FlowDocumentReaderDemo38
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void Hyperlink_Click(object sender, RoutedEventArgs e)
30 | {
31 | Hyperlink hyperlink = sender as Hyperlink;
32 | if (hyperlink == null) return;
33 |
34 | Process.Start(hyperlink.NavigateUri.ToString());
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace FlowDocumentReaderDemo38.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/Window1.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace FlowDocumentReaderDemo38
16 | {
17 | ///
18 | /// Window1.xaml 的交互逻辑
19 | ///
20 | public partial class Window1 : Window
21 | {
22 | public Window1()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/b7f86c7704a1daf8b4005fe78f7fb207_t01c86e0cd812d5454e_size=668x442.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/b7f86c7704a1daf8b4005fe78f7fb207_t01c86e0cd812d5454e_size=668x442.png
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/faa30fa6117d7f75ee3db885f13d3968_t01a749efef3578e07d_size=654x453.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/faa30fa6117d7f75ee3db885f13d3968_t01a749efef3578e07d_size=654x453.png
--------------------------------------------------------------------------------
/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/movie.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第38课、FlowDocumentReaderDemo38/FlowDocumentReaderDemo38/movie.mp4
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace StyleControlTemplateDemo39
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/Dictionary1.xaml:
--------------------------------------------------------------------------------
1 |
4 |
13 |
14 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace StyleControlTemplateDemo39
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace StyleControlTemplateDemo39.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/Window1.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/Window1.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace StyleControlTemplateDemo39
16 | {
17 | ///
18 | /// Window1.xaml 的交互逻辑
19 | ///
20 | public partial class Window1 : Window
21 | {
22 | public Window1()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/pict5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zmrbak/MicrosoftBlend2019/1acb9a9d428d7b23dd1edfc384200db7070fb276/课程代码/第39课、StyleControlTemplateDemo39/StyleControlTemplateDemo39/pict5.jpg
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28714.193
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControlDemo40", "CustomControlDemo40\CustomControlDemo40.csproj", "{DF03B33F-B379-4D0B-9691-17477E143663}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {DF03B33F-B379-4D0B-9691-17477E143663}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {DF03B33F-B379-4D0B-9691-17477E143663}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {DF03B33F-B379-4D0B-9691-17477E143663}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {DF03B33F-B379-4D0B-9691-17477E143663}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {E596AF60-E04B-4FA0-8787-BDF8006367B0}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace CustomControlDemo40
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace CustomControlDemo40
17 | {
18 | ///
19 | /// MainWindow.xaml 的交互逻辑
20 | ///
21 | public partial class MainWindow : Window
22 | {
23 | public MainWindow()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace CustomControlDemo40.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/UserControlAB.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/UserControlAB.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace CustomControlDemo40
17 | {
18 | ///
19 | /// UserControlAB.xaml 的交互逻辑
20 | ///
21 | public partial class UserControlAB : UserControl
22 | {
23 | public UserControlAB()
24 | {
25 | InitializeComponent();
26 | }
27 | private void Button_Click(object sender, RoutedEventArgs e)
28 | {
29 | MessageBox.Show("A");
30 | }
31 |
32 | private void Button_Click_1(object sender, RoutedEventArgs e)
33 | {
34 | MessageBox.Show("B");
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/UserControlC.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/UserControlC.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace CustomControlDemo40
17 | {
18 | ///
19 | /// UserControlC.xaml 的交互逻辑
20 | ///
21 | public partial class UserControlC : UserControl
22 | {
23 | public UserControlC()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/Window1.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/CustomControlDemo40/Window1.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace CustomControlDemo40
16 | {
17 | ///
18 | /// Window1.xaml 的交互逻辑
19 | ///
20 | public partial class Window1 : Window
21 | {
22 | public Window1()
23 | {
24 | InitializeComponent();
25 | }
26 |
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/WpfControlLibraryDemo40/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/WpfControlLibraryDemo40/UserControl1.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/课程代码/第40课、CustomControlDemo40/WpfControlLibraryDemo40/UserControl1.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | namespace WpfControlLibraryDemo40
17 | {
18 | ///
19 | /// UserControl1.xaml 的交互逻辑
20 | ///
21 | public partial class UserControl1 : UserControl
22 | {
23 | public UserControl1()
24 | {
25 | InitializeComponent();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------