BusinessCats.App.OnStartup C# (CSharp) Метод

OnStartup() защищенный Метод

protected OnStartup ( System.Windows.StartupEventArgs e ) : void
e System.Windows.StartupEventArgs
Результат void
        protected override void OnStartup(StartupEventArgs e)
        {
            var themeName = BusinessCats.Properties.Settings.Default.ThemeName;

            var appTheme = ThemeManager.GetAppTheme(themeName);
            if (appTheme != null)
            {
                ThemeManager.ChangeAppStyle(Application.Current,
                                            ThemeManager.GetAccent("Blue"),
                                            appTheme);
            }

            base.OnStartup(e);
        }