/// <summary> /// The ManageTopics /// </summary> private void ManageTopics() { var topicsDialog = new TopicsDialog(Corpus.Topics); if (topicsDialog.ShowDialog().Equals(DialogResult.OK)) { Corpus.Topics = topicsDialog.Topics; } }
/// <summary> /// The button4_Click /// </summary> /// <param name="sender">The sender<see cref="object"/></param> /// <param name="e">The e<see cref="EventArgs"/></param> private void button4_Click(object sender, EventArgs e) { var d = new TopicsDialog(Topics); if (d.ShowDialog().Equals(DialogResult.OK)) { Topics = d.Topics; PopulateTopicsListView(Topics); changeDetector1.Changed = true; } }