SVN r878
SVN-Revision: r878
This commit is contained in:
@@ -582,10 +582,12 @@ namespace Lskj.Main
|
||||
|
||||
if (msg.Msg == WM_SYSCOMMAND && ((int)msg.WParam == SC_CLOSE))
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(_ledgerName)) return;
|
||||
if (!_ledgerName.Equals(cbLedger.EditValue + ""))
|
||||
if (!string.IsNullOrWhiteSpace(_ledgerName))
|
||||
{
|
||||
this.StartLedger(_ledgerName);
|
||||
if (!_ledgerName.Equals(cbLedger.EditValue + ""))
|
||||
{
|
||||
this.StartLedger(_ledgerName);
|
||||
}
|
||||
}
|
||||
}
|
||||
base.WndProc(ref msg);
|
||||
|
||||
Reference in New Issue
Block a user