注意:
事件参数
using System.Windows.Forms;
namespace AboutDefaultObjects
{
public partial class FrmMain : Form
{
private int x = 50;
public FrmMain()
{
InitializeComponent();
this.MouseWheel += FrmMain_MouseWheel;
}
private void FrmMain_Load(object sender, System.EventArgs e)
{
}
private void FrmMain_MouseWheel(object sender, MouseEventArgs e)
{
//this.GetType().GetProperty("Cursor").SetValue(this, "No");
}
}
}