예제 #1
0
 private void opçãoNovoCrédito_Click(object sender, EventArgs e)
 {
     JanelaCadastroCrédito janela = new JanelaCadastroCrédito();
     janela.AbrirParaCadastro(Pessoa);
     janela.ShowDialog(this);
     AoExibir();
 }
예제 #2
0
 private void lstCréditos_DoubleClick(object sender, EventArgs e)
 {
     if (lstCréditos.SelectedItems.Count > 0) 
     {
         JanelaCadastroCrédito janela = new JanelaCadastroCrédito();
         janela.CarregarEntidade(hashCréditos[lstCréditos.SelectedItems[0]]);
         janela.ShowDialog(this);
         AoExibir();
     }
 }