Esempio n. 1
0
        private void UpdateGameDataLibraryBox(string gameTitle)
        {
            Game game = SQLManager.GetGame(gameTitle);

            richTextBox2.Text = game.description;
            textBox8.Text     = game.releaseDate;
            textBox6.Text     = game.reviewScore.ToString();

            textBox5.Text = SQLManager.GetState(game.SID);
        }
Esempio n. 2
0
        private void UpdateGameDataBox(string gameTitle)
        {
            label1.Text = gameTitle;

            Game game = SQLManager.GetGame(gameTitle);

            richTextBox1.Text = game.description;
            textBox1.Text     = game.releaseDate;
            textBox3.Text     = game.reviewScore.ToString();
            label6.Text       = "Price: " + game.price.ToString() + "$";

            Publisher publisher = SQLManager.GetPublisher(game.PID);

            textBox2.Text     = publisher.publisherName;
            richTextBox4.Text = publisher.description;

            textBox4.Text = SQLManager.GetState(game.SID);

            richTextBox3.Text = SQLManager.GetTags(game.GID);

            shopSelectedGame = game;
        }