From 5ccf800134654596513ab2bcdeb8a580365a85ed Mon Sep 17 00:00:00 2001 From: syneffort Date: Mon, 4 Sep 2023 16:19:29 +0900 Subject: [PATCH] animation sample --- PacticeSolution/PacticeSolution.sln | 14 +++++-- .../TreeViewSample/MainWindow.xaml | 2 +- PacticeSolution/TriggerAnimations/App.xaml | 9 +++++ PacticeSolution/TriggerAnimations/App.xaml.cs | 17 ++++++++ .../TriggerAnimations/AssemblyInfo.cs | 10 +++++ .../TriggerAnimations/MainWindow.xaml | 39 +++++++++++++++++++ .../TriggerAnimations/MainWindow.xaml.cs | 28 +++++++++++++ .../TriggerAnimations.csproj | 10 +++++ 8 files changed, 124 insertions(+), 5 deletions(-) create mode 100644 PacticeSolution/TriggerAnimations/App.xaml create mode 100644 PacticeSolution/TriggerAnimations/App.xaml.cs create mode 100644 PacticeSolution/TriggerAnimations/AssemblyInfo.cs create mode 100644 PacticeSolution/TriggerAnimations/MainWindow.xaml create mode 100644 PacticeSolution/TriggerAnimations/MainWindow.xaml.cs create mode 100644 PacticeSolution/TriggerAnimations/TriggerAnimations.csproj diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln index 80a1a06..1a8d681 100644 --- a/PacticeSolution/PacticeSolution.sln +++ b/PacticeSolution/PacticeSolution.sln @@ -125,13 +125,15 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqInNotIn", "LinqInNotIn\ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkSample", "EntityFrameworkSample\EntityFrameworkSample.csproj", "{AAEF47BF-A410-4A4D-942B-D9A1F4AA1343}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaPlayer", "MediaPlayer\MediaPlayer.csproj", "{0E7DB4A2-B598-452B-B1B4-CF36685D0D53}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MediaPlayer", "MediaPlayer\MediaPlayer.csproj", "{0E7DB4A2-B598-452B-B1B4-CF36685D0D53}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speech", "Speech\Speech.csproj", "{248DDC0C-F8C0-4687-BBC2-71C7C310537E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "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}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "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}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TreeViewSample", "TreeViewSample\TreeViewSample.csproj", "{CA88EE83-8C7F-4FEF-963A-DEACA5E502FB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TriggerAnimations", "TriggerAnimations\TriggerAnimations.csproj", "{9D9FD436-C73C-4DB4-A311-09D2DB65E03E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -399,6 +401,10 @@ Global {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 + {9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/PacticeSolution/TreeViewSample/MainWindow.xaml b/PacticeSolution/TreeViewSample/MainWindow.xaml index 4bc7e94..148ac04 100644 --- a/PacticeSolution/TreeViewSample/MainWindow.xaml +++ b/PacticeSolution/TreeViewSample/MainWindow.xaml @@ -60,7 +60,7 @@ - diff --git a/PacticeSolution/TriggerAnimations/App.xaml b/PacticeSolution/TriggerAnimations/App.xaml new file mode 100644 index 0000000..b739922 --- /dev/null +++ b/PacticeSolution/TriggerAnimations/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/TriggerAnimations/App.xaml.cs b/PacticeSolution/TriggerAnimations/App.xaml.cs new file mode 100644 index 0000000..cb948e6 --- /dev/null +++ b/PacticeSolution/TriggerAnimations/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 TriggerAnimations +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/TriggerAnimations/AssemblyInfo.cs b/PacticeSolution/TriggerAnimations/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/TriggerAnimations/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/TriggerAnimations/MainWindow.xaml b/PacticeSolution/TriggerAnimations/MainWindow.xaml new file mode 100644 index 0000000..35612da --- /dev/null +++ b/PacticeSolution/TriggerAnimations/MainWindow.xaml @@ -0,0 +1,39 @@ + + + + + + + + + diff --git a/PacticeSolution/TriggerAnimations/MainWindow.xaml.cs b/PacticeSolution/TriggerAnimations/MainWindow.xaml.cs new file mode 100644 index 0000000..fcd33af --- /dev/null +++ b/PacticeSolution/TriggerAnimations/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 TriggerAnimations +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/PacticeSolution/TriggerAnimations/TriggerAnimations.csproj b/PacticeSolution/TriggerAnimations/TriggerAnimations.csproj new file mode 100644 index 0000000..4106cb0 --- /dev/null +++ b/PacticeSolution/TriggerAnimations/TriggerAnimations.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net6.0-windows + enable + true + + +