Exemplo n.º 1
0
 private void btnWholeseler_Click(object sender, EventArgs e)
 {
     if (wh == null)
     {
         wh             = new Wholesaler();
         wh.MdiParent   = this;
         wh.FormClosed += new FormClosedEventHandler(wh_FormClosed);
         wh.Show();
     }
     else
     {
         wh.Activate();
     }
 }
Exemplo n.º 2
0
 void wh_FormClosed(object sender, FormClosedEventArgs e)
 {
     wh = null;
 }