SVN-Revision: r878
This commit is contained in:
wyf
2025-07-21 08:28:29 +00:00
parent 2f984aac07
commit e0134d28ad
+5 -3
View File
@@ -582,10 +582,12 @@ 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 + ""))
{ {
this.StartLedger(_ledgerName); if (!_ledgerName.Equals(cbLedger.EditValue + ""))
{
this.StartLedger(_ledgerName);
}
} }
} }
base.WndProc(ref msg); base.WndProc(ref msg);