SVN-Revision: r878
This commit is contained in:
wyf
2025-07-21 08:28:29 +00:00
parent 2f984aac07
commit e0134d28ad
+3 -1
View File
@@ -582,12 +582,14 @@ namespace Lskj.Main
if (msg.Msg == WM_SYSCOMMAND && ((int)msg.WParam == SC_CLOSE)) if (msg.Msg == WM_SYSCOMMAND && ((int)msg.WParam == SC_CLOSE))
{ {
if (string.IsNullOrWhiteSpace(_ledgerName)) return; if (!string.IsNullOrWhiteSpace(_ledgerName))
{
if (!_ledgerName.Equals(cbLedger.EditValue + "")) if (!_ledgerName.Equals(cbLedger.EditValue + ""))
{ {
this.StartLedger(_ledgerName); this.StartLedger(_ledgerName);
} }
} }
}
base.WndProc(ref msg); base.WndProc(ref msg);
} }