Example #1
0
 public App()
 {
     splashScreen = new SplashScreen(@"Resources\Image\SplashScreen.png");
     splashScreen.Show(false, true);
     InitializeComponent();
     SpecialValueManager.Initialize();
     ValueCommentManager.Initialize();
     ValueAliasManager.Initialize();
     SettingManager.Load();
     if (GlobalSetting.IsOpenLSetting && GlobalSetting.LanagArea != string.Empty)
     {
         Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(GlobalSetting.LanagArea);
     }
     Exit    += App_Exit;
     Startup += App_Startup;
     DispatcherUnhandledException += App_DispatcherUnhandledException;
 }