Merge branch 'master' of http://www.scserverddns.top:13000/sc/formula_manage
This commit is contained in:
commit
0c9ec2b963
3 files changed
+51
-43
No files matched your search
+3
-3
@@ -58,17 +58,17 @@ namespace formula_manage
|
||||
|
||||
private void Button_Click_1(object sender, RoutedEventArgs e) //登录按钮事件
|
||||
{
|
||||
if ((User.Text == "engineer" || User.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();
|
||||
window.Close();
|
||||
Main.ShowDialog();//实例化并置顶打开信息窗口
|
||||
}
|
||||
else
|
||||
/* else
|
||||
{
|
||||
System.Windows.MessageBox.Show("账号或密码错误");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private void SearchBox_OnKeyDownd(object sender, System.Windows.Input.KeyEventArgs e)
|
||||
|
||||
Reference in new issue
Block a user