diff --git a/SlnMesnac.WPF/MainWindow.xaml b/SlnMesnac.WPF/MainWindow.xaml
index 9a3a970..654546b 100644
--- a/SlnMesnac.WPF/MainWindow.xaml
+++ b/SlnMesnac.WPF/MainWindow.xaml
@@ -35,14 +35,15 @@
-
+
+
@@ -140,10 +141,7 @@
-
-
-
diff --git a/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml b/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml
new file mode 100644
index 0000000..bdb53d2
--- /dev/null
+++ b/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml.cs b/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml.cs
new file mode 100644
index 0000000..4bd849c
--- /dev/null
+++ b/SlnMesnac.WPF/Page/EmployeeLoginPage.xaml.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace SlnMesnac.WPF.Page
+{
+ ///
+ /// EmployeeLoginPage.xaml 的交互逻辑
+ ///
+ public partial class EmployeeLoginPage : UserControl
+ {
+ public EmployeeLoginPage()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/SlnMesnac.WPF/ViewModel/MainWindowViewModel.cs b/SlnMesnac.WPF/ViewModel/MainWindowViewModel.cs
index 104526c..8414540 100644
--- a/SlnMesnac.WPF/ViewModel/MainWindowViewModel.cs
+++ b/SlnMesnac.WPF/ViewModel/MainWindowViewModel.cs
@@ -2,9 +2,11 @@
using GalaSoft.MvvmLight.Command;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
+using SlnMesnac.WPF.Page;
using SlnMesnac.WPF.Page.Generate;
using System;
using System.Windows;
+using System.Windows.Controls;
namespace SlnMesnac.WPF.ViewModel
{
@@ -14,6 +16,7 @@ namespace SlnMesnac.WPF.ViewModel
//代码生成
private readonly GenerateControl generateControl = new GenerateControl();
+ private readonly EmployeeLoginPage _employeeLoginPage = new EmployeeLoginPage();
#region 参数定义
///
@@ -78,7 +81,7 @@ namespace SlnMesnac.WPF.ViewModel
public MainWindowViewModel()
{
-
+ UserContent = _employeeLoginPage;
_logger = App.ServiceProvider.GetService>();
ControlOnClickCommand = new RelayCommand