示例#1
0
 /// <summary>
 /// Finds the specified text in the current report.
 /// </summary>
 /// <param name="text">Text to find.</param>
 /// <param name="matchCase">A value indicating whether the search is case-sensitive.</param>
 /// <param name="wholeWord">A value indicating whether the search matches whole words only.</param>
 /// <returns><b>true</b> if text found.</returns>
 public bool Find(string text, bool matchCase, bool wholeWord)
 {
     if (CurrentPreview == null)
     {
         return(false);
     }
     return(CurrentPreview.Find(text, matchCase, wholeWord));
 }
示例#2
0
 /// <summary>
 /// Finds the text in the current report using the "Find Text" dialog.
 /// </summary>
 public void Find()
 {
     if (CurrentPreview == null)
     {
         return;
     }
     CurrentPreview.Find();
 }