private void ResetScoreButton_Click(object sender, EventArgs e) { ResetScores(); SetScoretextBox1.Clear(); SetScoretextBox2.Clear(); GameScoretextBox1.Clear(); GameScoretextBox2.Clear(); Gm.SetScoreLabel1.Text = SetScore1.ToString(); Gm.SetScoreLabel2.Text = SetScore2.ToString(); Gm.HomePlayerScroreLabel.Text = GameScore1.ToString(); Gm.AwayPlayerScoreLabel.Text = GameScore2.ToString(); EXradioButtonNo1.Checked = true; EXradioButtonNo2.Checked = true; HomePlayertextbox.Focus(); }
private void GameScoreDecBtn1_Click(object sender, EventArgs e) { GameScore2 = GameScore2 - i; GameScoretextBox2.Text = GameScore2.ToString(); Gm.AwayPlayerScoreLabel.Text = GameScore2.ToString(); }