Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinating Objects
Message
From
25/08/2007 15:16:54
 
 
To
All
General information
Forum:
ASP.NET
Category:
Class design
Title:
Coordinating Objects
Miscellaneous
Thread ID:
01250452
Message ID:
01250452
Views:
58
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?
Next
Reply
Map
View

Click here to load this message in the networking platform