private void btnRecaudacionXmes_Click(object sender, EventArgs e) { if (ganancias == null) { ganancias = new frmGanancias(); ganancias.MdiParent = this.MdiParent; ganancias.FormClosed += new FormClosedEventHandler(GananciasFormClosed); ganancias.Show(); } }
private void GananciasFormClosed(object sender, EventArgs e) { ganancias = null; }