public void LoadAll() { if (!Plugins.IsLoaded || (Plugins.WasLastLoadAdvanced != SettingsForm.AdvancedMode)) { Plugins.ClearLoadedPlugins(); Plugins.IsLoaded = true; Plugins.EnumeratePlugins(); Plugins.LoadPlugins(); } loadedPlugins.Clear(); foreach (ItemTag tag in Plugins.LoadedPlugins) { loadedPlugins.Add(tag); } LoadSettings(); }
public void LoadAll() { if (!Plugins.IsLoaded || (Plugins.WasLastLoadAdvanced != SettingsForm.AdvancedMode)) { Plugins.ClearLoadedPlugins(); Plugins.IsLoaded = true; Plugins.EnumeratePlugins(); Plugins.LoadPlugins(); pluginsLoadedOnPage = false; } if (!pluginsLoadedOnPage) { listViewPlugins.Items.Clear(); foreach (ItemTag tag in Plugins.LoadedPlugins) { LoadPluginImages(tag.expType, tag); } LoadSettings(); PopulateListView(); pluginsLoadedOnPage = true; listViewPlugins.Sorting = SortOrder.Ascending; } }