private void manualUpdateToolStripMenuItem_Click(object sender, EventArgs e) { UpdateInventory UI = new UpdateInventory(); UI.MdiParent = this; UI.Show(); }
private void updateInventoryToolStripMenuItem_Click(object sender, EventArgs e) { UpdateInventory childForm = new UpdateInventory(); childForm.MdiParent = this; childForm.Show(); }
private void updateThisInventoryItemToolStripMenuItem_Click(object sender, EventArgs e) { //show the inventory update screen for the selected item if (iRowClick != -9) { GlobalClass.InventoryID = dataGridView1[0, iRowClick].Value.ToString(); GlobalClass.ConsignerID = int.Parse(dataGridView1[1, iRowClick].Value.ToString()); UpdateInventory newForm = new UpdateInventory(); newForm.MdiParent = this.MdiParent; newForm.Show(); } else { iRowClick = -9; } }