sc 4 years ago
parent
commit
04467f6aef
  1. 6
      Windows/LogWindow.xaml.cs

6
Windows/LogWindow.xaml.cs

@ -34,11 +34,11 @@ namespace Audit.Windows
{ {
string user = this.users.Text; string user = this.users.Text;
string passwd = this.Passwds.Text; string passwd = this.Passwds.Text;
if (user == "engineer") if (user == "setup")
{ {
if (passwd == "engineer") if (passwd == "setup")
{ {
MessageBox.Show("警告:设置模式将会对本机运行造成重大影响,请您明确操作目的及可能需承担的后果"); MessageBox.Show("警告:进入设置模式请您明确操作目的及可能需承担的后果");
Windows.Set_up setup = new Windows.Set_up(); Windows.Set_up setup = new Windows.Set_up();
setup.Show(); setup.Show();
this.Close(); this.Close();

Loading…
Cancel
Save