On 2007-11-04 09:19:31 -0800, "Rinaldo"
<zw*************@hotmail.com.nospamsaid:
What I mean is: if I call a second form I don't want to wait for a user
event to click a button (Start for example) but start some routines
inmiddiatly and show the outgoing messages on the second form.
Assuming that you already have a single method that you _could_ call
when the user clicks a button (i.e. "Start for example", as you wrote),
then you can simply call that method in the same place you show the
second form, or in the second form's initialization (for example,
override the OnLoad() method and call that single method there).
Which place is best would depend somewhat on the exact nature of the
processing you're trying to start. Generally speaking though, I'd say
that if the processing is to be started _every time_ you create and
show this second form, and the processing is in some way closely tied
to the second form, then putting in the OnLoad() override the call to
the method to start the processing would be best.
Pete