SVN r274
SVN-Revision: r274
This commit is contained in:
@@ -152,36 +152,4 @@ namespace Lskj.PubBill
|
||||
{
|
||||
if (isInitialization)
|
||||
{
|
||||
this.billModule1.txtinputobj.Focus();//如果有扫码框,就默认获得焦点
|
||||
isInitialization = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void OnClose(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
string guid = this.Tag + "";
|
||||
if (string.IsNullOrWhiteSpace(guid)) return;
|
||||
DllModule m = Manager.ModuleForms[guid];
|
||||
m.IsClose = true;
|
||||
if (billModule1.closeTheJudgment())
|
||||
{
|
||||
|
||||
|
||||
if (string.IsNullOrWhiteSpace(guid)) return;
|
||||
DialogResult result = MessageUtil.Show(("数据未保存,是否确定关闭?"), MessageBoxButtons.YesNo);
|
||||
if (result == DialogResult.Yes)
|
||||
{
|
||||
m.IsClose = true;
|
||||
e.Cancel = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
m.IsClose = false;
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
this.billModule1.txtinputobj.Fo
|
||||
Reference in New Issue
Block a user