解决方案
20
MouseWheel事件里控制
20
这个是按钮的,你可以参考下
private void btn_MouseWheel_1(object sender, MouseWheelEventArgs e) { Button btn = sender as Button; if (btn.Width > 10 && btn.Width < 100) { if (e.Delta < 0) { btn.Width += 10; } else { btn.Width -= 10; } } }