示例#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();
        }