コード例 #1
0
ファイル: Form1.cs プロジェクト: mattj241/YahtzeeGame
 private void Form1_Load(object sender, EventArgs e)
 {
     Bonus_label.Hide();
     Roll_button_Click(sender, e);
     MessageBox.Show("Insructions:\n Click on the scores to the right to submit your score and end the round!" +
                     "\n**Note: You are automatically given your first roll.");
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: mattj241/YahtzeeGame
 private void checkForBonus()
 {
     if (upperTotal >= 63)
     {
         newGame.addBonus();
         Bonus_label.Show();
     }
 }