Exemple #1
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        private void editButton_Click(object sender, EventArgs e)
        {
            this.Hide();

            editInventoryForm editForm = new editInventoryForm();

            editForm.Show();
        }
Exemple #2
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //This button allows us to switch to the edit form
        private void SwitchToEdit_Click(object sender, EventArgs e)
        {
            connection.Close();
            this.Hide();

            editInventoryForm editForm = new editInventoryForm();

            editForm.Show();
        }