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(); } }
public static void Reset() { UserConfigService.Delete(); AlertService.Delete(); PortfolioService.DeleteAll(); }