Dear sir,
I am calling a event handler method in a simple method. but II do not get the proper result.please help,Thanks.
Call a event handler method ini a simple method
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Nov 30, 2012, 5:59 AM EST
button1_Click(button1, EventArgs.Empty);
button1.PerformClick(); // the system generates the arguments with this one