Esempio n. 1
0
 private void panel1item1_ItemActivated(object sender, QCompositeEventArgs e)
 {
     if (dktr == null)
     {
         dktr             = new FormDokter();
         dktr.MdiParent   = this;
         dktr.FormClosed += new FormClosedEventHandler(FormDokter_FormClosed);
         dktr.Show();
     }
     else
     {
         dktr.Activate();
     }
 }
Esempio n. 2
0
 private void FormDokter_FormClosed(object sender, FormClosedEventArgs e)
 {
     dktr = null;
 }