This commit is contained in:
sc committed 2022-01-24 14:01:05 +08:00
commit 04467f6aef
1 file changed
+3 -3
+3 -3
View File
@@ -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();