private void DeleteModButton_Click(object sender, RoutedEventArgs e)
        {
            string message = "Mod folders cannot be deleted directly in the app. To delete this mod, select a different mod in the combo box, open the output folder in explorer and delete it manually from the mods folder. After, to refresh the app click the reload mods button or you can just restart the app.:\n\n"
                             + XmlFileManager.Get_ModDirectoryOutputPath(LoadedModsCenterViewComboBox.Text);
            string title = "Delete Mod Help";

            MessageBox.Show(message, title, MessageBoxButton.OK, MessageBoxImage.Information);
        }
        private void SaveModInfo(string modNameToUse)
        {
            ModInfo newModIfo     = new ModInfo(ModInfoNameBox.Text, ModInfoDescriptionBox.Text, ModInfoAuthorBox.Text, ModInfoVersionBox.Text);
            string  modInfoXmlOut = newModIfo.ToString();

            ModInfo.CreateModInfoFile(modNameToUse);
            XmlFileManager.WriteStringToFile(XmlFileManager.Get_ModDirectoryOutputPath(modNameToUse), ModInfo.MOD_INFO_FILE_NAME, modInfoXmlOut);
            ResetModNameComboBoxes(modNameToUse);
            MessageBox.Show("Saved mod info for " + modNameToUse + ".", "Saving Mod info", MessageBoxButton.OK, MessageBoxImage.Information);
        }
        private void SaveModInfo(string modNameToUse)
        {
            ModInfo.CreateModInfoFile(modNameToUse);
            ResetModNameComboBoxes(modNameToUse);
            ModInfo newModIfo     = new ModInfo(ModInfoNameBox.Text, ModInfoDescriptionBox.Text, ModInfoAuthorBox.Text, ModInfoVersionBox.Text);
            string  modInfoXmlOut = newModIfo.ToString();
            bool    didSucceed    = XmlFileManager.WriteStringToFile(XmlFileManager.Get_ModDirectoryOutputPath(modNameToUse), ModInfo.MOD_INFO_FILE_NAME, modInfoXmlOut);

            if (didSucceed)
            {
                MessageBox.Show("Saved mod info for " + modNameToUse + ".", "Saving Mod info", MessageBoxButton.OK, MessageBoxImage.Information);
                ResetModNameComboBoxes(modNameToUse);
            }
            else
            {
                MessageBox.Show("Created new mod, with empty. Simply reselecting the mod in the combo box above may fix the issue. Alternatively, select another mod and reselect the mod you would like to edit.",
                                "Save Mod Info Failed", MessageBoxButton.OK, MessageBoxImage.Error);
                ResetModNameComboBoxes(modNameToUse);
            }
        }