Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
GeneralA question about Image of PictureBox Pin
Member 94012513-Jul-04 21:47
Member 94012513-Jul-04 21:47 
GeneralRe: A question about Image of PictureBox Pin
Heath Stewart14-Jul-04 5:32
protectorHeath Stewart14-Jul-04 5:32 
GeneralCheckin dynamically added elements Pin
saud_a_k13-Jul-04 20:53
saud_a_k13-Jul-04 20:53 
GeneralRe: Checkin dynamically added elements Pin
Jay Shankar13-Jul-04 22:24
Jay Shankar13-Jul-04 22:24 
GeneralRe: Checkin dynamically added elements Pin
saud_a_k13-Jul-04 23:05
saud_a_k13-Jul-04 23:05 
GeneralRe: Checkin dynamically added elements Pin
mav.northwind13-Jul-04 23:51
mav.northwind13-Jul-04 23:51 
GeneralRe: Checkin dynamically added elements Pin
Jay Shankar14-Jul-04 14:33
Jay Shankar14-Jul-04 14:33 
GeneralRe: Checkin dynamically added elements Pin
mav.northwind14-Jul-04 20:05
mav.northwind14-Jul-04 20:05 
Ok, you can take the CheckBox cb and put it outside the loop if that's your only concern... Wink | ;)
Or you yould use
if (c is CheckBox)
{
  CheckBox cb = c as CheckBox;
}


I found the is keyword very handy instead of fiddling with GetType().ToString() and then comparing to the quite verbose (and thus prone to typos) fully qualified type names.

mav
GeneralDetermining RightToLeft Property Pin
13-Jul-04 20:50
suss13-Jul-04 20:50 
QuestionWhat's the difference ? Pin
PShweta13-Jul-04 19:45
PShweta13-Jul-04 19:45 
AnswerRe: What's the difference ? Pin
Roman Rodov13-Jul-04 20:00
Roman Rodov13-Jul-04 20:00 
GeneralRe: What's the difference ? Pin
PShweta14-Jul-04 0:17
PShweta14-Jul-04 0:17 
QuestionReplicate CancelEventArgs behaviour? Pin
misterbear13-Jul-04 19:34
misterbear13-Jul-04 19:34 
AnswerRe: Replicate CancelEventArgs behaviour? Pin
mav.northwind14-Jul-04 0:04
mav.northwind14-Jul-04 0:04 
GeneralRe: Replicate CancelEventArgs behaviour? Pin
Heath Stewart14-Jul-04 4:52
protectorHeath Stewart14-Jul-04 4:52 
GeneralRe: Replicate CancelEventArgs behaviour? Pin
mav.northwind14-Jul-04 5:36
mav.northwind14-Jul-04 5:36 
QuestionHow to make Make and IDE??? Pin
ilmian13-Jul-04 19:25
ilmian13-Jul-04 19:25 
Generalworking with https Pin
niko.13-Jul-04 17:51
sussniko.13-Jul-04 17:51 
GeneralRe: working with https Pin
Heath Stewart14-Jul-04 4:37
protectorHeath Stewart14-Jul-04 4:37 
GeneralRe: working with https Pin
Anonymous14-Jul-04 6:31
Anonymous14-Jul-04 6:31 
QuestionHow to use UdpClient class? Pin
skywen13-Jul-04 17:00
skywen13-Jul-04 17:00 
AnswerRe: How to use UdpClient class? Pin
Heath Stewart14-Jul-04 4:24
protectorHeath Stewart14-Jul-04 4:24 
GeneralChild Control Painting problem(For the last time) Pin
Jon_Slaughter13-Jul-04 13:54
Jon_Slaughter13-Jul-04 13:54 
GeneralRe: Child Control Painting problem(For the last time) Pin
Heath Stewart14-Jul-04 4:12
protectorHeath Stewart14-Jul-04 4:12 
GeneralRe: Child Control Painting problem(For the last time) Pin
Jon_Slaughter14-Jul-04 5:28
Jon_Slaughter14-Jul-04 5:28 

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.