예제 #1
0
 private void CFindDialogExecute(object sender, ExecutedRoutedEventArgs e)
 {
     if (_findDialog == null || !_findDialog.IsLoaded || !_findDialog.IsVisible)
     {
         _findDialog       = new FindDialog(this);
         _findDialog.Owner = this;
         searchtextoffset  = 0;
         _findDialog.Show();
     }
     else
     {
         _findDialog.SearchNext();
     }
 }
예제 #2
0
 private void CFindDialogExecute(object sender, ExecutedRoutedEventArgs e)
 {
     if (_findDialog == null || !_findDialog.IsLoaded || !_findDialog.IsVisible)
     {
         _findDialog = new FindDialog(this);
         _findDialog.Owner = this;
         searchtextoffset = 0;
         _findDialog.Show();
     }
     else
     {
         _findDialog.SearchNext();
     }
 }