title: Pass parameter to EventHandler
body: <p>I have the following <code>EventHandler</code> to which I added a parameter <code>MusicNote</code> music:</p>
  
  <pre><code>public void PlayMusicEvent(object sender, EventArgs e,MusicNote music)
  {
      music.player.Stop();
      System.Timers.Timer myTimer = (System.Timers.Timer)sender;
      myTimer.Stop();
  }
  </code></pre>
  
  <p>I need to add the handler to a <code>Timer</code> like so:</p>
  
  <pre><code>myTimer.Elapsed += new ElapsedEventHandler(PlayMusicEvent(this, e, musicNote));
  </code></pre>
  
  <p>but get the error: </p>
  
  <blockquote>
    <p>"Method name expected"</p>
  </blockquote>
  
  <p>EDIT: In this case I just pass e from the method which contains this code snippet, how would I pass the timer's own <code>EventArgs</code>?</p>