private void viewInventoryToolStripMenuItem_Click(object sender, EventArgs e) { SearchInventory InventoryWindow = new SearchInventory(currentUser); f.createWindow("Inventory", this, InventoryWindow, false, false); }
private void btnSearchInv_Click(object sender, EventArgs e) { SearchInventory search = new SearchInventory(currentUser); f.createWindow("Inventory", this, search, true, true); }