private void ButtonCustomer_Click(object sender, EventArgs e)
        {
            this.Hide();
            Customer_login c = new Customer_login();

            c.Show();
        }
Exemple #2
0
        private void ButtonConfirm_Click(object sender, EventArgs e)
        {
            CustomerController.ChanagePassword(textBoxEmail.Text, textBoxPass.Text);
            string            message = "Do you want to confirm this program..?";
            string            title   = "Alert";
            MessageBoxButtons buttons = MessageBoxButtons.YesNo;
            DialogResult      result  = MessageBox.Show(message, title, buttons);

            if (result == DialogResult.Yes)
            {
                this.Hide();
                Customer_login v = new Customer_login();
                v.Show();
            }
            else
            {
                // Do something
            }
        }
Exemple #3
0
        private void Button1_Click(object sender, EventArgs e)
        {
            Customer_login v = new Customer_login();

            v.Show();
        }