private void StartApplication() { _shell = CompositionManager.Get<IShell>(); ViewModel = CompositionManager.Get<AppViewModel>(); var accounts = CompositionManager.Get<IAccountSettingsProvider>(); var columns = CompositionManager.Get<IColumnsSettingsProvider>(); var applicationSettings = CompositionManager.Get<IApplicationSettingsProvider>(); var scriptingManager = CompositionManager.Get<IScriptingManager>(); scriptingManager.Start(); try { if (applicationSettings.StyleFontSize > 0) ChangeSize("DefaultFontSize", applicationSettings.StyleFontSize); } catch (Exception ex) { CompositionManager.Get<IExceptionReporter>().ReportHandledException(ex); } if (accounts.MicroblogCredentials.Any()) { ViewModel.LoadMicroblogs(); ViewModel.LoadStreams(); ViewModel.LoadSavedSearches(); ViewModel.LoadUrlshorteners(); ViewModel.LoadStatusHandlers(); } else { ViewModel.ShowSetupWindow(); ViewModel.LoadDefaultStream(); } _shell.Start(); OnLoadCompleted(null); }