Beispiel #1
0
        private void EditCheat()
        {
            var newCheat = CheatEditor.GetCheat();

            if (!newCheat.IsSeparator)             // If a separator comes from the cheat editor something must have been invalid
            {
                MainForm.CheatList.Exchange(CheatEditor.OriginalCheat, newCheat);
                GeneralUpdate();
                UpdateMessageLabel();
            }
        }
Beispiel #2
0
 private void AddCheat()
 {
     MainForm.CheatList.Add(CheatEditor.GetCheat());
     GeneralUpdate();
     UpdateMessageLabel();
 }
Beispiel #3
0
 private void AddCheat()
 {
     Global.CheatList.Add(CheatEditor.GetCheat());
     UpdateDialog();
     UpdateMessageLabel();
 }