From 14086b24e30d1486e8c3615bf76449f13b22874b Mon Sep 17 00:00:00 2001 From: syneffort Date: Mon, 3 Jul 2023 10:04:51 +0900 Subject: [PATCH] tab control --- PacticeSolution/PacticeSolution.sln | 6 +++ PacticeSolution/TabControlSample/App.xaml | 9 ++++ PacticeSolution/TabControlSample/App.xaml.cs | 17 +++++++ .../TabControlSample/AssemblyInfo.cs | 10 +++++ .../TabControlSample/MainWindow.xaml | 44 +++++++++++++++++++ .../TabControlSample/MainWindow.xaml.cs | 28 ++++++++++++ .../TabControlSample/TabControlSample.csproj | 10 +++++ 7 files changed, 124 insertions(+) create mode 100644 PacticeSolution/TabControlSample/App.xaml create mode 100644 PacticeSolution/TabControlSample/App.xaml.cs create mode 100644 PacticeSolution/TabControlSample/AssemblyInfo.cs create mode 100644 PacticeSolution/TabControlSample/MainWindow.xaml create mode 100644 PacticeSolution/TabControlSample/MainWindow.xaml.cs create mode 100644 PacticeSolution/TabControlSample/TabControlSample.csproj diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln index 739f0aa..1a44b39 100644 --- a/PacticeSolution/PacticeSolution.sln +++ b/PacticeSolution/PacticeSolution.sln @@ -49,6 +49,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ListBoxBindingSample", "Lis EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeyboardInputSample", "KeyboardInputSample\KeyboardInputSample.csproj", "{B6A7E0D5-A2C7-4083-A060-1672E6FBDC82}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TabControlSample", "TabControlSample\TabControlSample.csproj", "{7A148D37-36D1-43B5-A133-B02CE5CB743F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -147,6 +149,10 @@ Global {B6A7E0D5-A2C7-4083-A060-1672E6FBDC82}.Debug|Any CPU.Build.0 = Debug|Any CPU {B6A7E0D5-A2C7-4083-A060-1672E6FBDC82}.Release|Any CPU.ActiveCfg = Release|Any CPU {B6A7E0D5-A2C7-4083-A060-1672E6FBDC82}.Release|Any CPU.Build.0 = Release|Any CPU + {7A148D37-36D1-43B5-A133-B02CE5CB743F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A148D37-36D1-43B5-A133-B02CE5CB743F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A148D37-36D1-43B5-A133-B02CE5CB743F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A148D37-36D1-43B5-A133-B02CE5CB743F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/PacticeSolution/TabControlSample/App.xaml b/PacticeSolution/TabControlSample/App.xaml new file mode 100644 index 0000000..1e4e7a3 --- /dev/null +++ b/PacticeSolution/TabControlSample/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/TabControlSample/App.xaml.cs b/PacticeSolution/TabControlSample/App.xaml.cs new file mode 100644 index 0000000..93d22db --- /dev/null +++ b/PacticeSolution/TabControlSample/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace TabControlSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/TabControlSample/AssemblyInfo.cs b/PacticeSolution/TabControlSample/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/TabControlSample/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) +)] diff --git a/PacticeSolution/TabControlSample/MainWindow.xaml b/PacticeSolution/TabControlSample/MainWindow.xaml new file mode 100644 index 0000000..2d8bb5f --- /dev/null +++ b/PacticeSolution/TabControlSample/MainWindow.xaml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PacticeSolution/TabControlSample/MainWindow.xaml.cs b/PacticeSolution/TabControlSample/MainWindow.xaml.cs new file mode 100644 index 0000000..603c81e --- /dev/null +++ b/PacticeSolution/TabControlSample/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +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 TabControlSample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/PacticeSolution/TabControlSample/TabControlSample.csproj b/PacticeSolution/TabControlSample/TabControlSample.csproj new file mode 100644 index 0000000..4106cb0 --- /dev/null +++ b/PacticeSolution/TabControlSample/TabControlSample.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net6.0-windows + enable + true + + +