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(); }
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(); }
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(); }