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"; } }
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"; } } }