Click here to Skip to main content
15,902,636 members
Home / Discussions / C#
   

C#

 
AnswerRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 4:34
sitebuilderLuc Pattyn27-Oct-10 4:34 
GeneralRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 4:53
mveOriginalGriff27-Oct-10 4:53 
GeneralRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 4:58
sitebuilderLuc Pattyn27-Oct-10 4:58 
GeneralMessage Removed Pin
27-Oct-10 7:38
flflshop27-Oct-10 7:38 
GeneralRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 8:37
mveOriginalGriff27-Oct-10 8:37 
GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 7:51
thomforum27-Oct-10 7:51 
GeneralRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 8:14
mveOriginalGriff27-Oct-10 8:14 
GeneralRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 9:14
sitebuilderLuc Pattyn27-Oct-10 9:14 
OriginalGriff wrote:
Luc won't read that!


Right. There are minimum quality levels I don't want to cross. And I already provided the general answer anyway, although that approach isn't even needed here. Something like

txt1.Visible=cbMain.Text=="1";
txt2.Visible=cbMain.Text=="2";
...


would probably suffice. No ifs, no fors.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 14:50
thomforum27-Oct-10 14:50 
GeneralRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 15:14
sitebuilderLuc Pattyn27-Oct-10 15:14 
GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 18:59
thomforum27-Oct-10 18:59 
QuestionCDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
SomsubhroChat27-Oct-10 3:57
SomsubhroChat27-Oct-10 3:57 
AnswerRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
_Erik_27-Oct-10 4:26
_Erik_27-Oct-10 4:26 
GeneralRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
SomsubhroChat27-Oct-10 7:01
SomsubhroChat27-Oct-10 7:01 
GeneralRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
_Erik_28-Oct-10 5:05
_Erik_28-Oct-10 5:05 
QuestionCalling DISKPart commands Pin
avi_dadi200227-Oct-10 1:47
avi_dadi200227-Oct-10 1:47 
AnswerRe: Calling DISKPart commands Pin
_Erik_27-Oct-10 1:58
_Erik_27-Oct-10 1:58 
QuestionTool for real time grapg plotting... Pin
jainiraj27-Oct-10 1:20
jainiraj27-Oct-10 1:20 
AnswerRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 1:30
Henry Minute27-Oct-10 1:30 
GeneralRe: Tool for real time grapg plotting... Pin
jainiraj27-Oct-10 4:19
jainiraj27-Oct-10 4:19 
GeneralMessage Removed Pin
27-Oct-10 7:39
flflshop27-Oct-10 7:39 
GeneralRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:41
Henry Minute27-Oct-10 7:41 
GeneralRe: Tool for real time grapg plotting... Pin
Dave Kreskowiak27-Oct-10 7:49
mveDave Kreskowiak27-Oct-10 7:49 
GeneralRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:51
Henry Minute27-Oct-10 7:51 
GeneralRe: Tool for real time grapg plotting... Pin
Roger Wright27-Oct-10 19:56
professionalRoger Wright27-Oct-10 19:56 

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.