diff --git a/WPF基础-7-Canvas1/App.xaml b/WPF基础-7-Canvas1/App.xaml new file mode 100644 index 0000000..660d4ac --- /dev/null +++ b/WPF基础-7-Canvas1/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WPF基础-7-Canvas1/App.xaml.cs b/WPF基础-7-Canvas1/App.xaml.cs new file mode 100644 index 0000000..60704bf --- /dev/null +++ b/WPF基础-7-Canvas1/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF基础_7_Canvas1; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/WPF基础-7-Canvas1/AssemblyInfo.cs b/WPF基础-7-Canvas1/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/WPF基础-7-Canvas1/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] \ No newline at end of file diff --git a/WPF基础-7-Canvas1/MainWindow.xaml b/WPF基础-7-Canvas1/MainWindow.xaml new file mode 100644 index 0000000..2cc63d0 --- /dev/null +++ b/WPF基础-7-Canvas1/MainWindow.xaml @@ -0,0 +1,15 @@ + + + + + + + + \ No newline at end of file diff --git a/WPF基础-7-Canvas1/MainWindow.xaml.cs b/WPF基础-7-Canvas1/MainWindow.xaml.cs new file mode 100644 index 0000000..ff4666f --- /dev/null +++ b/WPF基础-7-Canvas1/MainWindow.xaml.cs @@ -0,0 +1,23 @@ +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace WPF基础_7_Canvas1; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/WPF基础-7-Canvas1/WPF基础-7-Canvas1.csproj b/WPF基础-7-Canvas1/WPF基础-7-Canvas1.csproj new file mode 100644 index 0000000..de2d763 --- /dev/null +++ b/WPF基础-7-Canvas1/WPF基础-7-Canvas1.csproj @@ -0,0 +1,21 @@ + + + + WinExe + net8.0-windows + WPF基础_7_Canvas1 + enable + enable + true + + + + + Always + + + Always + + + + diff --git a/WPF基础-7-Canvas1/public/images/1.ico b/WPF基础-7-Canvas1/public/images/1.ico new file mode 100644 index 0000000..d7bff7f Binary files /dev/null and b/WPF基础-7-Canvas1/public/images/1.ico differ diff --git a/WPF基础-7-Canvas1/public/images/1.png b/WPF基础-7-Canvas1/public/images/1.png new file mode 100644 index 0000000..5dedbe2 Binary files /dev/null and b/WPF基础-7-Canvas1/public/images/1.png differ diff --git a/WPF基础.sln b/WPF基础.sln index eb304d6..f1d80d5 100644 --- a/WPF基础.sln +++ b/WPF基础.sln @@ -44,6 +44,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-6-Grid10共享尺 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-6-UniformGrid1", "WPF基础-6-UniformGrid1\WPF基础-6-UniformGrid1.csproj", "{C52AC86F-E829-4E34-B6C2-F2EF3CE46014}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-7-Canvas1", "WPF基础-7-Canvas1\WPF基础-7-Canvas1.csproj", "{0FE46719-7B96-4FFF-905B-E19DAF4A1474}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -138,5 +140,9 @@ Global {C52AC86F-E829-4E34-B6C2-F2EF3CE46014}.Debug|Any CPU.Build.0 = Debug|Any CPU {C52AC86F-E829-4E34-B6C2-F2EF3CE46014}.Release|Any CPU.ActiveCfg = Release|Any CPU {C52AC86F-E829-4E34-B6C2-F2EF3CE46014}.Release|Any CPU.Build.0 = Release|Any CPU + {0FE46719-7B96-4FFF-905B-E19DAF4A1474}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FE46719-7B96-4FFF-905B-E19DAF4A1474}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FE46719-7B96-4FFF-905B-E19DAF4A1474}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FE46719-7B96-4FFF-905B-E19DAF4A1474}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal