SVN-Revision: r274
This commit is contained in:
tdx
2025-02-20 09:25:45 +00:00
parent ee0936c0c0
commit 95201e7bcf
5 changed files with 332 additions and 169 deletions
+1 -33
View File
@@ -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