diff --git a/App.xaml b/App.xaml index de651fd..9d60610 100644 --- a/App.xaml +++ b/App.xaml @@ -2,8 +2,13 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:formula_manage" - StartupUri="Login.xaml"> + StartupUri="Login.xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006" + > - + + + diff --git a/MainWindow.xaml b/MainWindow.xaml index a4a9fb9..fddcb79 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -6,7 +6,12 @@ xmlns:local="clr-namespace:formula_manage" mc:Ignorable="d" Loaded="Window_MIN" Title="SUNLIGHT" Height="720" Width="1280" MinHeight="720" MinWidth="1280" + DataContext="{Binding Source={StaticResource Locator}, Path=Main}" BorderBrush="White" Background="#FFE0E0E0"> + + + + @@ -71,7 +76,7 @@ -