Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
QuestionAnonymous instance implementing IDisposable interface Pin
Spacix One1-May-08 12:00
Spacix One1-May-08 12:00 
AnswerRe: Anonymous instance implementing IDisposable interface Pin
N a v a n e e t h1-May-08 20:50
N a v a n e e t h1-May-08 20:50 
RantRe: Anonymous instance implementing IDisposable interface Pin
Spacix One2-May-08 3:14
Spacix One2-May-08 3:14 
QuestionIs there a way to the label the ticks in the TrackBar Pin
bscaer1-May-08 11:28
bscaer1-May-08 11:28 
AnswerRe: Is there a way to the label the ticks in the TrackBar Pin
Christian Graus1-May-08 11:51
protectorChristian Graus1-May-08 11:51 
QuestionCodeDom Problem. Pin
hdv2121-May-08 10:02
hdv2121-May-08 10:02 
AnswerRe: CodeDom Problem. Pin
John_Adams1-May-08 22:17
John_Adams1-May-08 22:17 
QuestionThreads in Windows service Pin
RoyceF1-May-08 8:38
RoyceF1-May-08 8:38 
I have a Windows service in which I need to stop worker threads from my main thread. I am trying to use events to do this but I am stumped on why it is not working. Each class that runs a worker thread creates a stop event and a response event. When I need to stop the worker thread I call into the threads class and set the event. However, instead of the worker thread detecting that the event has been set and stopping gracefully, it just disappears. Why?

What is the best method for stopping a worker thread from the main thread?
AnswerRe: Threads in Windows service Pin
PIEBALDconsult1-May-08 9:31
mvePIEBALDconsult1-May-08 9:31 
AnswerRe: Threads in Windows service Pin
Urs Enzler1-May-08 10:03
Urs Enzler1-May-08 10:03 
GeneralRe: Threads in Windows service Pin
RoyceF1-May-08 11:06
RoyceF1-May-08 11:06 
GeneralRe: Threads in Windows service Pin
Gareth H1-May-08 11:19
Gareth H1-May-08 11:19 
GeneralRe: Threads in Windows service Pin
RoyceF1-May-08 11:36
RoyceF1-May-08 11:36 
GeneralRe: Threads in Windows service Pin
RoyceF1-May-08 11:27
RoyceF1-May-08 11:27 
GeneralRe: Threads in Windows service Pin
RoyceF1-May-08 11:40
RoyceF1-May-08 11:40 
QuestionWindows Mobile 5 - moving selected form items up when osk activated Pin
Spacedmc1-May-08 7:57
Spacedmc1-May-08 7:57 
AnswerRe: Windows Mobile 5 - moving selected form items up when osk activated Pin
Arjun Marwaha1-May-08 11:30
Arjun Marwaha1-May-08 11:30 
Questionimport/Export Xml into a hastable Pin
Member 40084921-May-08 6:18
Member 40084921-May-08 6:18 
AnswerRe: import/Export Xml into a hastable Pin
Gareth H1-May-08 7:55
Gareth H1-May-08 7:55 
AnswerRe: import/Export Xml into a hastable Pin
Anthony Mushrow1-May-08 8:12
professionalAnthony Mushrow1-May-08 8:12 
Questionyield return Pin
George_George1-May-08 4:23
George_George1-May-08 4:23 
AnswerRe: yield return Pin
led mike1-May-08 4:41
led mike1-May-08 4:41 
GeneralRe: yield return Pin
George_George1-May-08 4:45
George_George1-May-08 4:45 
GeneralRe: yield return Pin
User 66581-May-08 6:32
User 66581-May-08 6:32 
GeneralRe: yield return Pin
George_George1-May-08 21:58
George_George1-May-08 21:58 

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.