G
garyusenet
I was originally taught to double click the form, to get to the load
event handler and in there put anything I want to happen when my form
is opened.
However, today whilst reorganising some code for clarity it struck me
that I could just have well put this code in the forms constructor. The
code simply populates text boxes etc... on the form with values.
So i wondered as a rule of thumb is it generally better to do things
like populating text boxes on the form in the forms constructor, or in
the forms load event?
Thanks for your thoughts,
Gary-
event handler and in there put anything I want to happen when my form
is opened.
However, today whilst reorganising some code for clarity it struck me
that I could just have well put this code in the forms constructor. The
code simply populates text boxes etc... on the form with values.
So i wondered as a rule of thumb is it generally better to do things
like populating text boxes on the form in the forms constructor, or in
the forms load event?
Thanks for your thoughts,
Gary-