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();
        }
        public frmAsignarVistasRol(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.pEntidadRolVista = new clsEntidadRolesVistas();

            this.clRolVista = new clsRolVista();
            this.clVistas   = new clsVistas();

            InitializeComponent();
        }