Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing objects on parent container form.
Message
 
À
14/11/2007 16:58:21
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01269010
Message ID:
01269075
Vues:
12
>I have an MDI parent form which contains a status bar and progress bar. I changed the controls in the designer class to a scope of protected internal. When I try to put a text string into the controls on the parent form to update the status bar text property, it appears to be setting the property when I walk through the code. When the form displays, the string does actually appear in the status bar.
>
>So my question is how do I access the MDI parent's status bar control to display messages?

Here is a link that demonstrates how to do this:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.statusbar.text(VS.80).aspx

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform