Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
Questiontab page questions Pin
rzvme28-Oct-06 6:06
rzvme28-Oct-06 6:06 
AnswerRe: tab page questions Pin
Nader Elshehabi28-Oct-06 8:26
Nader Elshehabi28-Oct-06 8:26 
AnswerRe: tab page questions Pin
lainoo28-Oct-06 18:48
lainoo28-Oct-06 18:48 
GeneralRe: tab page questions [modified] Pin
rzvme28-Oct-06 19:26
rzvme28-Oct-06 19:26 
Questionprograming ocr Pin
ammoh28-Oct-06 3:27
ammoh28-Oct-06 3:27 
AnswerRe: programing ocr Pin
Nader Elshehabi28-Oct-06 3:54
Nader Elshehabi28-Oct-06 3:54 
QuestionIterating through Controls on A Form Pin
AJ12328-Oct-06 3:21
AJ12328-Oct-06 3:21 
AnswerRe: Iterating through Controls on A Form Pin
Robert Rohde28-Oct-06 3:31
Robert Rohde28-Oct-06 3:31 
Hi,

yes recursion is the way to go:
private void LoopThroughControls(Control c) {
   foreach (Control subControl in c) {
      //do something with c

      LoopThroughControls(c);
   }
}

Within your Form just call: LoopThroughControls(this);

Robert



GeneralRe: Iterating through Controls on A Form Pin
AJ12328-Oct-06 3:40
AJ12328-Oct-06 3:40 
GeneralRe: Iterating through Controls on A Form Pin
lainoo28-Oct-06 19:16
lainoo28-Oct-06 19:16 
QuestionRe: Iterating through Controls on A Form Pin
Robert Rohde28-Oct-06 19:48
Robert Rohde28-Oct-06 19:48 
QuestionCommunicating from e.g. shortcuts to a form Pin
phiamo28-Oct-06 1:45
phiamo28-Oct-06 1:45 
AnswerRe: Communicating from e.g. shortcuts to a form Pin
Nader Elshehabi28-Oct-06 1:50
Nader Elshehabi28-Oct-06 1:50 
QuestionHow to write array of strings on a binary file Pin
Bahaa Hany28-Oct-06 1:15
Bahaa Hany28-Oct-06 1:15 
QuestionRe: How to write array of strings on a binary file Pin
Guffa28-Oct-06 1:43
Guffa28-Oct-06 1:43 
AnswerRe: How to write array of strings on a binary file Pin
Nader Elshehabi28-Oct-06 1:46
Nader Elshehabi28-Oct-06 1:46 
GeneralRe: How to write array of strings on a binary file Pin
S. Senthil Kumar28-Oct-06 3:36
S. Senthil Kumar28-Oct-06 3:36 
GeneralRe: How to write array of strings on a binary file Pin
Nader Elshehabi28-Oct-06 3:49
Nader Elshehabi28-Oct-06 3:49 
AnswerRe: How to write array of strings on a binary file Pin
Guffa28-Oct-06 4:29
Guffa28-Oct-06 4:29 
GeneralRe: How to write array of strings on a binary file Pin
Nader Elshehabi28-Oct-06 4:40
Nader Elshehabi28-Oct-06 4:40 
AnswerRe: How to write array of strings on a binary file Pin
Guffa28-Oct-06 5:10
Guffa28-Oct-06 5:10 
QuestionGet Table Fields Description Pin
freshonlineMax28-Oct-06 0:55
freshonlineMax28-Oct-06 0:55 
AnswerRe: Get Table Fields Description Pin
Nader Elshehabi28-Oct-06 1:53
Nader Elshehabi28-Oct-06 1:53 
GeneralRe: Get Table Fields Description Pin
Robert Rohde28-Oct-06 3:33
Robert Rohde28-Oct-06 3:33 
GeneralRe: Get Table Fields Description Pin
Nader Elshehabi28-Oct-06 3:51
Nader Elshehabi28-Oct-06 3:51 

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.