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(); }
public static MouseInterceptor The() { return(mInstance ?? (mInstance = new MouseInterceptor())); }