예제 #1
0
 public void Find()
 {
     if (start > 0)
     {
         start = txtBox.Text.IndexOf(a.getFindText(), start);
     }
     if (prestart[index] != start)
     {
         prestart[index] = start;
         if (index < 999)
         {
             ++index;
         }
     }
     if (start >= 0)
     {
         txtBox.SelectionStart  = start;
         txtBox.SelectionLength = a.getFindText().Length;
         ++start;
     }
 }