diff --git a/WPF基础-6-Grid1/App.xaml b/WPF基础-6-Grid1/App.xaml new file mode 100644 index 0000000..c53eaa2 --- /dev/null +++ b/WPF基础-6-Grid1/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WPF基础-6-Grid1/App.xaml.cs b/WPF基础-6-Grid1/App.xaml.cs new file mode 100644 index 0000000..b2fd6d3 --- /dev/null +++ b/WPF基础-6-Grid1/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF基础_6_Grid1; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/WPF基础-6-Grid1/AssemblyInfo.cs b/WPF基础-6-Grid1/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/WPF基础-6-Grid1/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基础-6-Grid1/MainWindow.xaml b/WPF基础-6-Grid1/MainWindow.xaml new file mode 100644 index 0000000..3355fd5 --- /dev/null +++ b/WPF基础-6-Grid1/MainWindow.xaml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WPF基础-6-Grid1/MainWindow.xaml.cs b/WPF基础-6-Grid1/MainWindow.xaml.cs new file mode 100644 index 0000000..856c064 --- /dev/null +++ b/WPF基础-6-Grid1/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基础_6_Grid1; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/WPF基础-6-Grid1/WPF基础-6-Grid1.csproj b/WPF基础-6-Grid1/WPF基础-6-Grid1.csproj new file mode 100644 index 0000000..e67d950 --- /dev/null +++ b/WPF基础-6-Grid1/WPF基础-6-Grid1.csproj @@ -0,0 +1,12 @@ + + + + WinExe + net8.0-windows + WPF基础_6_Grid1 + enable + enable + true + + + diff --git a/WPF基础.sln b/WPF基础.sln index 76833a6..228822e 100644 --- a/WPF基础.sln +++ b/WPF基础.sln @@ -22,6 +22,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-5-DockPanel2", "W EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-5-DockPanel3对话框", "WPF基础-5-DockPanel3对话框\WPF基础-5-DockPanel3对话框.csproj", "{7165AC1A-72DD-4124-A9F1-1CA0205111B8}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF基础-6-Grid1", "WPF基础-6-Grid1\WPF基础-6-Grid1.csproj", "{DB0BBD46-CF12-48BA-9918-BC6CF0607B81}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -72,5 +74,9 @@ Global {7165AC1A-72DD-4124-A9F1-1CA0205111B8}.Debug|Any CPU.Build.0 = Debug|Any CPU {7165AC1A-72DD-4124-A9F1-1CA0205111B8}.Release|Any CPU.ActiveCfg = Release|Any CPU {7165AC1A-72DD-4124-A9F1-1CA0205111B8}.Release|Any CPU.Build.0 = Release|Any CPU + {DB0BBD46-CF12-48BA-9918-BC6CF0607B81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DB0BBD46-CF12-48BA-9918-BC6CF0607B81}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DB0BBD46-CF12-48BA-9918-BC6CF0607B81}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DB0BBD46-CF12-48BA-9918-BC6CF0607B81}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal