public static void RefreshEverything() { using (new ProfileSection("Refresh everything")) { CacheManager.ClearAll(); MainWindowHelper.RefreshInstaller(); MainWindowHelper.RefreshInstances(); } }
public static void Initialize() { using (new ProfileSection("Initialize main window")) { if (WindowsSettings.AppUiMainWindowWidth.Value > 0) { double d = WindowsSettings.AppUiMainWindowWidth.Value; MainWindow.Instance.MaxWidth = Screen.PrimaryScreen.Bounds.Width; MainWindow.Instance.Width = d; } MainWindowHelper.RefreshInstances(); MainWindowHelper.RefreshInstaller(); } }
public static void Initialize() { using (new ProfileSection("Initialize main window", typeof(MainWindowHelper))) { if (WindowsSettings.AppUiMainWindowWidth.Value > 0) { double d = WindowsSettings.AppUiMainWindowWidth.Value; MainWindow.Instance.MaxWidth = Screen.PrimaryScreen.Bounds.Width; MainWindow.Instance.Width = d; } MainWindowHelper.RefreshInstances(); PluginManager.ExecuteMainWindowLoadedProcessors(MainWindow.Instance); MainWindowHelper.RefreshInstaller(); } }