예제 #1
0
        private void dgvClientes_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var tabela = (List <Customer>)dgvClientes.DataSource;
            var frm    = new frmClienteEditar();

            frm.CarregarCliente(tabela[e.RowIndex]);
            frm.ShowDialog();
        }
예제 #2
0
        private void btnNovoCliente_Click(object sender, EventArgs e)
        {
            frmClienteEditar frm = new frmClienteEditar();

            frm.ShowDialog();
        }