Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
Questionwinform add splitcontainer docking problem-panel is covered by toolstrip Pin
akira327-Aug-09 8:54
akira327-Aug-09 8:54 
AnswerRe: winform add splitcontainer docking problem-panel is covered by toolstrip Pin
Alan N7-Aug-09 10:09
Alan N7-Aug-09 10:09 
AnswerRe: winform add splitcontainer docking problem-panel is covered by toolstrip Pin
Henry Minute7-Aug-09 15:38
Henry Minute7-Aug-09 15:38 
Questionhow to Retrieve Metadata in office Document using Index Services. Pin
alisolution7-Aug-09 8:28
alisolution7-Aug-09 8:28 
Questionstripping out http response header using Regex.Replace Pin
Jayapal Chandran7-Aug-09 8:15
Jayapal Chandran7-Aug-09 8:15 
AnswerRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi8-Aug-09 0:48
Moreno Airoldi8-Aug-09 0:48 
QuestionRe: stripping out http response header using Regex.Replace Pin
Jayapal Chandran9-Aug-09 8:43
Jayapal Chandran9-Aug-09 8:43 
AnswerRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi9-Aug-09 23:34
Moreno Airoldi9-Aug-09 23:34 
GeneralRe: stripping out http response header using Regex.Replace Pin
Jayapal Chandran10-Aug-09 7:38
Jayapal Chandran10-Aug-09 7:38 
GeneralRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi10-Aug-09 7:53
Moreno Airoldi10-Aug-09 7:53 
QuestionNeed to parse GUID Pin
JohnQuar17-Aug-09 7:53
JohnQuar17-Aug-09 7:53 
AnswerRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:04
mvePIEBALDconsult7-Aug-09 8:04 
GeneralRe: Need to parse GUID Pin
JohnQuar17-Aug-09 8:07
JohnQuar17-Aug-09 8:07 
GeneralRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:11
mvePIEBALDconsult7-Aug-09 8:11 
GeneralRe: Need to parse GUID Pin
JohnQuar17-Aug-09 8:16
JohnQuar17-Aug-09 8:16 
GeneralRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:28
mvePIEBALDconsult7-Aug-09 8:28 
QuestionLooping through multiple textboxes to retrive data using a variable Pin
msg551217-Aug-09 6:59
msg551217-Aug-09 6:59 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Muhammad Mazhar7-Aug-09 7:11
Muhammad Mazhar7-Aug-09 7:11 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Ennis Ray Lynch, Jr.7-Aug-09 7:14
Ennis Ray Lynch, Jr.7-Aug-09 7:14 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Luc Pattyn7-Aug-09 7:23
sitebuilderLuc Pattyn7-Aug-09 7:23 
Hi,

two easy ways:

1.
use a List<TextBox> textboxes to which you add the textboxes of interest, then a simple foreach(TextBox tb in textboxes) will do the job.

2.
if you want to enumerate ALL the textboxes of a Form, and they all are at the top level of that form, you could do:
foreach (Control c in this.Controls) {
    TextBox tb=c as TextBox;
    // now skip controls that aren't textboxes:
    if (tb!=null) { ... do something to tb ... }
}


Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionHow can I manage then number of applications instances running at the same time over a network? Pin
_awatts7-Aug-09 6:33
_awatts7-Aug-09 6:33 
AnswerRe: How can I manage then number of applications instances running at the same time over a network? Pin
Ennis Ray Lynch, Jr.7-Aug-09 6:46
Ennis Ray Lynch, Jr.7-Aug-09 6:46 
Questionproblem when to actualize the controls of a form Pin
Harry6667-Aug-09 4:52
Harry6667-Aug-09 4:52 
AnswerRe: problem when to actualize the controls of a form Pin
Henry Minute7-Aug-09 16:02
Henry Minute7-Aug-09 16:02 
GeneralRe: problem when to actualize the controls of a form Pin
Harry6668-Aug-09 0:46
Harry6668-Aug-09 0:46 

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.