예제 #1
0
        private void StopSnoopTargetsSearch()
        {
            this.ReleaseMouseCapture();
            this.IsDragging = false;
            this.Cursor     = Cursors.Arrow;
            this.snoopCrosshairsImage.Visibility = Visibility.Visible;
            this.RemoveVisualFeedback();

            // clear out cached process info to make the force refresh do the process check over again.
            WindowInfo.ClearCachedWindowHandleInfo();
        }
예제 #2
0
        private void StopSnoopTargetsSearch()
        {
            this.lowLevelMouseHook.Stop();

            this.ReleaseMouseCapture();

            this.snoopCrosshairsImage.Visibility = Visibility.Visible;

            // clear out cached process info to make the force refresh do the process check over again.
            WindowInfo.ClearCachedWindowHandleInfo();

            this.UpdateCursor();
        }
예제 #3
0
 private void HandleRefreshCommand(object sender, ExecutedRoutedEventArgs e)
 {
     // clear out cached process info to make the force refresh do the process check over again.
     WindowInfo.ClearCachedWindowHandleInfo();
     this.Refresh();
 }