예제 #1
0
 private void VisualizarPagamentos_Load(object sender, EventArgs e)
 {
     if (criancaController == null)
     {
         criancaController = new CriancasController();
     }
     this.dtp_fim.Value = this.dtp_fim.Value.AddMonths(1);
 }
예제 #2
0
 private void TurmaSelector_Load(object sender, EventArgs e)
 {
     if (this.criancaController == null)
     {
         this.criancaController = new CriancasController();
     }
     this.responsavelBindingSource.DataSource = this.criancaController.LoadCriancas();
     this.cb_crianca.SelectedIndex            = -1;
     this.cb_crianca.SelectedItem             = null;
 }
예제 #3
0
 private void CadastroAluno_Load(object sender, EventArgs e)
 {
     if (this.criancaController == null)
     {
         this.criancaController = new CriancasController();
     }
     this.criancasLista = criancaController.LoadCriancas();
     if (this.criancasLista.Count > 0)
     {
         this.Preencher(this.indiceAtual);
         this.btn_modificar.Enabled = true;
     }
 }