private void Edit(long ReconciliationID) { if (frmOper == null) { frmOper = new FrmReconciliationOper(); new FrmStyle(frmOper).SetPopFrmStyle(this); frmOper.AffterSave += this.LoadReconciliation; frmOper.AffterSave += this.LoadMonthSettle; } frmOper.Edit(ReconciliationID); frmOper.ShowDialog(); }
void lnkNew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (frmOper == null) { frmOper = new FrmReconciliationOper(); new FrmStyle(frmOper).SetPopFrmStyle(this); frmOper.AffterSave += this.LoadReconciliation; frmOper.AffterSave += this.LoadMonthSettle; } frmOper.New(); frmOper.ShowDialog(); }