Click here to Skip to main content
15,918,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to notify the application about database updates? Pin
sundar1567-Feb-07 6:41
sundar1567-Feb-07 6:41 
GeneralRe: how to notify the application about database updates? Pin
Not Active7-Feb-07 6:53
mentorNot Active7-Feb-07 6:53 
QuestionHow do i check a control type? Pin
sharpiesharpie6-Feb-07 5:22
sharpiesharpie6-Feb-07 5:22 
AnswerRe: How do i check a control type? Pin
m@u6-Feb-07 5:27
m@u6-Feb-07 5:27 
AnswerRe: How do i check a control type? Pin
Seishin#6-Feb-07 5:42
Seishin#6-Feb-07 5:42 
GeneralRe: How do i check a control type? Pin
sharpiesharpie6-Feb-07 5:56
sharpiesharpie6-Feb-07 5:56 
GeneralRe: How do i check a control type? Pin
Martin#6-Feb-07 6:13
Martin#6-Feb-07 6:13 
AnswerJust a solution for future reference Pin
sharpiesharpie6-Feb-07 6:24
sharpiesharpie6-Feb-07 6:24 
I have a groupbox which contains some groupboxes in it, the following code will clear all textboxes in the groupbox and in the groupboxes in it:

<br />
                    if (this.Controls[i] is GroupBox)<br />
                    {<br />
                        for (int m = 0; m < Controls[i].Controls.Count; m++)<br />
                        {<br />
                            if (Controls[i].Controls[m] is TextBox)<br />
                                Controls[i].Controls[m].Text = "";<br />
<br />
                            if (Controls[i].Controls[m] is GroupBox)<br />
                            {<br />
                                for (int x = 0; x < Controls[i].Controls[m].Controls.Count; x++)<br />
                                {<br />
                                    if (Controls[i].Controls[m].Controls[x] is TextBox)<br />
                                        Controls[i].Controls[m].Controls[x].Text = "";<br />
                                }<br />
                            }<br />
                        }<br />
                    }<br />

GeneralRe: Just a solution for future reference Pin
Martin#6-Feb-07 6:45
Martin#6-Feb-07 6:45 
AnswerRe: How do i check a control type? Pin
Luc Pattyn6-Feb-07 7:49
sitebuilderLuc Pattyn6-Feb-07 7:49 
Questionhighlighting a map Pin
Da_Bigg_Z6-Feb-07 4:32
Da_Bigg_Z6-Feb-07 4:32 
AnswerRe: highlighting a map Pin
sharpiesharpie6-Feb-07 4:57
sharpiesharpie6-Feb-07 4:57 
GeneralRe: highlighting a map Pin
Da_Bigg_Z6-Feb-07 5:14
Da_Bigg_Z6-Feb-07 5:14 
AnswerRe: highlighting a map Pin
m@u6-Feb-07 5:32
m@u6-Feb-07 5:32 
Questionproblem in editor Pin
hany_hu6-Feb-07 4:23
hany_hu6-Feb-07 4:23 
AnswerRe: problem in editor Pin
Guffa6-Feb-07 6:00
Guffa6-Feb-07 6:00 
QuestionDateTimePicker : Time-Loop -&gt; Date-Switch Pin
Ariadne6-Feb-07 4:11
Ariadne6-Feb-07 4:11 
QuestionHelp regarding Regular Expressions [modified] Pin
anu816-Feb-07 3:08
anu816-Feb-07 3:08 
AnswerRe: Help regarding Regular Expressions Pin
Stefan Troschuetz6-Feb-07 3:12
Stefan Troschuetz6-Feb-07 3:12 
GeneralRe: Help regarding Regular Expressions Pin
anu816-Feb-07 3:18
anu816-Feb-07 3:18 
GeneralRe: Help regarding Regular Expressions Pin
Stefan Troschuetz6-Feb-07 3:31
Stefan Troschuetz6-Feb-07 3:31 
AnswerRe: Help regarding Regular Expressions Pin
gauthee6-Feb-07 3:18
gauthee6-Feb-07 3:18 
GeneralRe: Help regarding Regular Expressions Pin
anu816-Feb-07 3:22
anu816-Feb-07 3:22 
AnswerRe: Help regarding Regular Expressions Pin
baronics6-Feb-07 3:33
baronics6-Feb-07 3:33 
AnswerRe: Help regarding Regular Expressions Pin
Colin Angus Mackay6-Feb-07 3:35
Colin Angus Mackay6-Feb-07 3:35 

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.