示例#1
0
        private void btReplaceAll_Click(object sender, EventArgs e)
        {
            MainForm form = (MainForm)this.Owner;

            TextWork.ReplaceAllText(form.notebox, tbFind.Text, tbReplace.Text, CheckReg(tbReg));
        }
示例#2
0
 private void notebox_TextChanged(object sender, EventArgs e)
 {
     tbChange = true;
     MainForm.ActiveForm.Text = string.Format("*{0} — {1}", FileWork.docName, FileWork.programmName);
     TextWork.Status(notebox, ref statusWordsCount, ref statusSymbolsCount);
 }
示例#3
0
        private void btFind_Click(object sender, EventArgs e)
        {
            MainForm form = (MainForm)this.Owner;

            TextWork.FindText(form.notebox, tbFind.Text, ref passedTextLength, CheckReg(tbReg));
        }