private void btnRMFundBalance_Click(object sender, EventArgs e) { if (_frmGroupBalance == null || !_frmGroupBalance.Created) { _frmGroupBalance = new FormBalance(_type); _frmGroupBalance.Show(); } else { _frmGroupBalance.ViewForm(); _frmGroupBalance.Activate(); _frmGroupBalance.BringToFront(); } }
private void btnPMAccBalance_Click(object sender, EventArgs e) { if (_frmAccBalance == null || !_frmAccBalance.Created) { _frmAccBalance = new FormBalance(BalanceType.ACCOUNT); _frmAccBalance.Show(); } else { _frmAccBalance.ViewForm(); _frmAccBalance.Activate(); _frmAccBalance.BringToFront(); } }