//search button clicked private void btnsearch_Click(object sender, EventArgs e) { if (bh == null) { Bug_History bh = new Bug_History(); bh.FormClosed += Bh_FormClosed; bh.MdiParent = this; bh.Show(); } else { bh.Activate(); } }
private void Bh_FormClosed(object sender, FormClosedEventArgs e) { bh = null; //throw new NotImplementedException(); }