Пример #1
0
        //Make the game be owned

/*        internal void beOwned()
 *      {
 *          Owned = true;
 *          initiateGamePage();
 *      }*/

        private void chekGameInfo()
        {
            if (FAM.checkGameInfo(RegisteredGame))
            {
                this.GameDescriptionBox.DataSource        = FAM.getGameDescription(RegisteredGame);
                this.GamePictureBox.BackgroundImage       = FAM.getGameImage(RegisteredGame);
                this.GamePictureBox.BackgroundImageLayout = ImageLayout.Stretch;
            }
            else
            {
                FAM.generateGameInfo(RegisteredGame);
                this.GameDescriptionBox.DataSource        = FAM.getGameDescription(RegisteredGame);
                this.GamePictureBox.BackgroundImage       = FAM.getGameImage(RegisteredGame);
                this.GamePictureBox.BackgroundImageLayout = ImageLayout.Stretch;
            }
        }