protected override void OnMouseWheel(MouseEventArgs e) { base.OnMouseWheel(e); zoomWheelInteractor.Activate(); zoomWheelInteractor.ProcessMouseWheel(new CanonicalMouseEventArgs(e), GetInteractionContext()); zoomWheelInteractor.Deactivate(); Invalidate(); }
protected override void OnMouseWheel(MouseEventArgs e) { base.OnMouseWheel(e); if (MotionControlPlatform.DRAW_INF != "正在绘制") { zoomWheelInteractor.Activate(); zoomWheelInteractor.ProcessMouseWheel(new CanonicalMouseEventArgs(e), GetInteractionContext()); zoomWheelInteractor.Deactivate(); Invalidate(); } }