private void laporanToolStripMenuItem_Click(object sender, EventArgs e) { if (laporan == null) { laporan = new Form_Laporan(); laporan.FormClosed += new FormClosedEventHandler(formlaporan); laporan.Show(); } else { penerimaan.Activate(); } }
void formlaporan(Object sender, FormClosedEventArgs e) { laporan = null; }