Click here to Skip to main content
16,013,933 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disable Close Button Pin
Neil Van Note27-Apr-02 15:34
Neil Van Note27-Apr-02 15:34 
GeneralRe: Disable Close Button Pin
Sabran28-Apr-02 9:03
Sabran28-Apr-02 9:03 
GeneralRe: Disable Close Button Pin
Neil Van Note28-Apr-02 9:33
Neil Van Note28-Apr-02 9:33 
GeneralThreads Pin
Sabran26-Apr-02 23:58
Sabran26-Apr-02 23:58 
GeneralRe: Threads Pin
James T. Johnson27-Apr-02 11:27
James T. Johnson27-Apr-02 11:27 
GeneralRe: Threads Pin
Sabran27-Apr-02 13:00
Sabran27-Apr-02 13:00 
GeneralRe: Threads Pin
James T. Johnson27-Apr-02 13:52
James T. Johnson27-Apr-02 13:52 
GeneralRe: Threads Pin
Sabran28-Apr-02 9:11
Sabran28-Apr-02 9:11 
Ok. This is making a bit more sense to me now. It's just like any other bitwise comparison. What I'm confused about is this:

If the state of the Thread is *just* running, then checking if
generateStart.ThreadState == ThreadState.Running
should yield true, right? It's only the case where there's the possibility of the ThreadState having more than one flag set where I must do a bitwise AND comparison of the two, to ensure that at least one of those flags is the "Running" flag.

Isn't this the way it works? Or am I just losing my mind?

- Sabran
GeneralDataGrid Cell / Row Color Change Pin
Prash26-Apr-02 23:28
Prash26-Apr-02 23:28 
GeneralRe: DataGrid Cell / Row Color Change Pin
James T. Johnson26-Apr-02 23:49
James T. Johnson26-Apr-02 23:49 
GeneralIDictionary Pin
Christian Graus26-Apr-02 18:07
protectorChristian Graus26-Apr-02 18:07 
GeneralRe: IDictionary Pin
Neil Van Note26-Apr-02 18:37
Neil Van Note26-Apr-02 18:37 
GeneralRe: IDictionary Pin
Tom Archer26-Apr-02 18:43
Tom Archer26-Apr-02 18:43 
GeneralChild Form positioning according to resize of MdiParent Form Pin
Prash26-Apr-02 17:56
Prash26-Apr-02 17:56 
GeneralRe: Child Form positioning according to resize of MdiParent Form Pin
James T. Johnson26-Apr-02 18:49
James T. Johnson26-Apr-02 18:49 
QuestionJust curious .. Wheres my Business Logic ? Pin
Dato26-Apr-02 15:15
Dato26-Apr-02 15:15 
AnswerRe: Just curious .. Wheres my Business Logic ? Pin
James T. Johnson26-Apr-02 16:22
James T. Johnson26-Apr-02 16:22 
GeneralDrawing Charts Pin
26-Apr-02 14:19
suss26-Apr-02 14:19 
GeneralRe: Drawing Charts Pin
James T. Johnson26-Apr-02 16:58
James T. Johnson26-Apr-02 16:58 
GeneralRe: Drawing Charts Pin
Nick Parker26-Apr-02 18:13
protectorNick Parker26-Apr-02 18:13 
QuestionHow can I...? Pin
Vasti26-Apr-02 10:02
Vasti26-Apr-02 10:02 
AnswerRe: How can I...? Pin
Tom Archer26-Apr-02 10:10
Tom Archer26-Apr-02 10:10 
AnswerRe: How can I...? Pin
Vlad Beu26-Apr-02 11:08
Vlad Beu26-Apr-02 11:08 
GeneralRe: How can I...? Pin
Tom Archer26-Apr-02 11:15
Tom Archer26-Apr-02 11:15 
QuestionIs this a c# bug? Pin
Vlad Beu26-Apr-02 9:47
Vlad Beu26-Apr-02 9:47 

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.