Example #1
0
        private void btnAddTel2_Click(object sender, EventArgs e)
        {
            FrmNovo frmNovo = new FrmNovo();

            frmNovo.ShowDialog();
            ObterTodosContatos();
        }
Example #2
0
        private void dgvContatos_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var     contatoView = ObterContatoSelecionado();
            FrmNovo frmNovo     = new FrmNovo(contatoView.IdContato, contatoDominio);

            frmNovo.ShowDialog();
        }