CardIdleRemastered.App.LaunchCardIdle C# (CSharp) Метод

LaunchCardIdle() приватный Метод

private LaunchCardIdle ( object sender, System.Windows.StartupEventArgs e ) : void
sender object
e System.Windows.StartupEventArgs
Результат void
        private void LaunchCardIdle(object sender, StartupEventArgs e)
        {
            //Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");
            //Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("ru-Ru");

            // http://stackoverflow.com/questions/1472498/wpf-global-exception-handler
            // http://stackoverflow.com/a/1472562/1506454
            DispatcherUnhandledException += LogUnhandledDispatcherException;
            AppDomain.CurrentDomain.UnhandledException += LogUnhandledDomainException;
            TaskScheduler.UnobservedTaskException += LogTaskSchedulerUnobservedTaskException;

            Logger.Info(String.Format("{0} {1}bit", Environment.OSVersion, Environment.Is64BitOperatingSystem ? 64 : 32));

            LoadVisuals();

            _account = new AccountModel();
            var w = new BadgesWindow { DataContext = _account};
            w.Show();

            _account.InitSteamTimer();
            _account.LoadAccount();
        }