예제 #1
0
파일: Cheats.cs 프로젝트: konkers/BizHawk
        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();
            }
        }
예제 #2
0
파일: Cheats.cs 프로젝트: konkers/BizHawk
 private void AddCheat()
 {
     MainForm.CheatList.Add(CheatEditor.GetCheat());
     GeneralUpdate();
     UpdateMessageLabel();
 }
예제 #3
0
파일: Cheats.cs 프로젝트: sornerol/BizHawk
 private void AddCheat()
 {
     Global.CheatList.Add(CheatEditor.GetCheat());
     UpdateDialog();
     UpdateMessageLabel();
 }