Example #1
0
 private void btnWarehouse_Click(object sender, EventArgs e)
 {
     if (ob_FrmWarehouse == null || ob_FrmWarehouse.IsDisposed)
     {
         ob_FrmWarehouse = new FrmWarehouse();
         ob_FrmWarehouse.Show();
     }
     else
     {
         ob_FrmWarehouse.Activate();
     }
 }
 private void btnWarehouse_Click(object sender, EventArgs e)
 {
     if (ob_FrmWarehouse == null || ob_FrmWarehouse.IsDisposed)
     {
         ob_FrmWarehouse = new FrmWarehouse();
         ob_FrmWarehouse.Show();
     }
     else
     {
         ob_FrmWarehouse.Activate();
     }
 }