Beispiel #1
0
 private void searchForm_FormClosed(object sender, FormClosedEventArgs e)
 {
   searchForm = null;
   spellsToolStripMenuItem.Enabled = true;
 }
Beispiel #2
0
 private void findToolStripMenuItem_Click(object sender, EventArgs e)
 {
   if (searchForm != null)
   {
     searchForm.Focus();
   }
   else
   {
     spellsToolStripMenuItem.Enabled = false;
     searchForm = new SearchForm(PluginTree);
     searchForm.FormClosed += searchForm_FormClosed;
     searchForm.Show();
   }
 }