示例#1
0
 private void manualUpdateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     UpdateInventory UI = new UpdateInventory();
     UI.MdiParent = this;
     UI.Show();
 }
示例#2
0
 private void updateInventoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     UpdateInventory childForm = new UpdateInventory();
     childForm.MdiParent = this;
     childForm.Show();
 }
示例#3
0
        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;
            }
        }