//------------------------------------------------------------------------------ private void butSearch_Click(object sender, RoutedEventArgs e) { // ttrace.WinTrace.GotoBookmark(1); // second bookmark, noted [1] // ttrace.WinTrace.clearBookmark() ; // ttrace.WinTrace.GotoFirstNode() ; // ttrace.WinTrace.GotoLastNode() ; // TTrace.Find just set the criterias and hightlight if asked, but don't move to the next matching node. TTrace.Find("StRinG", false, true, true, true);// {Sensitive}{WholeWord}{Highlight}{SearchInAllPages} // from the current node : go to the next item matching criteria. Call ttrace.WinTrace.GotoFirstNode() before FindNext to start search from first node TTrace.WinTrace.FindNext(true); //{SearForward} }