private void submenu_about_Click(object sender, EventArgs e) { //memanggil form about programmer if (aboutprog == null) { aboutprog = new FAboutProgrammer(); aboutprog.MdiParent = this; aboutprog.FormClosed += new FormClosedEventHandler(Proc_AboutProgrammerClosed); aboutprog.Show(); } else { aboutprog.Activate(); } }
//Membuat prosedur event form closed void Proc_AboutProgrammerClosed(Object sender, FormClosedEventArgs e) { aboutprog = null; }