示例#1
0
 private void btnLogIn_Click(object sender, EventArgs e)
 {
     if (txtUserID.Text == "admin" && txtPwd.Text == "admin123")
     {
         Chamber chamber = new Chamber();
         chamber.Show();
         this.Hide();
     }
     else
         MessageBox.Show("Invalid UserId and Password");
 }
示例#2
0
 private void btnLogIn_Click(object sender, EventArgs e)
 {
     if (txtUserID.Text == "admin" && txtPwd.Text == "admin123")
     {
         Chamber chamber = new Chamber();
         chamber.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Invalid UserId and Password");
     }
 }