Click here to Skip to main content
15,867,756 members
Home / Discussions / C#
   

C#

 
QuestionWhen should i use ?? Timer vs Thread.Sleep(int); Pin
Abdul Gafoor6-Aug-07 2:11
Abdul Gafoor6-Aug-07 2:11 
AnswerRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Luc Pattyn6-Aug-07 2:18
sitebuilderLuc Pattyn6-Aug-07 2:18 
GeneralRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Pete O'Hanlon6-Aug-07 3:21
subeditorPete O'Hanlon6-Aug-07 3:21 
GeneralRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Malcolm Smart6-Aug-07 3:27
Malcolm Smart6-Aug-07 3:27 
GeneralRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Pete O'Hanlon6-Aug-07 3:34
subeditorPete O'Hanlon6-Aug-07 3:34 
JokeRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Luc Pattyn6-Aug-07 3:54
sitebuilderLuc Pattyn6-Aug-07 3:54 
GeneralRe: When should i use ?? Timer vs Thread.Sleep(int); Pin
Pete O'Hanlon6-Aug-07 4:01
subeditorPete O'Hanlon6-Aug-07 4:01 
QuestionTreeView StateImageList StateImageIndex Pin
Abisodun6-Aug-07 2:00
Abisodun6-Aug-07 2:00 
Is there a max value for treeNode.StateImageIndex?

I have a stateImageList with 21 images. Any image above the 15th e.g. treeNode.StateImageIndex = 15, generates an ArgumentOutOfRangeException with message:

InvalidArgument=Value of '15' is not valid for 'StateImageIndex'

A max value isn't documented as far as I see. What am I missing?

Thanks
AnswerRe: TreeView StateImageList StateImageIndex Pin
Abisodun6-Aug-07 3:41
Abisodun6-Aug-07 3:41 
QuestionAutomatical start up Pin
Albu Marius6-Aug-07 1:18
Albu Marius6-Aug-07 1:18 
AnswerRe: Automatical start up Pin
Pete O'Hanlon6-Aug-07 1:33
subeditorPete O'Hanlon6-Aug-07 1:33 
GeneralRe: Automatical start up Pin
Albu Marius6-Aug-07 1:36
Albu Marius6-Aug-07 1:36 
AnswerRe: Automatical start up Pin
Hessam Jalali6-Aug-07 1:37
Hessam Jalali6-Aug-07 1:37 
AnswerRe: Automatical start up Pin
Nouman Bhatti6-Aug-07 1:54
Nouman Bhatti6-Aug-07 1:54 
AnswerRe: Automatical start up Pin
Vasudevan Deepak Kumar6-Aug-07 1:57
Vasudevan Deepak Kumar6-Aug-07 1:57 
QuestionDetecting Key Presses Pin
JamesBarnes6-Aug-07 1:13
JamesBarnes6-Aug-07 1:13 
AnswerRe: Detecting Key Presses Pin
Luc Pattyn6-Aug-07 1:24
sitebuilderLuc Pattyn6-Aug-07 1:24 
GeneralRe: Detecting Key Presses Pin
JamesBarnes6-Aug-07 1:29
JamesBarnes6-Aug-07 1:29 
GeneralRe: Detecting Key Presses Pin
JamesBarnes6-Aug-07 1:31
JamesBarnes6-Aug-07 1:31 
GeneralRe: Detecting Key Presses Pin
Luc Pattyn6-Aug-07 1:52
sitebuilderLuc Pattyn6-Aug-07 1:52 
AnswerRe: Detecting Key Presses Pin
Giorgi Dalakishvili6-Aug-07 1:26
mentorGiorgi Dalakishvili6-Aug-07 1:26 
QuestionEmergency , need help Pin
Developer6116-Aug-07 0:45
Developer6116-Aug-07 0:45 
AnswerRe: Emergency , need help Pin
Vasudevan Deepak Kumar6-Aug-07 0:50
Vasudevan Deepak Kumar6-Aug-07 0:50 
AnswerRe: Emergency , need help Pin
Pete O'Hanlon6-Aug-07 1:12
subeditorPete O'Hanlon6-Aug-07 1:12 
GeneralRe: Emergency , need help Pin
Developer6116-Aug-07 1:45
Developer6116-Aug-07 1:45 

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.