diff --git a/5-17.3.4使用动画的触发器/5-17.3.4使用动画的触发器.csproj b/5-17.3.4使用动画的触发器/5-17.3.4使用动画的触发器.csproj new file mode 100644 index 0000000..5eeb594 --- /dev/null +++ b/5-17.3.4使用动画的触发器/5-17.3.4使用动画的触发器.csproj @@ -0,0 +1,12 @@ + + + + WinExe + net8.0-windows + _5_17._3._4使用动画的触发器 + enable + enable + true + + + diff --git a/5-17.3.4使用动画的触发器/App.xaml b/5-17.3.4使用动画的触发器/App.xaml new file mode 100644 index 0000000..4b32740 --- /dev/null +++ b/5-17.3.4使用动画的触发器/App.xaml @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/5-17.3.4使用动画的触发器/App.xaml.cs b/5-17.3.4使用动画的触发器/App.xaml.cs new file mode 100644 index 0000000..4f3924e --- /dev/null +++ b/5-17.3.4使用动画的触发器/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace _5_17._3._4使用动画的触发器; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/5-17.3.4使用动画的触发器/AssemblyInfo.cs b/5-17.3.4使用动画的触发器/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/5-17.3.4使用动画的触发器/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/5-17.3.4使用动画的触发器/MainWindow.xaml b/5-17.3.4使用动画的触发器/MainWindow.xaml new file mode 100644 index 0000000..e4f411a --- /dev/null +++ b/5-17.3.4使用动画的触发器/MainWindow.xaml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/5-17.3.4使用动画的触发器/MainWindow.xaml.cs b/5-17.3.4使用动画的触发器/MainWindow.xaml.cs new file mode 100644 index 0000000..5b44b73 --- /dev/null +++ b/5-17.3.4使用动画的触发器/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 _5_17._3._4使用动画的触发器; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/5-17.3.4使用动画的触发器/Resource/Button.xaml b/5-17.3.4使用动画的触发器/Resource/Button.xaml new file mode 100644 index 0000000..03df85c --- /dev/null +++ b/5-17.3.4使用动画的触发器/Resource/Button.xaml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/5-WPF模板和自定义元素.sln b/5-WPF模板和自定义元素.sln index b987588..62bf0a2 100644 --- a/5-WPF模板和自定义元素.sln +++ b/5-WPF模板和自定义元素.sln @@ -10,6 +10,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5-17.4改变属性触发器 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5-17.4改变属性触发器2", "5-17.4改变属性触发器2\5-17.4改变属性触发器2.csproj", "{9D6F1664-2363-4674-A3C7-195A16C337E3}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5-17.3.4使用动画的触发器", "5-17.3.4使用动画的触发器\5-17.3.4使用动画的触发器.csproj", "{5B571DC8-785A-4466-BC4A-3EBD293E30B7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -36,5 +38,9 @@ Global {9D6F1664-2363-4674-A3C7-195A16C337E3}.Debug|Any CPU.Build.0 = Debug|Any CPU {9D6F1664-2363-4674-A3C7-195A16C337E3}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D6F1664-2363-4674-A3C7-195A16C337E3}.Release|Any CPU.Build.0 = Release|Any CPU + {5B571DC8-785A-4466-BC4A-3EBD293E30B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B571DC8-785A-4466-BC4A-3EBD293E30B7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B571DC8-785A-4466-BC4A-3EBD293E30B7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B571DC8-785A-4466-BC4A-3EBD293E30B7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal