예제 #1
0
 public void WriteSummary()
 {
     DetailsTextBox.ClearContent();
     DetailsTextBox.WriteLine(Text.LevelBackupsCount);
     DetailsTextBox.WriteLine(backedUpLevels.Length.ToString());
     DetailsTextBox.WriteLine();
     DetailsTextBox.WriteLine(Text.ScriptBackupsCount);
     DetailsTextBox.WriteLine(backedUpScripts.Length.ToString());
 }
예제 #2
0
 public void WriteSummary()
 {
     DetailsTextBox.ClearContent();
     DetailsTextBox.WriteLine(Text.SaveManagerWindowCurrentSave);
     DetailsTextBox.WriteLine(currentSavedMapName);
     DetailsTextBox.WriteLine();
     DetailsTextBox.WriteLine(Text.SaveManagerWindowBackupsCount);
     DetailsTextBox.WriteLine(backedUpSaves.Count.ToString());
     DetailsTextBox.WriteLine();
     DetailsTextBox.WriteLine(Text.SaveManagerWindowAutoBackupStatus);
     DetailsTextBox.WriteLine(Program.manageSaves ? Text.Enabled : Text.Disabled);
 }
예제 #3
0
 private void MapListSelectionChanged(object Sender, GUI.SelectionChangedEventArgs eventArgs)
 {
     if (ignoreNextSelectionChangedEvent)
     {
         ignoreNextSelectionChangedEvent = false;
     }
     else
     {
         if (eventArgs.SelectedItemIndex <= 2)
         {
             DetailsTextBox.ClearContent();
         }
         else
         {
             Map map = ((GUI.SelectableMap)eventArgs.SelectedItem).Map;
             DetailsTextBox.WriteAllMapInfo(map);
             LogTextBox.WriteMapIssues(map);
         }
     }
 }