示例#1
0
        public RolePerms() : base(PageMode.ViewMode)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";

            VM = new RolePermsVM(0);
            VM.Load();
            BindData();
        }
示例#2
0
        public RolePerms(int roleId, PageMode pageMode)
            : base(pageMode)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";

            VM = new RolePermsVM(roleId);
            VM.Load();
            BindData();
        }