Esempio n. 1
0
        public void SetDetails(clsGenre prGenre)
        {
            _Genre = prGenre;
            UpdateDisplay(prGenre);

            if (!this.Enabled)
            {
                ShowDialog();
            }
        }
Esempio n. 2
0
        private void UpdateDisplay(clsGenre prGenre)
        {
            lstGames.DataSource = null;
            if (_Genre.GameList != null)
            {
                lstGames.DataSource = prGenre.GameList;
            }

            this.Text         = string.Format("Admin - {0} Games", prGenre.GenreName);
            lblSubGenres.Text = string.Format("Sub Genres: {0}", prGenre.SubGenres);
        }