diff --git a/ucalc/Annotations.cs b/ucalc/Annotations.cs index 84abdc0..e8ef5b5 100644 --- a/ucalc/Annotations.cs +++ b/ucalc/Annotations.cs @@ -32,7 +32,7 @@ using System; // ReSharper disable MemberCanBeProtected.Global // ReSharper disable InconsistentNaming -namespace ucalc.Annotations +namespace UCalc.Annotations { /// /// Indicates that the value of the marked element could be null sometimes, diff --git a/ucalc/BillingWindow.xaml.cs b/ucalc/BillingWindow.xaml.cs index f645e51..a95181a 100644 --- a/ucalc/BillingWindow.xaml.cs +++ b/ucalc/BillingWindow.xaml.cs @@ -48,6 +48,7 @@ namespace UCalc { var page = (HousePage) ((Frame) sender).Content; page.Model = Model.HouseModel; + page.ParentWindow = this; } } } \ No newline at end of file diff --git a/ucalc/Controls/ErrorIcon.xaml.cs b/ucalc/Controls/ErrorIcon.xaml.cs index 31bc7b5..de95dc7 100644 --- a/ucalc/Controls/ErrorIcon.xaml.cs +++ b/ucalc/Controls/ErrorIcon.xaml.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Data; -using ucalc.Annotations; +using UCalc.Annotations; namespace UCalc.Controls { diff --git a/ucalc/Controls/SectionHeader.xaml b/ucalc/Controls/SectionHeader.xaml index 9922a59..fa718c5 100644 --- a/ucalc/Controls/SectionHeader.xaml +++ b/ucalc/Controls/SectionHeader.xaml @@ -7,7 +7,7 @@ xmlns:controls="clr-namespace:UCalc.Controls" mc:Ignorable="d"> - + diff --git a/ucalc/FlatWindow.xaml b/ucalc/FlatWindow.xaml new file mode 100644 index 0000000..a047440 --- /dev/null +++ b/ucalc/FlatWindow.xaml @@ -0,0 +1,74 @@ + + + + + + + +