Пример #1
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();

            viewInventoryForm viewForm = new viewInventoryForm();

            viewForm.Show();
        }
        //---------------------------------------------------------------------------------------------------------
        private void viewInventoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();

            viewInventoryForm inventoryForm = new viewInventoryForm();

            inventoryForm.Show();
        }
        //---------------------------------------------------------------------------------------------------------
        private void ViewInventoryButton_Click(object sender, EventArgs e)
        {
            connection.Close();
            this.Hide();

            viewInventoryForm viewForm = new viewInventoryForm();

            viewForm.Show();
        }