private void Guide_Load(object sender, EventArgs e) { comboBoxTopic.Items.Clear(); if (Topics.Count == 0) { Topics.AddLast(new FirstStartupGP()); } foreach (var topic in Topics) { comboBoxTopic.Items.Add(topic); topic.UserGuidePageAction += topic_UserGuideAction; } comboBoxTopic.SelectedItem = Topics.FirstOrDefault(); CurrentTopic = Topics.FirstOrDefault(); }
public Guide(GuidePage guidePage) : this() { this.Topics.AddLast(guidePage); }