From c81bfdf64e4623cef05150d14be05e010b48736d Mon Sep 17 00:00:00 2001 From: syneffort Date: Fri, 11 Aug 2023 17:16:51 +0900 Subject: [PATCH] treeview --- PacticeSolution/PacticeSolution.sln | 12 ++ PacticeSolution/TimerAndWorker/App.xaml | 9 ++ PacticeSolution/TimerAndWorker/App.xaml.cs | 17 +++ .../TimerAndWorker/AssemblyInfo.cs | 10 ++ .../TimerAndWorker/MainWindow.xaml | 28 ++++ .../TimerAndWorker/MainWindow.xaml.cs | 122 ++++++++++++++++++ .../TimerAndWorker/TimerAndWorker.csproj | 10 ++ PacticeSolution/TreeViewSample/App.xaml | 9 ++ PacticeSolution/TreeViewSample/App.xaml.cs | 17 +++ .../TreeViewSample/AssemblyInfo.cs | 10 ++ .../TreeViewSample/MainWindow.xaml | 66 ++++++++++ .../TreeViewSample/MainWindow.xaml.cs | 72 +++++++++++ .../TreeViewSample/TreeViewSample.csproj | 10 ++ 13 files changed, 392 insertions(+) create mode 100644 PacticeSolution/TimerAndWorker/App.xaml create mode 100644 PacticeSolution/TimerAndWorker/App.xaml.cs create mode 100644 PacticeSolution/TimerAndWorker/AssemblyInfo.cs create mode 100644 PacticeSolution/TimerAndWorker/MainWindow.xaml create mode 100644 PacticeSolution/TimerAndWorker/MainWindow.xaml.cs create mode 100644 PacticeSolution/TimerAndWorker/TimerAndWorker.csproj create mode 100644 PacticeSolution/TreeViewSample/App.xaml create mode 100644 PacticeSolution/TreeViewSample/App.xaml.cs create mode 100644 PacticeSolution/TreeViewSample/AssemblyInfo.cs create mode 100644 PacticeSolution/TreeViewSample/MainWindow.xaml create mode 100644 PacticeSolution/TreeViewSample/MainWindow.xaml.cs create mode 100644 PacticeSolution/TreeViewSample/TreeViewSample.csproj diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln index 73306e5..80a1a06 100644 --- a/PacticeSolution/PacticeSolution.sln +++ b/PacticeSolution/PacticeSolution.sln @@ -129,6 +129,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaPlayer", "MediaPlayer\ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speech", "Speech\Speech.csproj", "{248DDC0C-F8C0-4687-BBC2-71C7C310537E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimerAndWorker", "TimerAndWorker\TimerAndWorker.csproj", "{6210631F-C8DF-45DC-B53E-3119E8BDFF9E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewSample", "TreeViewSample\TreeViewSample.csproj", "{CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -387,6 +391,14 @@ Global {248DDC0C-F8C0-4687-BBC2-71C7C310537E}.Debug|Any CPU.Build.0 = Debug|Any CPU {248DDC0C-F8C0-4687-BBC2-71C7C310537E}.Release|Any CPU.ActiveCfg = Release|Any CPU {248DDC0C-F8C0-4687-BBC2-71C7C310537E}.Release|Any CPU.Build.0 = Release|Any CPU + {6210631F-C8DF-45DC-B53E-3119E8BDFF9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6210631F-C8DF-45DC-B53E-3119E8BDFF9E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6210631F-C8DF-45DC-B53E-3119E8BDFF9E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6210631F-C8DF-45DC-B53E-3119E8BDFF9E}.Release|Any CPU.Build.0 = Release|Any CPU + {CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/PacticeSolution/TimerAndWorker/App.xaml b/PacticeSolution/TimerAndWorker/App.xaml new file mode 100644 index 0000000..8a0ae1e --- /dev/null +++ b/PacticeSolution/TimerAndWorker/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/TimerAndWorker/App.xaml.cs b/PacticeSolution/TimerAndWorker/App.xaml.cs new file mode 100644 index 0000000..adee813 --- /dev/null +++ b/PacticeSolution/TimerAndWorker/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 TimerAndWorker +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/TimerAndWorker/AssemblyInfo.cs b/PacticeSolution/TimerAndWorker/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/TimerAndWorker/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/TimerAndWorker/MainWindow.xaml b/PacticeSolution/TimerAndWorker/MainWindow.xaml new file mode 100644 index 0000000..5388cd0 --- /dev/null +++ b/PacticeSolution/TimerAndWorker/MainWindow.xaml @@ -0,0 +1,28 @@ + + + + + + + +