Exemplo n.º 1
0
        private void 查找_Click(object sender, EventArgs e)
        {
            frmFindAndReplace dlgFind = new frmFindAndReplace(this);

            dlgFind.FindStr    = _findStr;
            dlgFind.FindOption = _findOption;
            dlgFind.Editor     = this;
            dlgFind.Show();
        }
Exemplo n.º 2
0
        private void 替换_Click(object sender, EventArgs e)
        {
            frmFindAndReplace dlgReplace = new frmFindAndReplace(this);

            dlgReplace.FindStr    = _findStr;
            dlgReplace.ReplaceStr = _replaceStr;
            dlgReplace.FindOption = _findOption;
            dlgReplace.Editor     = this;
            //dlgReplace.SetFindOrReplace(false);
            dlgReplace.Show();
        }