private void DgvClientes_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id = int.Parse(dgvClientes.Rows[e.RowIndex].Cells[0].Value.ToString()); var frm = new FrmCliente(id); frm.ShowDialog(); ListarClientes(); }