Click here to Skip to main content
15,908,581 members
Home / Discussions / C#
   

C#

 
QuestionControls and Properties Pin
TheBlindWatchmaker7-Jun-06 14:06
TheBlindWatchmaker7-Jun-06 14:06 
Hello,

I have 11 instances of a control (representing 11 audio channels). This control has, among others, two public boolean properties called SOLO and MUTE. These can be turned on and off by means of two checkboxes, say, chkSolo and chkMute.

This is what I need to do:

1) If the user decides to "solo a channel", i.e. set the SOLO property on one of the controls to TRUE, the MUTE property of the other 10 controls should be set.

2) Unchecking the chkSolo box (setting SOLO to FALSE) should "unmute" the other 10 controls.

What's the best way of doing this? Should I have a collection of controls? How do I identify which of the controls is being Soloed?

Thanks for your help!
AnswerRe: Controls and Properties Pin
Edbert P7-Jun-06 14:53
Edbert P7-Jun-06 14:53 
GeneralRe: Controls and Properties Pin
TheBlindWatchmaker7-Jun-06 18:03
TheBlindWatchmaker7-Jun-06 18:03 
GeneralRe: Controls and Properties Pin
Edbert P7-Jun-06 21:01
Edbert P7-Jun-06 21:01 
QuestionXML Viewer planning Pin
eggie57-Jun-06 13:22
eggie57-Jun-06 13:22 
QuestionVS 2005 Query Builder Parameter? Pin
PyroManiak7-Jun-06 12:56
PyroManiak7-Jun-06 12:56 
AnswerRe: VS 2005 Query Builder Parameter? Pin
PyroManiak8-Jun-06 7:45
PyroManiak8-Jun-06 7:45 
QuestionClickonce help Pin
cechode7-Jun-06 12:48
cechode7-Jun-06 12:48 
AnswerRe: Clickonce help Pin
PyroManiak8-Jun-06 7:49
PyroManiak8-Jun-06 7:49 
QuestionVS2005 Warning Error Message Pin
donkaiser7-Jun-06 12:06
donkaiser7-Jun-06 12:06 
AnswerRe: VS2005 Warning Error Message Pin
Office Lineman7-Jun-06 14:04
Office Lineman7-Jun-06 14:04 
GeneralRe: VS2005 Warning Error Message Pin
donkaiser8-Jun-06 2:57
donkaiser8-Jun-06 2:57 
GeneralRe: VS2005 Warning Error Message Pin
donkaiser8-Jun-06 4:46
donkaiser8-Jun-06 4:46 
QuestionError creating windows Handle Pin
Mandar Patankar7-Jun-06 11:03
Mandar Patankar7-Jun-06 11:03 
AnswerRe: Error creating windows Handle Pin
Ed.Poore7-Jun-06 11:27
Ed.Poore7-Jun-06 11:27 
GeneralRe: Error creating windows Handle Pin
Mandar Patankar8-Jun-06 6:42
Mandar Patankar8-Jun-06 6:42 
GeneralRe: Error creating windows Handle Pin
Ed.Poore8-Jun-06 8:17
Ed.Poore8-Jun-06 8:17 
GeneralRe: Error creating windows Handle Pin
Mandar Patankar9-Jun-06 11:47
Mandar Patankar9-Jun-06 11:47 
GeneralRe: Error creating windows Handle Pin
Ed.Poore9-Jun-06 12:48
Ed.Poore9-Jun-06 12:48 
Questionplugin support in c# project(advice please) Pin
sawerr7-Jun-06 10:26
sawerr7-Jun-06 10:26 
AnswerRe: plugin support in c# project(advice please) Pin
Ed.Poore7-Jun-06 10:48
Ed.Poore7-Jun-06 10:48 
Questionstring to string array Pin
keroed_edmond7-Jun-06 10:26
keroed_edmond7-Jun-06 10:26 
AnswerRe: string to string array Pin
Josh Smith7-Jun-06 10:35
Josh Smith7-Jun-06 10:35 
GeneralRe: string to string array Pin
keroed_edmond7-Jun-06 10:45
keroed_edmond7-Jun-06 10:45 
GeneralRe: string to string array Pin
Stefan Troschuetz7-Jun-06 10:50
Stefan Troschuetz7-Jun-06 10:50 

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.