From 7eff414f0d3fa8f42948824e6d071534bcc0badf Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Thu, 14 Mar 2019 12:20:54 -0700 Subject: [PATCH] Working on desktop app. --- Remotely_Desktop/App.config | 26 +++- Remotely_Desktop/App.xaml | 2 +- Remotely_Desktop/App.xaml.cs | 10 +- Remotely_Desktop/Controls/HostNamePrompt.xaml | 18 +++ .../Controls/HostNamePrompt.xaml.cs | 34 +++++ Remotely_Desktop/MainWindow.xaml | 88 ++++++------ Remotely_Desktop/MainWindow.xaml.cs | 35 ++++- Remotely_Desktop/Remotely_Desktop.csproj | 16 ++- .../Resources/Remotely_ScreenCast.exe | Bin 1430016 -> 1434112 bytes Remotely_Desktop/Services/Config.cs | 12 +- Remotely_Desktop/Services/IPC.cs | 23 ++++ .../ViewModels/HostNamePromptViewModel.cs | 21 +++ .../ViewModels/MainWindowViewModel.cs | 129 +++++++++++++++++- Remotely_ScreenCast/Capture/ScreenCaster.cs | 2 +- Remotely_ScreenCast/Program.cs | 92 +++++++------ .../Remotely_ScreenCast.csproj | 9 +- .../Sockets/MessageHandlers.cs | 27 ++-- .../Sockets/OutgoingMessages.cs | 5 + Remotely_ScreenCast/packages.config | 1 + 19 files changed, 435 insertions(+), 115 deletions(-) create mode 100644 Remotely_Desktop/Controls/HostNamePrompt.xaml create mode 100644 Remotely_Desktop/Controls/HostNamePrompt.xaml.cs create mode 100644 Remotely_Desktop/Services/IPC.cs create mode 100644 Remotely_Desktop/ViewModels/HostNamePromptViewModel.cs diff --git a/Remotely_Desktop/App.config b/Remotely_Desktop/App.config index 56efbc7b..77e1ff33 100644 --- a/Remotely_Desktop/App.config +++ b/Remotely_Desktop/App.config @@ -1,6 +1,30 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Remotely_Desktop/App.xaml b/Remotely_Desktop/App.xaml index 1bee3ba4..acd34727 100644 --- a/Remotely_Desktop/App.xaml +++ b/Remotely_Desktop/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:Remotely_Desktop" - StartupUri="MainWindow.xaml"> + StartupUri="MainWindow.xaml" Exit="Application_Exit">