diff --git a/MySolution/ToDoApp/Context/ToDoContext.cs b/MySolution/ToDoApp/Context/ToDoContext.cs index cc61367..6d89af6 100644 --- a/MySolution/ToDoApp/Context/ToDoContext.cs +++ b/MySolution/ToDoApp/Context/ToDoContext.cs @@ -18,7 +18,5 @@ namespace ToDoApp.Context optionsBuilder.UseMySQL(@"Server=peacecloud.synology.me;Port=3307;Database=Study;Uid=study;Pwd=Study1234!;"); base.OnConfiguring(optionsBuilder); } - - } } diff --git a/MySolution/ToDoApp/MainWindow.xaml b/MySolution/ToDoApp/MainWindow.xaml index 277b2dc..3ce50d4 100644 --- a/MySolution/ToDoApp/MainWindow.xaml +++ b/MySolution/ToDoApp/MainWindow.xaml @@ -3,10 +3,87 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:local="clr-namespace:ToDoApp" + xmlns:local="clr-namespace:ToDoApp" xmlns:subcontrol="clr-namespace:ToDoApp.SubControl" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800"> + Title="To Do" Height="800" Width="1000" WindowStartupLocation="CenterScreen" + Icon="./Resource/ToDo.png"> + + + + + + + + + + + + + + + + + + + + + + +