Computer Science, asked by Heerag5841, 10 months ago

Where do you add an event handler?

Answers

Answered by ayushi848
0

To create an event handler at run time. Open the form in the Code Editor that you want to add an event handler to. Add a method to your form with the method signature for the event that you want to handle. private void button1_Click(object sender, System.EventArgs e) { // Add event handler code here. }

Similar questions