title: Can't fire MouseWheel event in C# Windows Forms
body: <p>First off, the mousewheel event is not listed in Visual Studio 2008's events pane which is very annoying.</p>
  
  <p>I found the correct format online though, and wrote this into my code:</p>
  
  <pre><code>    private void Form1_MouseWheel(object sender, MouseEventArgs e)
      {
          Debug.WriteLine("Foo");
      }
  </code></pre>
  
  <p>...from which I'm getting no response when the mousewheel is rotated.</p>
  
  <p>I'm doing this in my code's main class area, and the designer contains only the one form/window/whatever so the mouse isn't losing focus.</p>
  
  <pre><code>namespace BlahBlah
  {
      public partial class Form1 : Form
      {
  </code></pre>
  
  <p>And by contrast, I have this method right above the mousewheel one and it works fine:</p>
  
  <pre><code>    private void Form1_MouseClick(object sender, MouseEventArgs e)
      {
          Debug.WriteLine("Foo");
      }
  </code></pre>
  
  <p>If I had to guess, I'm thinking I'm not correctly linking the code to the form (aka: all the stuff that visual studio would do for me if I added this event through the designer's events panel). But I could be wrong or just be making some silly error.</p>
  
  <p>Can you help me get ANY kind of response when the mouse wheel is rotated? Thanks!</p>