示例#1
0
        private void editRuleFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (UsersCustomEditor == null || UsersCustomEditor.IsDisposed)
            {
                UsersCustomEditor = new RuleEditor();
            }


            UsersCustomEditor.Show();
        }
示例#2
0
 /// <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();
 }