private void buttonInserirUsuarioConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirUsuarioLogin.Text == "" || textBoxInserirUsuarioSenha.Text == ""
         || comboBoxInserirUsuarioGrupo.Text == "" || textBoxInserirUsuarioNome.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
 private void buttonInserirSalaConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirSalaNome.Text == "" || comboBoxInserirSalaTipo.Text == ""
         || comboBoxInserirSalaUnidade.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
 private void buttonInserirUsuarioConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirUsuarioLogin.Text == "" || textBoxInserirUsuarioSenha.Text == "" ||
         comboBoxInserirUsuarioGrupo.Text == "" || textBoxInserirUsuarioNome.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
Example #4
0
 private void buttonInserirTCCConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirTCCDescricao.Text == "" || textBoxInserirTCCTema.Text == "" ||
         textBoxInserirTCCMatriculaAluno.Text == "" || comboBoxInserirTCCBancaOrientador.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
 private void buttonInserirSalaConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirSalaNome.Text == "" || comboBoxInserirSalaTipo.Text == "" ||
         comboBoxInserirSalaUnidade.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
 private void buttonInserirTCCConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirTCCDescricao.Text == "" || textBoxInserirTCCTema.Text == ""
         || textBoxInserirTCCMatriculaAluno.Text == "" || comboBoxInserirTCCBancaOrientador.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
         frmInserirConfirmacaoSucesso.ShowDialog();
         this.Close();
     }
 }
 private void buttonInserirAlunoConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirAlunoNome.Text == "" || textBoxInserirAlunoMatricula.Text == ""
         || comboBoxInserirAlunoCurso.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         if (maskedTextBoxInserirAlunoCPF.MaskFull)
         {
             FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
             frmInserirConfirmacaoSucesso.ShowDialog();
             this.Close();
         }
         else
         {
             FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
             frmInserirConfirmacaoProblema.ShowDialog();
         }
     }
 }
Example #8
0
 private void buttonInserirAlunoConfirmar_Click(object sender, EventArgs e)
 {
     if (textBoxInserirAlunoNome.Text == "" || textBoxInserirAlunoMatricula.Text == "" ||
         comboBoxInserirAlunoCurso.Text == "")
     {
         FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
         frmInserirConfirmacaoProblema.ShowDialog();
     }
     else
     {
         if (maskedTextBoxInserirAlunoCPF.MaskFull)
         {
             FrmInserirConfirmacaoSucesso frmInserirConfirmacaoSucesso = new FrmInserirConfirmacaoSucesso();
             frmInserirConfirmacaoSucesso.ShowDialog();
             this.Close();
         }
         else
         {
             FrmInserirConfirmacaoProblema frmInserirConfirmacaoProblema = new FrmInserirConfirmacaoProblema();
             frmInserirConfirmacaoProblema.ShowDialog();
         }
     }
 }