示例#1
0
 private void searchCommandToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_searchCommandWindow == null)
     {
         _searchCommandWindow             = new SearchCommandWindow(ScriptFile);
         _searchCommandWindow.FormClosed += _searchCommandWindow_FormClosed;
     }
     _searchCommandWindow.Show();
 }
示例#2
0
 private void _searchCommandWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     _searchCommandWindow = null;
 }