Beispiel #1
0
 private void menuStrip1_ItemClicked(object sender, EventArgs e)
 {
     if (frmInventory == null)
     {
         frmInventory             = new frm_inventory();
         frmInventory.MdiParent   = this;
         frmInventory.FormClosed += FrmInventory_FormClosed;
         frmInventory.Show();
     }
     else
     {
         frmInventory.Activate();
     }
 }
Beispiel #2
0
 private void FrmInventory_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmInventory = null;
     //throw new NotImplementedException();
 }