C# sender problems
<p>I have 4 buttons and I have linked everyone to the same method in the code.</p>

<p>Now i wanna check which button that has been pressed, by using the code:</p>

<pre><code>if(sender == button1)
 {
  //something
  }
</code></pre>

<p>It seems like sender gives the <strong>text</strong> of the button that has been pressed, i would like the sender to give the <strong>name</strong> of the button!</p>

<p>Thanks!</p>
