public void OpenFindForm() { string word = _scintillaControl.zGetCurrentWord(); if (word != null) { _findForm.SetText(word); } _findForm.Show(_parentForm); //_findForm.IsDisposed; //_findForm.ShowDialog(); }
public void OpenFindForm() { string text = _scintillaControl.SelectedText; if (text == "") { text = _scintillaControl.zGetCurrentWord(); } if (text != null && text != "") { _findForm.SetText(text); } _findForm.Show(_parentForm); }