我需要知道如何在MouseWheel事件上确定滚动是向前还是向后(不是垂直或水平).
panel1.MouseWheel += ZoomIn public void ZoomIn(object sender, EventArgs e) { // Need to know whether the wheel is scrolled forwards or backwards }
c# scroll winforms
c# ×1
scroll ×1
winforms ×1