Esempio n. 1
0
 public ModulosDesktop(ModoForm modo, int ID) : this()
 {
     Text = modo.ToString();
     if (modo == ModoForm.Baja)
     {
         txtDescripcion.ReadOnly = true;
         txtEjecuta.ReadOnly     = true;
     }
     Modo = modo;;
     Business.Logic.ModulosLogic ml = new Business.Logic.ModulosLogic();
     ModulosActual = ml.GetOneId(ID);
     MapearDeDatos();
 }
Esempio n. 2
0
 public override void GuardarCambios()
 {
     MapearADatos();
     Business.Logic.ModulosLogic ul = new Business.Logic.ModulosLogic();
     ul.Save(ModulosActual);
 }