Beispiel #1
0
        private MouseService()
        {
            MouseInterceptor.The().MouseWheel += OnMouseWheel;
            MouseInterceptor.The().MouseMove  += OnMouseMove;
            MouseInterceptor.The().MouseDown  += OnMouseDown;
            MouseInterceptor.The().MouseUp    += OnMouseUp;
            KeyInterceptor.The().KeyDown      += OnKeyDown;
            KeyInterceptor.The().KeyUp        += OnKeyUp;

            mVolumeChangeAction = new VolumeChangeAction();
        }
Beispiel #2
0
 public static MouseInterceptor The()
 {
     return(mInstance ?? (mInstance = new MouseInterceptor()));
 }