title: c# Can I turn EventArgs in to MouseEventArgs?
body: <p>I <em>think</em> this is to do with casting:</p>
  
  <p>First, I declare an event handler for my picturebox:</p>
  
  <pre><code>        pictureBox1.MouseHover += new EventHandler(this.pictureBox1_MouseHover);
  </code></pre>
  
  <p>Next I'm trying to check whether the left mousebutton is held down with:</p>
  
  <pre><code>    private void pictureBox1_MouseHover(object sender, EventArgs e)
      {
          if (e.Button == MouseButtons.Left)
          {
              /*some gibberish for when the left mouse button is held*/
          }
  
      }
  </code></pre>
  
  <p>But this doesn't work, because <code>EventArgs</code> is not <code>MouseEventArgs</code></p>
  
  <p>Can I <code>Cast</code> or somehow convert <code>EventArgs e</code> to be treated as MouseEventArgs so that the above code would work?</p>