Esempio n. 1
0
 private void submenu_pelanggan_Click(object sender, EventArgs e)
 {
     if (plgn == null)
     {
         plgn             = new FormPelanggan();
         plgn.MdiParent   = this;
         plgn.FormClosed += new FormClosedEventHandler(plgn_FormClosed);
         plgn.Show();
     }
     else
     {
         plgn.Activate();
     }
 }
Esempio n. 2
0
 void plgn_FormClosed(object sender, FormClosedEventArgs e)
 {
     plgn = null;
 }