void dasb_FormClosed(object sender, FormClosedEventArgs e) { dasb = null; }
private void updateBonusAmountToolStripMenuItem_Click(object sender, EventArgs e) { if (dasb == null) { dasb = new DeleteASalaryBonus(); dasb.MdiParent = this; dasb.FormClosed += dasb_FormClosed; dasb .Show(); } else { dasb .Activate(); } }