
how to change properties of the main form from a another form
Quote:
> is it possible to change the propertys of the main form from another form?
> I also need access to a few controls of the main form.
Sure. The "other form" needs a reference to the main form. Then, the
other controls need to be public or friend (if the other form is in the
same assembly).
A better way would be to have properties on the main form that abstract
the functionality of updating the controls (again, make the scope of the
properties public).
--
Patrick Steele
Microsoft .NET MVP