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.
Loading
PJ MartinsPosted Jun 18, 2010, 5:33 PM
form.Resize += new EventHandler(form_Resize);
With from_Resize declared as such:
private void form_Resize(object sender, EventArgs e)
{
.....
}
MarkPosted Jun 21, 2010, 8:49 AM