private void reloadArchiveToolStripMenuItem_Click(object sender, EventArgs e) { ModInfo selMod = GetSelectedMod(); if (!selMod) { return; } ModCache.ReCheckMods(new ModInfo[] { selMod }); RefreshListView(); RefreshTreeView(); }
private void buttonRescanInstall_Click(object sender, EventArgs e) { buttonRescanInstall.Text = Language.GetLanguageText("Scanning..."); buttonRescanInstall.Refresh(); ModCache.ReCheckMods(modsData.modInfos); foreach (var mod in modsData.modInfos) { mod.CheckIfInstalled(); } buttonRescanInstall.Text = Language.GetLanguageText("Re-Scan Installations"); SaveData(); olvModList.Refresh(); RefreshTreeView(); }