Dear sir,
I am calling a event handler method in a simple method. but II do not get the proper result.please help,Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 30, 2012, 10:59 AM
button1_Click(button1, EventArgs.Empty);
button1.PerformClick(); // the system generates the arguments with this one