/// <summary> /// Import selected file /// </summary> /// <param name="file">The save file that was selected</param> private void DoFileInteraction(string file) { SelectedFile = file; SaveFileHandler.ImportMods(file); Page_ModsConfig_Controller.SetStatus("Status_Message_Imported".Translate()); this.Close(true); }
internal static void RestoreModList(int Modlist) { if (!ModListIsSet(Modlist)) { Page_ModsConfig_Controller.SetStatus("Status_Message_Null".Translate()); } else { LoadModList(Modlist); Page_ModsConfig_Controller.SetStatus("Status_Message_Restore".Translate()); } }