private void linkEdit_Click(object sender, EventArgs e) { Empleado emp = MapearDeGrid(); EditEmpleado ee = new EditEmpleado(); ee.MapearAFormulario(emp); ee.Show(); }
private void linkNuevo_Click(object sender, EventArgs e) { Empleado emp = new Empleado(); emp.Id = 0; EditEmpleado ee = new EditEmpleado(); ee.MapearAFormulario(emp); ee.Show(); }