Since Google failed me in the last 5-10 minutes, I have a quick question. I want to pass the parameter value to a function that I call from the button.click event handler. Event is added using
MyButton.Click = new System.EventHandler(MyButton_click);
But I want the function to get:
private void MyButton_click(int ID)
{
...
}
How can I modify an EventHandler declaration so that it can be executed?
source
share