Example #1
0
        private void linkEdit_Click(object sender, EventArgs e)
        {
            Empleado     emp = MapearDeGrid();
            EditEmpleado ee  = new EditEmpleado();

            ee.MapearAFormulario(emp);
            ee.Show();
        }
Example #2
0
        private void linkNuevo_Click(object sender, EventArgs e)
        {
            Empleado emp = new Empleado();

            emp.Id = 0;
            EditEmpleado ee = new EditEmpleado();

            ee.MapearAFormulario(emp);
            ee.Show();
        }