Example #1
0
        public static void UpdateBackupInfoFile(BackupSave update)
        {
            string       saveInfoPath = Path.Combine(FileManager.backupSavePath, update.saveName, "saveInfo.savinf");
            StreamWriter sw           = File.CreateText(saveInfoPath);

            sw.Write(update.saveName);
            sw.Close();
        }
        public static void UpdateBackupProperties()
        {
            if (MainWindow.mainForm.backupSlotList.SelectedItem == null)
            {
                return;
            }

            BackupSave selectedSave = (BackupSave)MainWindow.mainForm.backupSlotList.SelectedItem;

            MainWindow.mainForm.backupSaveNameInput.Text = selectedSave.saveName;
        }