Beispiel #1
0
        private void InventoryButtonClick(object sender, EventArgs e)
        {
            AddInventory addInventory = null;

            if (addInventory != null)
            {
                addInventory.Activate();
            }
            else
            {
                addInventory = new AddInventory();
                addInventory.Show();
            }
        }
Beispiel #2
0
 private void InventoryButtonClick(object sender, EventArgs e)
 {
     AddInventory addInventory = null;
     if (addInventory != null)
     {
         addInventory.Activate();
     }
     else
     {
         addInventory = new AddInventory();
         addInventory.Show();
     }
 }