Beispiel #1
0
 private void DoSelectedIndexChange()
 {
     if (SelectedCheats.Any())
     {
         var cheat = SelectedCheats.First();
         CheatEditor.SetCheat(cheat);
         CheatGroupBox.Text = $"Editing Cheat {cheat.Name} - {cheat.AddressStr}";
     }
     else
     {
         CheatEditor.ClearForm();
         CheatGroupBox.Text = "New Cheat";
     }
 }
Beispiel #2
0
 private void DoSelectedIndexChange()
 {
     if (!CheatListView.SelectAllInProgress)
     {
         if (SelectedCheats.Any())
         {
             var cheat = SelectedCheats.First();
             CheatEditor.SetCheat(cheat);
             CheatGroupBox.Text = "Editing Cheat " + cheat.Name + " - " + cheat.AddressStr;
         }
         else
         {
             CheatEditor.ClearForm();
             CheatGroupBox.Text = "New Cheat";
         }
     }
 }