控制键加鼠标滚轮 [英] Control key plus mouse wheel
本文介绍了控制键加鼠标滚轮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在C#中处理Ctrl +鼠标滚轮的更好方法是什么? 我已经弄清楚如何处理MouseWheel事件,但又如何知道也按下了ctrl键?
What's the better way to handle the ctrl + mouse wheel in C#? I've figured out how to handle the MouseWheel event but how to know that the ctrl key is being pressed too?
谢谢.
推荐答案
使用静态属性,例如:
System.Windows.Forms.Control.ModifierKeys
这篇关于控制键加鼠标滚轮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文