From 5afbc66d24df9c653957ff8cd8baa784e4be9884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhouqirong=E2=80=9D?= <“3518414982@qq.com> Date: Sun, 24 Dec 2023 17:59:31 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E5=85=B3=E5=8D=A1=E5=92=8C=E9=9A=BE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tetris/App.config | 18 ++- Tetris/App.xaml | 2 +- Tetris/MainWindow.xaml | 32 +++-- Tetris/MainWindow.xaml.cs | 131 +++++++++++++++++- Tetris/Properties/Resources.Designer.cs | 6 +- Tetris/Properties/Settings.Designer.cs | 2 +- Tetris/Resources/tetris.png | Bin 0 -> 1064033 bytes Tetris/Tetris.csproj | 66 ++++++++- Tetris/View/Window1.xaml | 36 +++++ Tetris/View/Window1.xaml.cs | 63 +++++++++ Tetris/bin/Debug/Tetris.exe | Bin 46080 -> 1258496 bytes Tetris/bin/Debug/Tetris.exe.config | 18 ++- Tetris/bin/Debug/Tetris.pdb | Bin 42496 -> 56832 bytes Tetris/images/background.jpg | Bin 0 -> 137503 bytes Tetris/images/loginbackground.jpg | Bin 0 -> 6048 bytes Tetris/obj/Debug/App.g.cs | 4 +- Tetris/obj/Debug/App.g.i.cs | 4 +- ...gnTimeResolveAssemblyReferencesInput.cache | Bin 7642 -> 9724 bytes Tetris/obj/Debug/MainWindow.baml | Bin 5804 -> 5920 bytes Tetris/obj/Debug/MainWindow.g.cs | 112 +++++++-------- Tetris/obj/Debug/MainWindow.g.i.cs | 96 ++++++------- .../Properties.Resources.Designer.cs.dll | Bin 3584 -> 4096 bytes .../Debug/Tetris.csproj.FileListAbsolute.txt | 106 ++++++++++++++ .../Tetris.csproj.GenerateResource.Cache | Bin 954 -> 84 bytes Tetris/obj/Debug/Tetris.exe | Bin 46080 -> 1258496 bytes Tetris/obj/Debug/Tetris.g.resources | Bin 14702 -> 1224832 bytes Tetris/obj/Debug/Tetris.pdb | Bin 42496 -> 56832 bytes Tetris/obj/Debug/Tetris_MarkupCompile.cache | 14 +- Tetris/obj/Debug/Tetris_MarkupCompile.i.cache | 14 +- Tetris/obj/Debug/Tetris_MarkupCompile.lref | 3 +- Tetris/packages.config | 19 +++ ...1\345\274\217\347\225\214\351\235\242.jpg" | Bin 0 -> 29519 bytes ...1\345\274\217\347\225\214\351\235\242.jpg" | Bin 0 -> 37109 bytes .../\346\217\217\350\277\260.txt" | 3 + ...4\345\215\225\347\225\214\351\235\242.jpg" | Bin 0 -> 28144 bytes ...1\345\274\217\347\225\214\351\235\242.jpg" | Bin 0 -> 25408 bytes ...0\347\244\272\347\225\214\351\235\242.jpg" | Bin 0 -> 38372 bytes 37 files changed, 593 insertions(+), 156 deletions(-) create mode 100644 Tetris/Resources/tetris.png create mode 100644 Tetris/View/Window1.xaml create mode 100644 Tetris/View/Window1.xaml.cs create mode 100644 Tetris/images/background.jpg create mode 100644 Tetris/images/loginbackground.jpg create mode 100644 Tetris/packages.config create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\344\270\200\350\210\254\346\250\241\345\274\217\347\225\214\351\235\242.jpg" create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\345\233\260\351\232\276\346\250\241\345\274\217\347\225\214\351\235\242.jpg" create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\346\217\217\350\277\260.txt" create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\346\270\270\346\210\217\350\217\234\345\215\225\347\225\214\351\235\242.jpg" create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\347\256\200\345\215\225\346\250\241\345\274\217\347\225\214\351\235\242.jpg" create mode 100644 "\345\233\276\347\211\207\346\217\217\350\277\260/\350\277\233\345\205\245\344\270\213\344\270\200\345\205\263\346\217\220\347\244\272\347\225\214\351\235\242.jpg" diff --git a/Tetris/App.config b/Tetris/App.config index d740e88..302ddb6 100644 --- a/Tetris/App.config +++ b/Tetris/App.config @@ -1,6 +1,18 @@ - + - + - \ No newline at end of file + + + + + + + + + + + + + diff --git a/Tetris/App.xaml b/Tetris/App.xaml index fdbbbca..bc5d8e9 100644 --- a/Tetris/App.xaml +++ b/Tetris/App.xaml @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Tetris" - StartupUri="MainWindow.xaml" Deactivated="Application_Deactivated"> + StartupUri="/View/Window1.xaml" Deactivated="Application_Deactivated"> diff --git a/Tetris/MainWindow.xaml b/Tetris/MainWindow.xaml index 8e7fe3b..987293b 100644 --- a/Tetris/MainWindow.xaml +++ b/Tetris/MainWindow.xaml @@ -22,7 +22,8 @@ - + + @@ -47,23 +48,25 @@ -