Easy c# question
Posted on 2003-11-13
1) I have several pictureboxes wired to the same event handler (dimThis(object o, EventArgs e)). I want to modify an attribute of whicever picturebox fired the event. How is this done?
this.pictureBox1.Click += new System.EventHandler(dimThis);
this.pictureBox2.Click += new System.EventHandler(dimThis);
private void dimThis(object sender, System.EventArgs e)
??? sender.borderstyle doesnt work, neither does
ultimately I'm just trying to set up rollover button styles as you might have guessed...
Also if you can provide me with some REALLY GOOD beginner tutorials I will add 50 points to the Q. They can't just be the top google picks tho, I've already hit those.