public ModuloUsuarioDesktop(ModoForm modo, int ID) : this() { Text = modo.ToString(); if (modo == ModoForm.Baja) { txtid_modulo.ReadOnly = true; txtid_usuario.ReadOnly = true; chkAlta.Enabled = false; chkBaja.Enabled = false; chkConsulta.Enabled = false; chkModificacion.Enabled = false; } Modo = modo;; Business.Logic.Modulos_usuariosLogic mul = new Business.Logic.Modulos_usuariosLogic(); try { ModuloUsuarioActual = mul.GetOne(ID); MapearDeDatos(); } catch (Exception Ex) { throw Ex; } }