private void notClearedReceipts_Click(object sender, EventArgs e) { if (_NotClearedReceiptList == null || _NotClearedReceiptList.IsDisposed == true) { _NotClearedReceiptList = new frmReceiptsList(); _NotClearedReceiptList.strStatus = "Not Cleared"; _NotClearedReceiptList.Show(); } _NotClearedReceiptList.BringToFront(); }
private void receiptsListToolStripMenu_Click(object sender, EventArgs e) { if (_ReceiptList == null || _ReceiptList.IsDisposed == true) { _ReceiptList = new frmReceiptsList(); _ReceiptList.strStatus = "All"; _ReceiptList.Show(); } _ReceiptList.BringToFront(); }