From cc0f92c5189afe03a62e8e6d3a7979c5f8b684a3 Mon Sep 17 00:00:00 2001 From: XuShanQiXun <3401460572@qq.com> Date: Sat, 31 May 2025 20:30:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chatclient.sln | 25 +++++++++++++++++++++++++ chatclient/App.xaml | 9 +++++++++ chatclient/App.xaml.cs | 14 ++++++++++++++ chatclient/AssemblyInfo.cs | 10 ++++++++++ chatclient/MainWindow.xaml | 16 ++++++++++++++++ chatclient/MainWindow.xaml.cs | 24 ++++++++++++++++++++++++ chatclient/chatclient.csproj | 11 +++++++++++ 7 files changed, 109 insertions(+) create mode 100644 chatclient.sln create mode 100644 chatclient/App.xaml create mode 100644 chatclient/App.xaml.cs create mode 100644 chatclient/AssemblyInfo.cs create mode 100644 chatclient/MainWindow.xaml create mode 100644 chatclient/MainWindow.xaml.cs create mode 100644 chatclient/chatclient.csproj diff --git a/chatclient.sln b/chatclient.sln new file mode 100644 index 0000000..f12a4a1 --- /dev/null +++ b/chatclient.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35931.197 d17.13 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "chatclient", "chatclient\chatclient.csproj", "{6965B200-D0AA-4729-A5A4-30DFD307EB80}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6965B200-D0AA-4729-A5A4-30DFD307EB80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6965B200-D0AA-4729-A5A4-30DFD307EB80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6965B200-D0AA-4729-A5A4-30DFD307EB80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6965B200-D0AA-4729-A5A4-30DFD307EB80}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {93891EEC-09A7-4F2F-A1A9-44D38BB3FCFF} + EndGlobalSection +EndGlobal diff --git a/chatclient/App.xaml b/chatclient/App.xaml new file mode 100644 index 0000000..ea95f8c --- /dev/null +++ b/chatclient/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/chatclient/App.xaml.cs b/chatclient/App.xaml.cs new file mode 100644 index 0000000..ff1f313 --- /dev/null +++ b/chatclient/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace chatclient +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/chatclient/AssemblyInfo.cs b/chatclient/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/chatclient/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/chatclient/MainWindow.xaml b/chatclient/MainWindow.xaml new file mode 100644 index 0000000..59514ec --- /dev/null +++ b/chatclient/MainWindow.xaml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/chatclient/MainWindow.xaml.cs b/chatclient/MainWindow.xaml.cs new file mode 100644 index 0000000..d7290f7 --- /dev/null +++ b/chatclient/MainWindow.xaml.cs @@ -0,0 +1,24 @@ +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 chatclient +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/chatclient/chatclient.csproj b/chatclient/chatclient.csproj new file mode 100644 index 0000000..e3e33e3 --- /dev/null +++ b/chatclient/chatclient.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + enable + true + + +