コード例 #1
0
        protected override void RegisterModules()
        {
            //Uncomment to use local ext resources
            //RegisterModule("client/lib/ext", new DextopExtJSModule
            //{
            //    CssThemeSuffix = "-gray"
            //});

            //RegisterModule("client/lib/ext/examples", new ExtJSDataViewModule());

            RegisterModule("http://cdn.sencha.io/ext-4.1.1-gpl", new DextopExtJSModule
            {
                CssThemeSuffix = "-gray",
                UsingExternalResources = true
            });

            RegisterModule("http://cdn.sencha.io/ext-4.1.1-gpl/examples", new ExtJSDataViewModule
            {
                UsingExternalResources = true
            });

            RegisterModule("client/lib/dextop", new DextopCoreModule());

            var soundModule = new DextopSoundModule();
            soundModule.AddSound("error", "client/sound/notify.mp3");
            RegisterModule("client/lib/sound", soundModule);

            RegisterModule("", new ShowcaseApplicationModule());
        }
コード例 #2
0
        protected override void RegisterModules()
        {
            RegisterModule("client/lib/ext", new DextopExtJSModule { CssThemeSuffix = "-gray" });
            RegisterModule("client/lib/ext/examples", new ExtJSDataViewModule());
            RegisterModule("client/lib/dextop", new DextopCoreModule());

            var soundModule = new DextopSoundModule();
            soundModule.AddSound("error", "client/sound/notify.mp3");
            RegisterModule("client/lib/sound", soundModule);

            RegisterModule("", new ShowcaseApplicationModule());
        }