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