I have created a class which creates a form and puts a text box and buttons on it. I've been able to hook up the buttons so that they work and can access the text box. Now, what I need is to set up events for the form. Specifically, I'm trying to set up the Resize event. If I can understand how to do that, I assume that all the other events will be coded in the same manner.
This has all been learning experience for me. I appreciate your help.
Events for a Form Created in Code
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

PJ MartinsRank #2,548 · 548 reputationPosted Jun 18, 2010, 1:33 PM EDT
form.Resize += new EventHandler(form_Resize);
With from_Resize declared as such:
private void form_Resize(object sender, EventArgs e)
{
.....
}
Mark4 reputationPosted Jun 21, 2010, 4:49 AM EDT