Esempio n. 1
0
 private void penjualanToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (lpJual == null)
     {
         lpJual             = new l_jualan();
         lpJual.MdiParent   = this;
         lpJual.FormClosed += new FormClosedEventHandler(LpJual_FormClosed);
         lpJual.Show();
     }
     else
     {
         lpJual.Activate();
     }
 }
Esempio n. 2
0
 private void LpJual_FormClosed(object sender, FormClosedEventArgs e)
 {
     lpJual = null;
 }