Locking Desktop and Threading Issue
- From: Jenbo <eamonnjennings@xxxxxxxxxxx>
- Date: 1 May 2007 09:35:44 -0700
Hi, I have an application that displays forms on the users desktop,
what I am doing with it is having a SystemEvents
SessionSwitchEventHandler to capture the lock of the desktop, I would
like to kill the forms when this event is captured, that piece is
fine, but I would like to sleep the app until the
SessionSwitchReason.SessionUnlock happens then I can wake it again and
go the correct part of the code? Can I wake a sleeping thread, or
should I not sleep the thread at all, is there another way to get the
thread to sleep or hibernate and then wake up?
Thanks
Eamonn
.
- Follow-Ups:
- Re: Locking Desktop and Threading Issue
- From: Peter Duniho
- Re: Locking Desktop and Threading Issue
- From: Jigar Mehta
- Re: Locking Desktop and Threading Issue
- Prev by Date: Re: Questions about clickOnce
- Next by Date: Re: Questions about clickOnce
- Previous by thread: Re: int.Parse and NumberStyles.AllowParentheses
- Next by thread: Re: Locking Desktop and Threading Issue
- Index(es):
Relevant Pages
|
Loading