示例#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;
 }