Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: VS 2005 User Control Toolbox question Pin
Kamal Sagar30-Jun-06 1:10
Kamal Sagar30-Jun-06 1:10 
GeneralRe: VS 2005 User Control Toolbox question Pin
LongRange.Shooter30-Jun-06 11:55
LongRange.Shooter30-Jun-06 11:55 
QuestionHere's a wierd one for you... Pin
BoneSoft29-Jun-06 10:29
BoneSoft29-Jun-06 10:29 
AnswerRe: Here's a wierd one for you... Pin
LongRange.Shooter29-Jun-06 10:38
LongRange.Shooter29-Jun-06 10:38 
GeneralRe: Here's a wierd one for you... Pin
BoneSoft29-Jun-06 10:44
BoneSoft29-Jun-06 10:44 
AnswerRe: Here's a wierd one for you... Pin
led mike29-Jun-06 10:51
led mike29-Jun-06 10:51 
GeneralRe: Here's a wierd one for you... Pin
BoneSoft29-Jun-06 10:55
BoneSoft29-Jun-06 10:55 
AnswerRe: Here's a wierd one for you... Pin
Josh Smith29-Jun-06 11:09
Josh Smith29-Jun-06 11:09 
You could use the INotifyPropertyChanged technique (new to .NET 2.0, but easy enough to simulate in 1.x if necessary). In the setter of each property, call an OnPropertyChanged method passing in the name of the property as a string. In that method, fire an event which passes an event arg containing the property name. Then hook that event on the newly selected object and whenever it changes, either selectively repopulate the selected node's descendants, or just wipe the whole branch out and repopulate it with the object's current state.

Josh
GeneralRe: Here's a wierd one for you... Pin
BoneSoft29-Jun-06 11:12
BoneSoft29-Jun-06 11:12 
GeneralRe: Here's a wierd one for you... Pin
Josh Smith29-Jun-06 11:12
Josh Smith29-Jun-06 11:12 
GeneralRe: Here's a wierd one for you... [modified] Pin
BoneSoft29-Jun-06 11:31
BoneSoft29-Jun-06 11:31 
QuestionTWAIN on Windows 2000 Pin
allenmpcx29-Jun-06 9:12
allenmpcx29-Jun-06 9:12 
QuestionCopying UserControl Variables to another instance of the UserControl Pin
TheBlindWatchmaker29-Jun-06 9:07
TheBlindWatchmaker29-Jun-06 9:07 
QuestionWait or Sleep function in C# Pin
Herhighness29-Jun-06 8:41
Herhighness29-Jun-06 8:41 
AnswerRe: Wait or Sleep function in C# Pin
led mike29-Jun-06 10:11
led mike29-Jun-06 10:11 
AnswerRe: Wait or Sleep function in C# Pin
Jun Du29-Jun-06 12:18
Jun Du29-Jun-06 12:18 
QuestionEvents Between Two Controls Pin
joshp121729-Jun-06 8:29
joshp121729-Jun-06 8:29 
GeneralRe: Events Between Two Controls Pin
Jun Du29-Jun-06 9:20
Jun Du29-Jun-06 9:20 
GeneralRe: Events Between Two Controls Pin
joshp121729-Jun-06 10:18
joshp121729-Jun-06 10:18 
GeneralRe: Events Between Two Controls Pin
Martin#29-Jun-06 10:25
Martin#29-Jun-06 10:25 
GeneralRe: Events Between Two Controls Pin
joshp121729-Jun-06 10:38
joshp121729-Jun-06 10:38 
GeneralRe: Events Between Two Controls Pin
Martin#29-Jun-06 10:28
Martin#29-Jun-06 10:28 
GeneralRe: Events Between Two Controls Pin
joshp121729-Jun-06 10:40
joshp121729-Jun-06 10:40 
GeneralRe: Events Between Two Controls Pin
Martin#29-Jun-06 10:43
Martin#29-Jun-06 10:43 
AnswerRe: Events Between Two Controls [modified] Pin
Martin#29-Jun-06 10:55
Martin#29-Jun-06 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.