Exemple #1
0
 private void BtnCriar_Click(object sender, EventArgs e)
 {
     if (CheckTextBox(txtNomeLista))
     {
         MessageBox.Show("Você precisa adicionar um nome a lista de chamda antes!");
         return;
     }
     _ListaChamada.NomeLista = txtNomeLista.Text;
     ModuloBanco.ListaChamadaAdd(_ListaChamada);
     btnCriar.Visible      = false;
     txtNomeLista.ReadOnly = true;
     txtRa.ReadOnly        = false;
     txtNome.ReadOnly      = false;
     btnAdicionar.Visible  = true;
     txtNomeLista.TabStop  = false;
     btnRemover.Visible    = true;
     label6.Visible        = true;
 }