Пример #1
0
        private void btnfind_Click(object sender, EventArgs e)
        {
            StringComparison sc;

            if (chbmatchcase.Checked)
            {
                sc = StringComparison.Ordinal;
            }
            else
            {
                sc = StringComparison.OrdinalIgnoreCase;
            }
            frmgeneral.generalFind(txtfind.Text, false, rdodown.Checked, sc);
            frmgeneral.setSearchVariablesFindForm(txtfind.Text, rdodown.Checked, sc);
        }
Пример #2
0
        private void btnfindnext_Click(object sender, EventArgs e)
        {
            StringComparison sc;

            if (chbmatchcase.Checked)
            {
                sc = StringComparison.Ordinal;
            }
            else
            {
                sc = StringComparison.OrdinalIgnoreCase;
            }
            frmgeneral.generalFind(txtfindwhat.Text, true, true, sc);
            frmgeneral.setSearchVariablesReplaceForm(txtfindwhat.Text, txtreplacewith.Text, sc);
        }