コード例 #1
0
ファイル: Form1.cs プロジェクト: ahmadatra/Custom-Inventory
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        private void editButton_Click(object sender, EventArgs e)
        {
            this.Hide();

            editInventoryForm editForm = new editInventoryForm();

            editForm.Show();
        }
コード例 #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();
        }