Click here to Skip to main content
15,891,785 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adobe Flash to C# Pin
fjdiewornncalwe27-Oct-10 10:11
professionalfjdiewornncalwe27-Oct-10 10:11 
Questionhow to refer by name Pin
Jassim Rahma27-Oct-10 4:53
Jassim Rahma27-Oct-10 4:53 
AnswerRe: how to refer by name Pin
Ennis Ray Lynch, Jr.27-Oct-10 5:01
Ennis Ray Lynch, Jr.27-Oct-10 5:01 
GeneralRe: how to refer by name Pin
Jassim Rahma27-Oct-10 5:04
Jassim Rahma27-Oct-10 5:04 
GeneralRe: how to refer by name Pin
Ennis Ray Lynch, Jr.27-Oct-10 5:24
Ennis Ray Lynch, Jr.27-Oct-10 5:24 
AnswerRe: how to refer by name Pin
Luc Pattyn27-Oct-10 5:02
sitebuilderLuc Pattyn27-Oct-10 5:02 
AnswerRe: how to refer by name Pin
_Erik_27-Oct-10 5:28
_Erik_27-Oct-10 5:28 
QuestionChange the properties of the controls Pin
thomforum27-Oct-10 4:04
thomforum27-Oct-10 4:04 
Dear All --

I have a form in c#, consisting of say 1 combobox and 4 textboxes. Combobox will have values from 1 to 4 and the name of the textboxes be txt1, txt2,.. txt4. Depending on the value chosen in combobox, the txtboxes should hide or show.

Is something like the below code possible.
for (int i = 0; i < n; i++)
{
(TextBox)("txt" + i).Hide;
}

or is there some other better way of doing the same.

Sorry, if the subject name is not in lines with the body/matter.

cheers
AnswerRe: Change the properties of the controls Pin
kadaoui el mehdi27-Oct-10 4:11
kadaoui el mehdi27-Oct-10 4:11 
AnswerRe: Change the properties of the controls Pin
kadaoui el mehdi27-Oct-10 4:16
kadaoui el mehdi27-Oct-10 4:16 
AnswerRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 4:19
mveOriginalGriff27-Oct-10 4:19 
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 
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 

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.