Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 public Guide(GuidePage guidePage)
     : this()
 {
     this.Topics.AddLast(guidePage);
 }