diff --git a/Models/MainWindowModel.cs b/Models/MainWindowModel.cs
index b3a10d6..634fe0a 100644
--- a/Models/MainWindowModel.cs
+++ b/Models/MainWindowModel.cs
@@ -8,7 +8,7 @@ namespace VideoConcat.Models
{
internal class MainWindowModel
{
- public string? UserName { get; set; }
- public string? PassWord { get; set; }
+ public string? Username { get; set; }
+ public string? Password { get; set; }
}
}
diff --git a/ViewModels/MainWindowViewModel.cs b/ViewModels/MainWindowViewModel.cs
index 3dacd12..677a9ce 100644
--- a/ViewModels/MainWindowViewModel.cs
+++ b/ViewModels/MainWindowViewModel.cs
@@ -14,8 +14,8 @@ namespace VideoConcat.ViewModels
public void Login()
{
- string userName = MainWindowsModel.UserName;
- string passWord = MainWindowsModel.PassWord;
+ string? userName = MainWindowsModel.Username;
+ string? passWord = MainWindowsModel.Password;
}
}
}
diff --git a/Views/MainWindow.xaml b/Views/MainWindow.xaml
index 2d89ce7..d43bd81 100644
--- a/Views/MainWindow.xaml
+++ b/Views/MainWindow.xaml
@@ -6,59 +6,79 @@
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:VideoConcat"
mc:Ignorable="d"
- Title="登录" Height="300" Width="500"
- ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
- >
+ Title="登录"
+ Height="300"
+ Width="500"
+ ResizeMode="NoResize"
+ WindowStartupLocation="CenterScreen">
-
-
-
+
+
+
-
+
-
+
-
-
+
+
用户登录
-
+
-
+
-
+
-
+ Width="30"
+ Height="30"
+ Kind="Lock"
+ Margin="10,0,10,0"/>
+
-
-