The MouseWheel
event is there alright:
public Form1()
{
InitializeComponent();
textBox1.MouseWheel += textBox1_MouseWheel;
}
void textBox1_MouseWheel(object sender, MouseEventArgs e)
{
throw new NotImplementedException();
}
But it is not visible in the event editor. No idea why..
You can find the full list of events through Intellisense
like this:
Enter the Control's name and a dot. Now watch the dropdownlist for the event you need. When you have it write +=
add press Tab
twice. This hooks up the event and creates a stub for it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…