private void Target() { WindowPointer = new WindowInteropHelper(this).Handle; DwmHelper.SetWindowExTransparent(WindowPointer); MouseTracker = new MouseTracker(WindowPointer, this); OptionWindow = new OptionWindow(this); }
private void Target() { var windowHandler = new WindowInteropHelper(this).Handle; DwmHelper.SetWindowExTransparent(windowHandler); OptionWindow = new OptionWindow(this); MouseTracker.MouseMove += MouseTrackerOnMouseMove; }