예제 #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();
     }
 }
예제 #2
0
 private void FormDokter_FormClosed(object sender, FormClosedEventArgs e)
 {
     dktr = null;
 }