├── .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 |