private void buttonFind_Click(object sender, EventArgs e) { if (Editor.MainDock.ActiveDocumentPane != null) Windows.ScriptSearchForm.Show(Editor.MainDock.ActiveDocument.DockHandler.DockPanel); else Editor.Show(Windows.ScriptSearchForm); }