diff --git a/Client/App.xaml b/Client/App.xaml index ab673d9..408569d 100644 --- a/Client/App.xaml +++ b/Client/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:Client" - StartupUri="MainWindow.xaml"> + > diff --git a/Client/App.xaml.cs b/Client/App.xaml.cs index 1d01910..30a075c 100644 --- a/Client/App.xaml.cs +++ b/Client/App.xaml.cs @@ -13,5 +13,17 @@ namespace Client /// public partial class App : Application { + + protected override void OnStartup(StartupEventArgs e) + { + base.OnStartup(e); + MainWindow startWindow = new MainWindow(); + ViewModel VM = new ViewModel(); + startWindow.DataContext = VM; + startWindow.Show(); + } + } + + } diff --git a/Client/Client.csproj b/Client/Client.csproj index 0bcea97..f239f26 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -6,6 +6,11 @@ true + + + + + diff --git a/Client/FodyWeavers.xml b/Client/FodyWeavers.xml new file mode 100644 index 0000000..d5abfed --- /dev/null +++ b/Client/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Client/FodyWeavers.xsd b/Client/FodyWeavers.xsd new file mode 100644 index 0000000..69dbe48 --- /dev/null +++ b/Client/FodyWeavers.xsd @@ -0,0 +1,74 @@ + + + + + + + + + + + Used to control if the On_PropertyName_Changed feature is enabled. + + + + + Used to control if the Dependent properties feature is enabled. + + + + + Used to control if the IsChanged property feature is enabled. + + + + + Used to change the name of the method that fires the notify event. This is a string that accepts multiple values in a comma separated form. + + + + + Used to control if equality checks should be inserted. If false, equality checking will be disabled for the project. + + + + + Used to control if equality checks should use the Equals method resolved from the base class. + + + + + Used to control if equality checks should use the static Equals method resolved from the base class. + + + + + Used to turn off build warnings from this weaver. + + + + + Used to turn off build warnings about mismatched On_PropertyName_Changed methods. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/Client/MainWindow.xaml b/Client/MainWindow.xaml index 0a31cd2..5606707 100644 --- a/Client/MainWindow.xaml +++ b/Client/MainWindow.xaml @@ -7,6 +7,60 @@ mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +