예제 #1
0
        private void frmCustomersEdit_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmMainForm mainForm = new frmMainForm();

            mainForm.Show();
            this.Hide();
        }
예제 #2
0
        private void ProductsAdd_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmMainForm mainForm = new frmMainForm();

            mainForm.Show();
            this.Hide();
        }
예제 #3
0
        private void frmCustomerAdd_FormClosing(object sender, FormClosingEventArgs e)
        {
            //when closing, shows main form and hides add customer form
            frmMainForm mainForm = new frmMainForm();

            mainForm.Show();
            Hide();
        }
예제 #4
0
        private void frmCustomersEdit_FormClosing(object sender, FormClosingEventArgs e)
        {
            //closes form/displays main form
            frmMainForm mainForm = new frmMainForm();

            mainForm.Show();
            Hide();
        }