예제 #1
0
        protected void Application_Start()
        {
            WebApiConfig.Register(GlobalConfiguration.Configuration);
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            //系统字典数据初始化
            DictionaryData.InitailDictionaryData();
            //读取主题文件
            ThemeConfig.ThemesInitialization();
            UIManager.Current = UIManager.Create().DarkSourceUrl().LightSourceUrl();
            UIManager.CtrlsInitialization(UIManager.Current);
        }