예제 #1
0
        private void btnEditarAdm_Click(object sender, EventArgs e)
        {
            Form f = new EditarDadosForms.frmEditarAdm();

            f.Show();
            this.Close();
        }
예제 #2
0
 private void btnConfirmar_Click(object sender, EventArgs e)
 {
     if (txtSenha.Text == metodos.SelectAdmPasswordByLoginName(frmLogin.SetLoginName).Replace(" ", ""))
     {
         Confirmacao = "ok";
         Form f = new EditarDadosForms.frmEditarAdm();
         f.ShowDialog();
         this.Close();
     }
     //SelectAdmPasswordByName(frmLogin.SetLoginName);
 }