diff --git a/WPF控件-9-GroupBox/App.xaml b/WPF控件-9-GroupBox/App.xaml new file mode 100644 index 0000000..c782e60 --- /dev/null +++ b/WPF控件-9-GroupBox/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WPF控件-9-GroupBox/App.xaml.cs b/WPF控件-9-GroupBox/App.xaml.cs new file mode 100644 index 0000000..cff04a4 --- /dev/null +++ b/WPF控件-9-GroupBox/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF控件_9_GroupBox; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/WPF控件-9-GroupBox/AssemblyInfo.cs b/WPF控件-9-GroupBox/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/WPF控件-9-GroupBox/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控件-9-GroupBox/MainWindow.xaml b/WPF控件-9-GroupBox/MainWindow.xaml new file mode 100644 index 0000000..2566a00 --- /dev/null +++ b/WPF控件-9-GroupBox/MainWindow.xaml @@ -0,0 +1,18 @@ + + + + One + Two + Three + Four + + + + diff --git a/WPF控件-9-GroupBox/MainWindow.xaml.cs b/WPF控件-9-GroupBox/MainWindow.xaml.cs new file mode 100644 index 0000000..ffc80f9 --- /dev/null +++ b/WPF控件-9-GroupBox/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控件_9_GroupBox; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/WPF控件-9-GroupBox/WPF控件-9-GroupBox.csproj b/WPF控件-9-GroupBox/WPF控件-9-GroupBox.csproj new file mode 100644 index 0000000..ebc57b7 --- /dev/null +++ b/WPF控件-9-GroupBox/WPF控件-9-GroupBox.csproj @@ -0,0 +1,12 @@ + + + + WinExe + net8.0-windows + WPF控件_9_GroupBox + enable + enable + true + + + diff --git a/WPF控件.sln b/WPF控件.sln index dc18acf..b36a8f6 100644 --- a/WPF控件.sln +++ b/WPF控件.sln @@ -16,6 +16,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-7-Popup", "WPF控 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-8-ScrollViewer", "WPF控件-8-ScrollViewer\WPF控件-8-ScrollViewer.csproj", "{84E26482-499C-412E-B43E-931BD0C0E983}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-9-GroupBox", "WPF控件-9-GroupBox\WPF控件-9-GroupBox.csproj", "{04404109-C5C1-44EF-9D1D-224D082DB36B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -54,5 +56,9 @@ Global {84E26482-499C-412E-B43E-931BD0C0E983}.Debug|Any CPU.Build.0 = Debug|Any CPU {84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.ActiveCfg = Release|Any CPU {84E26482-499C-412E-B43E-931BD0C0E983}.Release|Any CPU.Build.0 = Release|Any CPU + {04404109-C5C1-44EF-9D1D-224D082DB36B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {04404109-C5C1-44EF-9D1D-224D082DB36B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {04404109-C5C1-44EF-9D1D-224D082DB36B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {04404109-C5C1-44EF-9D1D-224D082DB36B}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal