注销修改
This commit is contained in:
parent
6985599614
commit
ee9a20f4f9
@ -383,12 +383,10 @@ namespace AIMS
|
||||
}
|
||||
|
||||
private void btnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (Form frm in Application.OpenForms)
|
||||
{
|
||||
if (frm.Name != "frmLogin" && frm.Name != this.Name)
|
||||
if (frm.Name != "FormLogin" && frm.Name != this.Name)
|
||||
{
|
||||
frm.Close();
|
||||
break;
|
||||
@ -396,7 +394,7 @@ namespace AIMS
|
||||
}
|
||||
foreach (Form frm in Application.OpenForms)
|
||||
{
|
||||
if (frm.Name == "frmLogin")
|
||||
if (frm.Name == "FormLogin")
|
||||
{
|
||||
frm.Show();
|
||||
isClose = true;
|
||||
@ -405,10 +403,6 @@ namespace AIMS
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
bool isClose = false;
|
||||
private void FormMainManage_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
|
||||
@ -196,9 +196,9 @@ namespace DrawGraph
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
//PublicMethod.WriteLog(new Exception("回写数据出错:" + propertyName + " 值:" + value + " 错误:" + ex.Message));
|
||||
PublicMethod.WriteLog(new Exception("回写数据出错:" + propertyName + " 值:" + value + " 错误:" + ex.Message));
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user