diff --git a/PWAPPv2/App.config b/PWAPPv2/App.config index 56efbc7..5967870 100644 --- a/PWAPPv2/App.config +++ b/PWAPPv2/App.config @@ -1,6 +1,46 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PWAPPv2/App.xaml b/PWAPPv2/App.xaml index f1eab26..5b9f06e 100644 --- a/PWAPPv2/App.xaml +++ b/PWAPPv2/App.xaml @@ -2,7 +2,8 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PWAPPv2" - StartupUri="MainWindow.xaml"> + StartupUri="MainWindow.xaml" + Startup="app_Startup"> diff --git a/PWAPPv2/App.xaml.cs b/PWAPPv2/App.xaml.cs index 1147aa4..1f66738 100644 --- a/PWAPPv2/App.xaml.cs +++ b/PWAPPv2/App.xaml.cs @@ -13,5 +13,13 @@ namespace PWAPPv2 /// public partial class App : Application { + public static string[] Args; + void app_Startup(object sender, StartupEventArgs e) + { + if(e.Args.Length > 0) + { + Args = e.Args; + } + } } } diff --git a/PWAPPv2/Config/Config.xml b/PWAPPv2/Config/Config.xml index 8cae57d..2296f93 100644 --- a/PWAPPv2/Config/Config.xml +++ b/PWAPPv2/Config/Config.xml @@ -1,5 +1,8 @@  + 10.0.1.107 + root + testdoctor testdoctor 210 diff --git a/PWAPPv2/MainWindow.xaml b/PWAPPv2/MainWindow.xaml index b0d8128..2173944 100644 --- a/PWAPPv2/MainWindow.xaml +++ b/PWAPPv2/MainWindow.xaml @@ -5,14 +5,14 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:PWAPPv2" mc:Ignorable="d" - Title="Quick Referral" Height="500" Width="800"> + Title="Quick Referral" Height="537" Width="800"> - - + + @@ -26,6 +26,11 @@ + + + + + - + @@ -54,9 +69,9 @@ - - - + + + @@ -64,13 +79,13 @@ -