Пример #1
0
 public AddTopic(ListOfTopic listTopic, TopicModifier topicModifier)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.listTopic     = listTopic;
     this.topicModifier = topicModifier;
 }
Пример #2
0
 public AddContent(TopicModifier topicModifier, string topicName)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.topicModSender = topicModifier;
     this.topicName      = topicName;
 }
Пример #3
0
 public void Update(string topic, TopicModifier topicMod)
 {
     this.topic    = topic;
     topicModifier = topicMod;
     thisTopic     = Program.ListOfTopic.FindTopic(topic);
     lbTopic.Text  = "Topic : " + topic;
     lBxProblem.Items.Clear();
     thisTopic.AddProblemNameToListBox(lBxProblem);
 }
Пример #4
0
 private void btnTopic_Click(object sender, EventArgs e)
 {
     TopicModifier = new TopicModifier();
     this.Hide();
     TopicModifier.Show();
 }
Пример #5
0
 public void Update(ListOfTopic listTopic, TopicModifier topicModifier)
 {
     this.textBox1.Text = "";
     this.listTopic     = listTopic;
     this.topicModifier = topicModifier;
 }
Пример #6
0
 public ShowTopic(string topic, TopicModifier topicMod)
 {
     InitializeComponent();
     this.topic    = topic;
     topicModifier = topicMod;
 }