diff --git a/WorkStation.sln b/WorkStation.sln index fd685f0..272e37d 100644 --- a/WorkStation.sln +++ b/WorkStation.sln @@ -3,7 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.14.36221.1 d17.14 MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkStationClient", "WorkStationClient\WorkStationClient.csproj", "{B3D9EF99-5FA3-4533-91FE-2A107E81C4A0}" +EndProject Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B3D9EF99-5FA3-4533-91FE-2A107E81C4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B3D9EF99-5FA3-4533-91FE-2A107E81C4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B3D9EF99-5FA3-4533-91FE-2A107E81C4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B3D9EF99-5FA3-4533-91FE-2A107E81C4A0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection diff --git a/WorkStationClient/App.xaml b/WorkStationClient/App.xaml new file mode 100644 index 0000000..acbe2fc --- /dev/null +++ b/WorkStationClient/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WorkStationClient/App.xaml.cs b/WorkStationClient/App.xaml.cs new file mode 100644 index 0000000..81c3495 --- /dev/null +++ b/WorkStationClient/App.xaml.cs @@ -0,0 +1,22 @@ +using System.Windows; +using Prism.Ioc; +using WorkStationClient.Views; + +namespace WorkStationClient +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App + { + protected override Window CreateShell() + { + return Container.Resolve(); + } + + protected override void RegisterTypes(IContainerRegistry containerRegistry) + { + + } + } +} diff --git a/WorkStationClient/ViewModels/MainWindowViewModel.cs b/WorkStationClient/ViewModels/MainWindowViewModel.cs new file mode 100644 index 0000000..0df0abe --- /dev/null +++ b/WorkStationClient/ViewModels/MainWindowViewModel.cs @@ -0,0 +1,19 @@ +using Prism.Mvvm; + +namespace WorkStationClient.ViewModels +{ + public class MainWindowViewModel : BindableBase + { + private string _title = "Prism Application"; + public string Title + { + get { return _title; } + set { SetProperty(ref _title, value); } + } + + public MainWindowViewModel() + { + + } + } +} diff --git a/WorkStationClient/Views/MainWindow.xaml b/WorkStationClient/Views/MainWindow.xaml new file mode 100644 index 0000000..b773011 --- /dev/null +++ b/WorkStationClient/Views/MainWindow.xaml @@ -0,0 +1,10 @@ + + + + + diff --git a/WorkStationClient/Views/MainWindow.xaml.cs b/WorkStationClient/Views/MainWindow.xaml.cs new file mode 100644 index 0000000..8437e31 --- /dev/null +++ b/WorkStationClient/Views/MainWindow.xaml.cs @@ -0,0 +1,15 @@ +using System.Windows; + +namespace WorkStationClient.Views +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/WorkStationClient/WorkStationClient.csproj b/WorkStationClient/WorkStationClient.csproj new file mode 100644 index 0000000..e44cc0c --- /dev/null +++ b/WorkStationClient/WorkStationClient.csproj @@ -0,0 +1,10 @@ + + + WinExe + net6.0-windows + true + + + + + \ No newline at end of file