예제 #1
0
 public DestinatarioPickerForm(NovaTrocaForm formNovaTroca)
 {
     InitializeComponent();
     idDest        = -1;
     novaTrocaForm = formNovaTroca;
     dataGridViewContatos.AutoGenerateColumns = true;
     dataGridViewContatos.DataSource          = destinatarios;
 }
예제 #2
0
 private void ButtonNova_Click(object sender, EventArgs e)
 {
     if ((CadernetaModelo)ComboBoxCadernetas.SelectedItem != null)
     {
         this.Hide();
         NovaTrocaForm formNova = new NovaTrocaForm(this, ((CadernetaModelo)ComboBoxCadernetas.SelectedItem));
         formNova.Show();
         this.Hide();
     }
 }