Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating winform progress bar from a class
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00974845
Message ID:
00981916
Vues:
57
>What about the reverse? How do you access a textbox within a panel within a tabpage from a method in the form if the form doesn't "SEE" the textbox.
>
>Or maybe this should be another topic entirely.

Windows forms controls are always defined at the form level not at the control level. Unless you've created a custom class you have access to the control through that. If you've created a custom class you shouldn't be exposing thecontrols anyway, but there should be methods that handle assigning the values. You can always implement a generic routine like FindControl() that returns a reference to a control by using Reflection (kind of like ASP.NET's FindControl() method).

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform