This commit is contained in:
sc committed 2023-10-18 00:17:15 +08:00
commit 3b41ab8fed
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ namespace formula_manage
private void Button_Click_1(object sender, RoutedEventArgs e) //登录按钮事件
{
if ((Name.Text == "engineer" || Name.Text == "ENGINEER") && (Pasword.Password == "engineer" || Pasword.Password == "ENGINEER"))
if ((User.Text == "engineer" || User.Text == "ENGINEER") && (Pasword.Password == "engineer" || Pasword.Password == "ENGINEER"))
{
Window window = Window.GetWindow(this);
MainWindow Main = new MainWindow();