I want to override the event, I mean that I have this:
boton.Click += infoApp; //i think thats similar to: boton.Click = new System.EventHandler(infoApp).
when the boton button is pressed, the triggers of the infoApp function / method, this method looks something like this:
private void infoApp(object sender, EventArgs e) { }
Evolution is still going well; but I NEED to send another parameter to this method:
boton.Click += infoApp(string par)
so I thought this might work:
private void infoApp(object sender, EventArgs e, string par) { }
but this is not so.
I read things like delegates, but I don't understand; and I donβt know what to do to solve my problem; any ideas?
Thanks in advance
pd: sorry my terrible english, i'm not english. Just try to explain. I am using VS2008.
source share