Esempio n. 1
0
        private void btn_restockItem_Click(object sender, EventArgs e)
        {
            //cals the restockItem form
            RestockItem ri = new RestockItem();

            ri.Show();
        }
        /// <summary>
        /// Button to Restock Items
        /// </summary>
        private void btnRestockItems_Click(object sender, EventArgs e)
        {
            // Declare and initialize the restock object
            RestockItem restockItem = new RestockItem(inventory, this);

            // Show the form as a child of the main form
            restockItem.ShowDialog(this);
        }
        //Restocks an Item
        private void button2_Click(object sender, EventArgs e)
        {
            var RestockItem = new RestockItem();

            RestockItem.Show();
        }