Exemple #1
0
        private void button7_Click(object sender, EventArgs e)
        {
            shopSelectedGame.reviewScore = (shopSelectedGame.reviewsAmount++ *shopSelectedGame.reviewScore + trackBar1.Value) /
                                           shopSelectedGame.reviewsAmount;

            button7.Enabled = false;
            textBox3.Text   = shopSelectedGame.reviewScore.ToString();

            SQLManager.UpdateReview(shopSelectedGame);
        }