msfanboy
msfanboy

Reputation: 5291

How would you stop a thread when the Window is closing and

...the class with the running thread is far away from the closing_event of the window.

btw. we use composite application block from MS.

Upvotes: 1

Views: 364

Answers (1)

Henrik
Henrik

Reputation: 23324

Use a Named Event to communicate with you far-away-thread.

Upvotes: 1

Related Questions