Exemple #1
0
        private bool Replace()
        {
            SearchReplace sr = new SearchReplace(editSet);

            return(sr.Find(findTextBox.Text, replaceTextBox.Text, matchCaseCheckBox.Checked,
                           matchWholeWordCheckBox.Checked, searchUpCheckBox.Checked, regExCheckBox.Checked));
        }
Exemple #2
0
        private void FindClick(object sender, System.EventArgs e)
        {
            SearchReplace sr = new SearchReplace(editSet);

            sr.Find(findTextBox.Text, null, matchCaseCheckBox.Checked,
                    matchWholeWordCheckBox.Checked,
                    searchUpCheckBox.Checked,
                    regExCheckBox.Checked);
        }