private void panel1item2_ItemActivated(object sender, QCompositeEventArgs e) { if (jdwldokter == null) { jdwldokter = new FormJadwalDokter(); jdwldokter.MdiParent = this; jdwldokter.FormClosed += new FormClosedEventHandler(FormJadwalDokter_FormClosed); jdwldokter.Show(); } else { jdwldokter.Activate(); } }
private void FormJadwalDokter_FormClosed(object sender, FormClosedEventArgs e) { jdwldokter = null; }