public static void DoResetApp() { Patched = new Dictionary <string, patchedEntry>(); MCC_version = GetCurrentBuild(); SaveCfg(); MyMods.LoadModpacks(); if (!Backups.DeleteAll(true)) { Utility.ShowMsg("There was an issue deleting at least one backup. Please delete these in the Backups tab to avoid restoring an old " + "version of the file in the future.", "Error"); } Backups.LoadBackups(); }
public static void DelAllBaksBtn_Click(object sender, EventArgs e) { Backups.DeleteAll(false); }