Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinating Objects
Message
De
25/08/2007 15:16:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Coordinating Objects
Divers
Thread ID:
01250452
Message ID:
01250452
Vues:
55
I am working on a time picker control and am trying to decide on the best way to coordinate the value of the control between the various objects invlolved.
Dataset
  TextBox
    DropDownForm (Form)
      TimePicker (UserControl)
        LabelArray (Acts like option buttons)
The dataset to the textbox would just be a binding source.

But for the rest of them the data needs to cascade downward from the label array down to the TextBox.

In c++ I could use pointers, but that doesn't seem advisable in c#

I'm guessing that raising events is going to be my best solution, but was curious to find out if there was some way to do this that I had not though of.

And, also if events are the way to go, what would be the best/most usual event to use?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform