private void editRuleFileToolStripMenuItem_Click(object sender, EventArgs e) { if (UsersCustomEditor == null || UsersCustomEditor.IsDisposed) { UsersCustomEditor = new RuleEditor(); } UsersCustomEditor.Show(); }
/// <summary> /// Editing Nouns from the Editor /// </summary> private void editNounListToolStripMenuItem_Click(object sender, EventArgs e) { if (pr == null) { pr = new PostProcessor(RuleFileName, VerbListFileName, NounListFileName, AdjectiveListFileName, PronounListFileName, UsersCustomFileName); } if (nounEditor == null || nounEditor.IsDisposed) { nounEditor = new RuleEditor(); } nounEditor.SetFileName(NounListFileName); nounEditor.Show(); }