From 3d381ae843a8a9ce964815405a55ea3178befb83 Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 12 Oct 2020 13:46:41 +0200 Subject: [PATCH] [ADDED] client and server project (both are WPF projects)) --- Client/App.xaml | 9 +++++++++ Client/App.xaml.cs | 17 +++++++++++++++++ Client/AssemblyInfo.cs | 10 ++++++++++ Client/Client.csproj | 9 +++++++++ Client/MainWindow.xaml | 12 ++++++++++++ Client/MainWindow.xaml.cs | 28 ++++++++++++++++++++++++++++ Eindproject/Eindproject.sln | 14 +++++++++++++- Server/App.xaml | 9 +++++++++ Server/App.xaml.cs | 17 +++++++++++++++++ Server/AssemblyInfo.cs | 10 ++++++++++ Server/MainWindow.xaml | 12 ++++++++++++ Server/MainWindow.xaml.cs | 28 ++++++++++++++++++++++++++++ Server/Server.csproj | 9 +++++++++ 13 files changed, 183 insertions(+), 1 deletion(-) create mode 100644 Client/App.xaml create mode 100644 Client/App.xaml.cs create mode 100644 Client/AssemblyInfo.cs create mode 100644 Client/Client.csproj create mode 100644 Client/MainWindow.xaml create mode 100644 Client/MainWindow.xaml.cs create mode 100644 Server/App.xaml create mode 100644 Server/App.xaml.cs create mode 100644 Server/AssemblyInfo.cs create mode 100644 Server/MainWindow.xaml create mode 100644 Server/MainWindow.xaml.cs create mode 100644 Server/Server.csproj diff --git a/Client/App.xaml b/Client/App.xaml new file mode 100644 index 0000000..ab673d9 --- /dev/null +++ b/Client/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Client/App.xaml.cs b/Client/App.xaml.cs new file mode 100644 index 0000000..1d01910 --- /dev/null +++ b/Client/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 Client +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/Client/AssemblyInfo.cs b/Client/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/Client/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/Client/Client.csproj b/Client/Client.csproj new file mode 100644 index 0000000..6c68d0e --- /dev/null +++ b/Client/Client.csproj @@ -0,0 +1,9 @@ + + + + WinExe + netcoreapp3.1 + true + + + \ No newline at end of file diff --git a/Client/MainWindow.xaml b/Client/MainWindow.xaml new file mode 100644 index 0000000..0a31cd2 --- /dev/null +++ b/Client/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/Client/MainWindow.xaml.cs b/Client/MainWindow.xaml.cs new file mode 100644 index 0000000..87700ee --- /dev/null +++ b/Client/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 Client +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/Eindproject/Eindproject.sln b/Eindproject/Eindproject.sln index a84d6d9..69d95ea 100644 --- a/Eindproject/Eindproject.sln +++ b/Eindproject/Eindproject.sln @@ -3,7 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30517.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eindproject", "Eindproject.csproj", "{F9D948F4-BD6F-4E5A-B7D1-59C6AA04B308}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Eindproject", "Eindproject.csproj", "{F9D948F4-BD6F-4E5A-B7D1-59C6AA04B308}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "..\Server\Server.csproj", "{67A9BF1A-D317-47CA-9F07-C3480D1360FF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Client", "..\Client\Client.csproj", "{83768EDB-097E-4089-A5DE-208CB252D1A0}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +19,14 @@ Global {F9D948F4-BD6F-4E5A-B7D1-59C6AA04B308}.Debug|Any CPU.Build.0 = Debug|Any CPU {F9D948F4-BD6F-4E5A-B7D1-59C6AA04B308}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9D948F4-BD6F-4E5A-B7D1-59C6AA04B308}.Release|Any CPU.Build.0 = Release|Any CPU + {67A9BF1A-D317-47CA-9F07-C3480D1360FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {67A9BF1A-D317-47CA-9F07-C3480D1360FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {67A9BF1A-D317-47CA-9F07-C3480D1360FF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {67A9BF1A-D317-47CA-9F07-C3480D1360FF}.Release|Any CPU.Build.0 = Release|Any CPU + {83768EDB-097E-4089-A5DE-208CB252D1A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83768EDB-097E-4089-A5DE-208CB252D1A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83768EDB-097E-4089-A5DE-208CB252D1A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83768EDB-097E-4089-A5DE-208CB252D1A0}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Server/App.xaml b/Server/App.xaml new file mode 100644 index 0000000..4bfff38 --- /dev/null +++ b/Server/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Server/App.xaml.cs b/Server/App.xaml.cs new file mode 100644 index 0000000..df4e1b1 --- /dev/null +++ b/Server/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 Server +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/Server/AssemblyInfo.cs b/Server/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/Server/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/Server/MainWindow.xaml b/Server/MainWindow.xaml new file mode 100644 index 0000000..c42cb70 --- /dev/null +++ b/Server/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/Server/MainWindow.xaml.cs b/Server/MainWindow.xaml.cs new file mode 100644 index 0000000..58bc2c8 --- /dev/null +++ b/Server/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 Server +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/Server/Server.csproj b/Server/Server.csproj new file mode 100644 index 0000000..6c68d0e --- /dev/null +++ b/Server/Server.csproj @@ -0,0 +1,9 @@ + + + + WinExe + netcoreapp3.1 + true + + + \ No newline at end of file