Exemple #1
0
 public AddTopic(ListOfTopic listTopic, TopicModifier topicModifier)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.listTopic     = listTopic;
     this.topicModifier = topicModifier;
 }
Exemple #2
0
 private static void LoadData()
 {
     using (Stream input = File.OpenRead("Data.dat"))
     {
         BinaryFormatter formatter = new BinaryFormatter();
         listOfTopic = (ListOfTopic)formatter.Deserialize(input);
     }
 }
Exemple #3
0
 public void Update(ListOfTopic listTopic, TopicModifier topicModifier)
 {
     this.textBox1.Text = "";
     this.listTopic     = listTopic;
     this.topicModifier = topicModifier;
 }