Ejemplo n.º 1
0
 private void findNext1_Click(object sender, EventArgs e)
 {
     if (!htmEdit1.Search(textBox1.Text, true, matchWholeWord1.Checked, matchCase1.Checked))
     {
         tips1.Visible = true;
         icon1.Visible = true;
         tips1.Text    = "未找到匹配项";
     }
     else
     {
         tips1.Visible = false;
         icon1.Visible = false;
     }
 }
Ejemplo n.º 2
0
 private void SearchDialog_Load(object sender, EventArgs e)
 {
     findText1.Text = htmEdit1.SelectionText;
     htmEdit1.Search(findText1.Text, false, matchWholeWord1.Checked, matchCase1.Checked);
 }