예제 #1
0
 private void btnOk1_Click(object sender, EventArgs e)
 {
     if (text_login1.Text == "adm" && text_senha1.Text == "123")
     {
         CadastroLogin cl = new CadastroLogin();
         cl.ShowDialog();
         Close();
     }
     else
     {
         MessageBox.Show("Senha do Administrador incorreta!!!!");
     }
 }
예제 #2
0
 private void btnOk1_Click(object sender, EventArgs e)
 {
     if (text_login1.Text == "adm" && text_senha1.Text == "123")
     {
         CadastroLogin cl = new CadastroLogin();
         cl.ShowDialog();
         Close();
     }
     else
     {
         MessageBox.Show("Senha do Administrador incorreta!!!!");
     }
 }