예제 #1
0
 private void qRibbonItem3_ItemActivated(object sender, QCompositeEventArgs e)
 {
     if (tindakan == null)
     {
         tindakan             = new FormTindakan();
         tindakan.MdiParent   = this;
         tindakan.FormClosed += new FormClosedEventHandler(FormTindakan_FormClosed);
         tindakan.Show();
     }
     else
     {
         tindakan.Activate();
     }
 }
예제 #2
0
 private void FormTindakan_FormClosed(object sender, FormClosedEventArgs e)
 {
     tindakan = null;
 }