void findButton_Click(object sender, RoutedEventArgs e)
        {
            if (hitState != HitStates.NoFind)
            {
                Query = "";
                ViewModel.ResetHighlights();
                //ProcessResults(0);

                hitState = HitStates.NoFind;
                VisualStateManager.GoToState(this, hitState.ToString(), true);

                PART_FindTextBox.Focus();
            }
            else
            {
                ViewModel.FindTextCommand.Execute(null);
                //ViewModel.FindText(FindScope, Query);
                ProcessHits(NumberOfHits, this, true);
            }
        }
        void findButton_Click(object sender, RoutedEventArgs e)
        {
            if (hitState != HitStates.NoFind)
            {
                Query = "";
                ViewModel.ResetHighlights();
                //ProcessResults(0);

                hitState = HitStates.NoFind;
                VisualStateManager.GoToState(this, hitState.ToString(), true);

                PART_FindTextBox.Focus();
            }
            else
            {
                ViewModel.FindTextCommand.Execute(null);
                //ViewModel.FindText(FindScope, Query);
                ProcessHits(NumberOfHits, this, true);
            }
        }