public frmModificarRolesVistas(clsConexion cone, string tipo)
        {
            materialSkinManager = MaterialSkinManager.Instance;
            materialSkinManager.AddFormToManage(this);
            materialSkinManager.Theme       = MaterialSkinManager.Themes.LIGHT;
            materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE);

            this.conexion = cone;

            this.clRolVista     = new clsRolVista();
            this.clUsuarioVista = new clsUsuarioVista();

            Tipo = tipo;

            InitializeComponent();
        }
Exemplo n.º 2
0
        public frmAsignarVistasUsuario(clsConexion cone, clsEntidadUsuario pEntidadUsuario, clsEntidadVista vista)
        {
            materialSkinManager = MaterialSkinManager.Instance;
            materialSkinManager.AddFormToManage(this);
            materialSkinManager.Theme       = MaterialSkinManager.Themes.LIGHT;
            materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE);

            this.conexion              = cone;
            this.pEntidadUsuario       = pEntidadUsuario;
            this.pEntidadVista         = vista;
            this.pEntidadUsuarioVistas = new clsEntidadUsuarioVistas();

            this.clUsuarioVistas = new clsUsuarioVista();
            this.clVistas        = new clsVistas();

            InitializeComponent();
        }