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 GameScoreDecBtn_Click(object sender, EventArgs e) { GameScore1 = GameScore1 - i; GameScoretextBox1.Text = GameScore1.ToString(); Gm.HomePlayerScroreLabel.Text = GameScore1.ToString(); }