C# How to use one click event handler for multiple buttons
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6315737/c-sending-buttonclicks-to-same-object">C# Sending buttonclicks to same Object</a>  </p>
</blockquote>



<p>I have a lot of buttons in my project. To make the program I shorter have made every click of a button to the same "Button_click" method by editing the Designer.cs file and pointing every click to my method.</p>

<pre><code> this.button1.Click += new System.EventHandler(this.Mymethod);
</code></pre>

<p>How can I identify which button that has been pressed in the Mymethod method?</p>

<p>Thanks!</p>
