Passing a Param to System.EventHandler in c#
<p>Since google has failed me for the past 5-10 minutes I have a quick question. I wish to pass a param value into a function that I call from a button.click Event Handler. The event is currently added using </p>

<pre><code>MyButton.Click = new System.EventHandler(MyButton_click);
</code></pre>

<p>But I want the function to recieve:</p>

<pre><code>private void MyButton_click(int ID)
{
...
}
</code></pre>

<p>How can I change my EventHandler declaration so that this can be accomplished?</p>
