예제 #1
0
        public void OpenFindForm()
        {
            string word = _scintillaControl.zGetCurrentWord();

            if (word != null)
            {
                _findForm.SetText(word);
            }
            _findForm.Show(_parentForm);
            //_findForm.IsDisposed;
            //_findForm.ShowDialog();
        }
예제 #2
0
        public void OpenFindForm()
        {
            string text = _scintillaControl.SelectedText;

            if (text == "")
            {
                text = _scintillaControl.zGetCurrentWord();
            }
            if (text != null && text != "")
            {
                _findForm.SetText(text);
            }
            _findForm.Show(_parentForm);
        }