Пример #1
0
        public RoleDetail(PageMode pageMode) : base(pageMode, Properties.Resources.Role)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";
            VM = new RoleDetailVM();

            BindData();
        }
Пример #2
0
        public RoleDetail(int roleId)
            : base(PageMode.ViewMode, Properties.Resources.Role)
        {
            InitializeComponent();
            ModuleName = "RoleSetting";
            VM = new RoleDetailVM(roleId);

            BindData();
        }