Exemplo n.º 1
0
        // Customer Button Click
        private void mainCustomerButton_Click(object sender, EventArgs e)
        {
            // Open CustomerMainForm, hide this form, show CustomerMainForm
            CustomerMainForm customerForm = new CustomerMainForm();

            CustomerMainForm.mainForm = this;
            this.Hide();
            customerForm.Show();
        }