private void Mouse_Load() { mh = new MouseHook(); mh.SetHook(); mh.MouseDownEvent += mh_MouseDownEvent; mh.MouseUpEvent += mh_MouseUpEvent; mh.MouseMoveEvent += mh_MouseMoveEvent; hook = Hook.GlobalEvents(); //新钩子读取滚轮 hook.MouseWheelExt += Hook_MouseWheelExt; }