Esempio n. 1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            if (txtEmailsign.Text == "")
            {
                MessageBox.Show("Please do not empty Email");
            }
            else if (txtPassword.Text == "")
            {
                MessageBox.Show("Please do not empty  Password");
            }

            else
            {
                logın lg = new logın();
                this.Hide();
                lg.Show();
            }
        }
Esempio n. 2
0
 private void btnlogin_Click(object sender, EventArgs e)
 {
     if (txtpassword.Text == "")
     {
         MessageBox.Show("Please do not empty Password");
     }
     else if (txtrepeatpassword.Text == "")
     {
         MessageBox.Show("Please do not empty Repeat Password");
     }
     else if (txtpassword.Text != txtrepeatpassword.Text)
     {
         MessageBox.Show("Please enter your same password");
     }
     else
     {
         logın lg = new logın();
         this.Hide();
         lg.Show();
     }
 }