예제 #1
0
 private void submenu_penjualan_Click(object sender, EventArgs e)
 {
     if (trx == null)
     {
         trx             = new FormTransaksi();
         trx.MdiParent   = this;
         trx.FormClosed += new FormClosedEventHandler(trnsksi_FormClosed);
         trx.Show();
     }
     else
     {
         trx.Activate();
     }
 }
예제 #2
0
 void trnsksi_FormClosed(Object sender, FormClosedEventArgs e)
 {
     trx = null;
 }