コード例 #1
0
        private void ResetPriestScore(HSCounter hsc)
        {
            Priest priest = new Priest();

            DialogResult priestDialogResult = MessageBox.Show("Are you sure that you want to reset your priest score to 0?", "Reset Priest Score", MessageBoxButtons.YesNo);
            if (priestDialogResult == DialogResult.Yes)
            {
                priest.ResetButton_Clicked(hsc);
            }
        }
コード例 #2
0
        private void AddPriestLosses(int losses)
        {
            Priest priest = new Priest();

            priest.AddLosses(losses, hsc);
        }
コード例 #3
0
        private void AddPriestWins(int wins)
        {
            Priest priest = new Priest();

            priest.AddWins(wins, hsc);
        }