This commit is contained in:
sc committed 2022-03-06 19:55:24 +08:00
commit 9b7de37cc8
3 files changed
+19 -20

No files matched your search

+3 -3
View File
@@ -59,7 +59,7 @@ namespace Audit.Windows
{
if ((Passwds == "sql") || (Passwds == "SQL"))//数据库设置页面判断
{
MessageBox.Show("警告:进入数据库设置请您明确操作目的及可能需承担的后果");
MessageBox.Show("进入数据库设置请您明确操作目的及可能需承担的后果", "警告");
Windows.Set_up_Sql setup = new Windows.Set_up_Sql();
setup.Show();//实例化并打开设置窗口
this.Close();//关闭当前窗口
@@ -75,7 +75,7 @@ namespace Audit.Windows
}
else
{
MessageBox.Show("ERR.C0001:拒绝登录");//设置密码错误
MessageBox.Show("ERR.C0001:拒绝登录", "错误");//设置密码错误
}
}
@@ -86,7 +86,7 @@ namespace Audit.Windows
var usersql = UserAccountProvide.Select().FirstOrDefault(item => item.UserCode == users && item.PassWord == Passwds);//查询比较用户信息
if (usersql == null)//判断查询结果
{
MessageBox.Show("ERR.C0000:用户名或密码错误");
MessageBox.Show("ERR.C0000:用户名或密码错误", "错误");
}
else
{