oscar
Wed Jan 26 08:53:05 CST 2005
any recommendations on how the form1 handler and form2 listener would look?
i've tried a few things and i think i'm just going about it the wrong way.
making the listener handler on form2 is the part that i'm sort of confused
on. how do i get it to listen for changes in form 1?
"Herfried K. Wagner [MVP]" wrote:
> "oscar" <oscar@discussions.microsoft.com> schrieb:
> >i have 2 forms and i would like to make the 2nd form listen for a change in
> > the first form. is there a way to do this? i'm already passing "this" to
> > the
> > 2nd forms constructor so it will update when it has focus again, but would
> > like it to change as form1 changes.
>
> You can make your form raise an event when something changes on the form and
> add a handler to this event in the other form.
>
> --
> M S Herfried K. Wagner
> M V P <URL:
http://dotnet.mvps.org/>
> V B <URL:
http://dotnet.mvps.org/dotnet/faqs/>
>
>