From bf62bb283d3e06fb94ecb48dd89bedd226781f81 Mon Sep 17 00:00:00 2001 From: Bunny <1319900154@qq.com> Date: Mon, 13 Jan 2025 22:56:41 +0800 Subject: [PATCH] =?UTF-8?q?4-=E5=9B=BE=E5=BD=A2=E5=92=8C=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../12-形状画刷和变换-1矩形和椭圆.csproj | 12 ++++++++++ 12-形状画刷和变换-1矩形和椭圆/App.xaml | 9 ++++++++ 12-形状画刷和变换-1矩形和椭圆/App.xaml.cs | 12 ++++++++++ 12-形状画刷和变换-1矩形和椭圆/AssemblyInfo.cs | 10 ++++++++ 12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml | 12 ++++++++++ .../MainWindow.xaml.cs | 23 +++++++++++++++++++ 4-图形和动画.sln | 6 +++++ 4-图形和动画/MainWindow.xaml | 12 +++++----- 8 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 12-形状画刷和变换-1矩形和椭圆/12-形状画刷和变换-1矩形和椭圆.csproj create mode 100644 12-形状画刷和变换-1矩形和椭圆/App.xaml create mode 100644 12-形状画刷和变换-1矩形和椭圆/App.xaml.cs create mode 100644 12-形状画刷和变换-1矩形和椭圆/AssemblyInfo.cs create mode 100644 12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml create mode 100644 12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml.cs diff --git a/12-形状画刷和变换-1矩形和椭圆/12-形状画刷和变换-1矩形和椭圆.csproj b/12-形状画刷和变换-1矩形和椭圆/12-形状画刷和变换-1矩形和椭圆.csproj new file mode 100644 index 0000000..65bdf36 --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/12-形状画刷和变换-1矩形和椭圆.csproj @@ -0,0 +1,12 @@ + + + + WinExe + net8.0-windows + _12_形状画刷和变换_1矩形和椭圆 + enable + enable + true + + + diff --git a/12-形状画刷和变换-1矩形和椭圆/App.xaml b/12-形状画刷和变换-1矩形和椭圆/App.xaml new file mode 100644 index 0000000..c91f1f7 --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/12-形状画刷和变换-1矩形和椭圆/App.xaml.cs b/12-形状画刷和变换-1矩形和椭圆/App.xaml.cs new file mode 100644 index 0000000..35ff538 --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace _12_形状画刷和变换_1矩形和椭圆; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/12-形状画刷和变换-1矩形和椭圆/AssemblyInfo.cs b/12-形状画刷和变换-1矩形和椭圆/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/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/12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml b/12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml new file mode 100644 index 0000000..c7ba330 --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml.cs b/12-形状画刷和变换-1矩形和椭圆/MainWindow.xaml.cs new file mode 100644 index 0000000..ebac7fa --- /dev/null +++ b/12-形状画刷和变换-1矩形和椭圆/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 _12_形状画刷和变换_1矩形和椭圆; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/4-图形和动画.sln b/4-图形和动画.sln index 83b2343..57aeb7b 100644 --- a/4-图形和动画.sln +++ b/4-图形和动画.sln @@ -2,6 +2,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "4-图形和动画", "4-图形和动画\4-图形和动画.csproj", "{881815E5-B0A6-4B68-8E2B-2AA302EFCDE6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "12-形状画刷和变换-1矩形和椭圆", "12-形状画刷和变换-1矩形和椭圆\12-形状画刷和变换-1矩形和椭圆.csproj", "{C7A170F4-0BB0-417A-9646-A191A9254543}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -12,5 +14,9 @@ Global {881815E5-B0A6-4B68-8E2B-2AA302EFCDE6}.Debug|Any CPU.Build.0 = Debug|Any CPU {881815E5-B0A6-4B68-8E2B-2AA302EFCDE6}.Release|Any CPU.ActiveCfg = Release|Any CPU {881815E5-B0A6-4B68-8E2B-2AA302EFCDE6}.Release|Any CPU.Build.0 = Release|Any CPU + {C7A170F4-0BB0-417A-9646-A191A9254543}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7A170F4-0BB0-417A-9646-A191A9254543}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7A170F4-0BB0-417A-9646-A191A9254543}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7A170F4-0BB0-417A-9646-A191A9254543}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/4-图形和动画/MainWindow.xaml b/4-图形和动画/MainWindow.xaml index 6de959b..3183cb0 100644 --- a/4-图形和动画/MainWindow.xaml +++ b/4-图形和动画/MainWindow.xaml @@ -3,10 +3,10 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:local="clr-namespace:_4_图形和动画" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800"> - - - - + Title="_4_图形和动画" Height="450" Width="800"> + + + + + \ No newline at end of file