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

C#

 
AnswerRe: Any one have Ideas for IT graduation Project Pin
Paul Conrad17-Jul-07 11:57
professionalPaul Conrad17-Jul-07 11:57 
QuestionProblem retrieving dataobjects stored on clipboard Pin
Sepharo17-Jul-07 10:59
Sepharo17-Jul-07 10:59 
QuestionLooping through Controls on a tab page Pin
greenb17-Jul-07 10:33
greenb17-Jul-07 10:33 
AnswerRe: Looping through Controls on a tab page Pin
Tarakeshwar Reddy17-Jul-07 10:44
professionalTarakeshwar Reddy17-Jul-07 10:44 
GeneralRe: Looping through Controls on a tab page Pin
BoneSoft17-Jul-07 10:49
BoneSoft17-Jul-07 10:49 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult17-Jul-07 10:51
mvePIEBALDconsult17-Jul-07 10:51 
GeneralRe: Looping through Controls on a tab page Pin
Tarakeshwar Reddy17-Jul-07 10:58
professionalTarakeshwar Reddy17-Jul-07 10:58 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult17-Jul-07 11:18
mvePIEBALDconsult17-Jul-07 11:18 
Perhaps not in this case.

But if the actual control were of some derived type of TextBox (e.g. MyTextBox) then the is would return true whereas the test for typeof(TextBox) would return false.

as would also work as expected, but the downside, in my opinion, is that as requires the declaration of a reference variable (not a big deal) and the assignment of that reference within the loop when there really is no need for the reference at all, except perhaps to make the code more readable.

I still haven't found a worthwhile use for as.
GeneralRe: Looping through Controls on a tab page Pin
BoneSoft17-Jul-07 11:32
BoneSoft17-Jul-07 11:32 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult17-Jul-07 11:43
mvePIEBALDconsult17-Jul-07 11:43 
GeneralRe: Looping through Controls on a tab page Pin
BoneSoft17-Jul-07 12:08
BoneSoft17-Jul-07 12:08 
GeneralRe: Looping through Controls on a tab page [modified] Pin
PIEBALDconsult17-Jul-07 17:17
mvePIEBALDconsult17-Jul-07 17:17 
GeneralRe: Looping through Controls on a tab page Pin
Martin#17-Jul-07 20:03
Martin#17-Jul-07 20:03 
GeneralRe: Looping through Controls on a tab page Pin
Mike Dimmick17-Jul-07 11:42
Mike Dimmick17-Jul-07 11:42 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult17-Jul-07 11:49
mvePIEBALDconsult17-Jul-07 11:49 
JokeRe: Looping through Controls on a tab page Pin
BoneSoft17-Jul-07 12:10
BoneSoft17-Jul-07 12:10 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult17-Jul-07 14:04
mvePIEBALDconsult17-Jul-07 14:04 
GeneralRe: Looping through Controls on a tab page Pin
Mike Dimmick17-Jul-07 20:17
Mike Dimmick17-Jul-07 20:17 
GeneralRe: Looping through Controls on a tab page Pin
PIEBALDconsult18-Jul-07 8:56
mvePIEBALDconsult18-Jul-07 8:56 
AnswerRe: Looping through Controls on a tab page Pin
BoneSoft17-Jul-07 10:48
BoneSoft17-Jul-07 10:48 
QuestionSelect Records From DataGridView Pin
polishprogrammer17-Jul-07 10:08
polishprogrammer17-Jul-07 10:08 
AnswerRe: Select Records From DataGridView Pin
Paul Conrad17-Jul-07 19:11
professionalPaul Conrad17-Jul-07 19:11 
GeneralRe: Select Records From DataGridView Pin
polishprogrammer18-Jul-07 4:11
polishprogrammer18-Jul-07 4:11 
QuestionList View Search Pin
topksharma198217-Jul-07 9:44
topksharma198217-Jul-07 9:44 
AnswerRe: List View Search Pin
BoneSoft17-Jul-07 10:14
BoneSoft17-Jul-07 10:14 

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.