示例#1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            Args = e.Args;

            SplashScreen = new SplashScreen("Resources/Images/splash.png");

#if !DEBUG
              SplashScreen.Show(true, true);
#endif

            ThemeHelper.SetTheme("classic", "");

            MediaViewerBootstrapper bootstrapper = new MediaViewerBootstrapper();
            bootstrapper.Run();                     

            AutoMapperSetup.Run();
        }
示例#2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            Args = e.Args;

            SplashScreen = new SplashScreen("Resources/Images/splash.png");

#if !DEBUG
            SplashScreen.Show(true, true);
#endif

            ThemeHelper.SetTheme("classic", "");

            MediaViewerBootstrapper bootstrapper = new MediaViewerBootstrapper();
            bootstrapper.Run();

            AutoMapperSetup.Run();
        }