private void 查找_Click(object sender, EventArgs e) { frmFindAndReplace dlgFind = new frmFindAndReplace(this); dlgFind.FindStr = _findStr; dlgFind.FindOption = _findOption; dlgFind.Editor = this; dlgFind.Show(); }
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(); }