private void dtEmpleados_CellDoubleClick_1(object sender, DataGridViewCellEventArgs e) { int dpiSelected = Convert.ToInt32(dtEmpleados.CurrentRow.Cells["DPI"].Value); EmpConceptos fm = new EmpConceptos(dpiSelected); fm.Show(); }
private void dtEmpleados_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int DPI = Convert.ToInt32(dtEmpleados.CurrentRow.Cells["DPI"].Value); EmpConceptos emp = new EmpConceptos(DPI); emp.Show(); }