예제 #1
0
        public static void Startup()
        {
            CultureInfo.DefaultThreadCurrentCulture   = new CultureInfo("en-US");
            CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("en-US");

            UserConfigService.Load();

            if (UserConfigService.Encrypted)
            {
                EncryptionService.Unlock();
            }

            AlertService.Load();

            if (!UserConfigService.TutorialCompleted)
            {
                using (Tutorial form = new Tutorial())
                    form.ShowDialog();
            }
        }
예제 #2
0
 public static void Reset()
 {
     UserConfigService.Delete();
     AlertService.Delete();
     PortfolioService.DeleteAll();
 }