VixenModules.App.SuperScheduler.SetupScheduleForm.PopulateShowList C# (CSharp) Méthode

PopulateShowList() public méthode

public PopulateShowList ( System.Guid showID ) : void
showID System.Guid
Résultat void
        public void PopulateShowList(Guid showID)
        {
            foreach (Shows.Show show in Shows.ShowsData.ShowList)
            {
                Common.Controls.ComboBoxItem item = new Common.Controls.ComboBoxItem(show.Name, show);
                comboBoxShow.Items.Add(item);
                if (show.ID == showID)
                {
                    comboBoxShow.SelectedItem = item;
                }
            }
        }