Exemple #1
0
        public TopicSet(int id)
        {
            InitializeComponent();
            SectionTexbox.Text    = id.ToString();
            SectionTexbox.Enabled = false;
            Topics top = new Topics
            {
                ID = 0
            };

            topics = DependencyFacade.GetArrayTopics(LoginPanel.TeacherID);
            for (int i = 0; i < topics.Length; i++)
            {
                TopicCombobox.Items.Add(topics[i].Title);
            }
            TopicCombobox.DropDownStyle = ComboBoxStyle.DropDownList;
            TopicCombobox.SelectedIndex = 0;
        }