Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: Half way there Pin
Tristan Rhodes29-Mar-04 8:15
Tristan Rhodes29-Mar-04 8:15 
GeneralRe: Half way there Pin
Heath Stewart29-Mar-04 8:35
protectorHeath Stewart29-Mar-04 8:35 
GeneralCursor Clipping Pin
Tristan Rhodes29-Mar-04 8:38
Tristan Rhodes29-Mar-04 8:38 
GeneralRe: Cursor Clipping Pin
Heath Stewart29-Mar-04 8:44
protectorHeath Stewart29-Mar-04 8:44 
GeneralRe: Cursor Clipping Pin
Tristan Rhodes29-Mar-04 8:57
Tristan Rhodes29-Mar-04 8:57 
GeneralRe: Cursor Clipping Pin
Heath Stewart29-Mar-04 9:13
protectorHeath Stewart29-Mar-04 9:13 
GeneralRe: Cursor Clipping Pin
Tristan Rhodes29-Mar-04 11:05
Tristan Rhodes29-Mar-04 11:05 
GeneralEvents Pin
Demian Panello29-Mar-04 4:40
Demian Panello29-Mar-04 4:40 
Hi!

Does anyone knows if there's an object to handle events, like the Api's functions CreateEvent() or SetEvent().
I need to set events to check some objects state, and using WaitForSingleObject() to wait for the event. In C++ I would do:

SetEvent(hEvent1);
dwerror=WaitForSingleObject(hEvent2, timeout);
ResetEvent(hEvent1);

How could I do something like that in C#?.

Thank you.



Demian.
GeneralRe: Events Pin
Colin Angus Mackay29-Mar-04 5:11
Colin Angus Mackay29-Mar-04 5:11 
GeneralRe: Events Pin
Colin Angus Mackay29-Mar-04 5:13
Colin Angus Mackay29-Mar-04 5:13 
GeneralRe: Events Pin
Heath Stewart29-Mar-04 5:19
protectorHeath Stewart29-Mar-04 5:19 
GeneralSerializing /DeSerializing a class by itself Pin
MANJU_JOHN29-Mar-04 4:32
sussMANJU_JOHN29-Mar-04 4:32 
GeneralRe: Serializing /DeSerializing a class by itself Pin
Heath Stewart29-Mar-04 5:18
protectorHeath Stewart29-Mar-04 5:18 
GeneralCustom textbox with OnPaintBackground Pin
Stephen Birdsall29-Mar-04 3:59
Stephen Birdsall29-Mar-04 3:59 
GeneraltabPages Pin
bertcox29-Mar-04 2:50
bertcox29-Mar-04 2:50 
GeneralRe: tabPages Pin
Dave Kreskowiak29-Mar-04 4:09
mveDave Kreskowiak29-Mar-04 4:09 
GeneralRe: tabPages Pin
bertcox29-Mar-04 4:13
bertcox29-Mar-04 4:13 
GeneralRow moving Pin
basdanny29-Mar-04 1:45
basdanny29-Mar-04 1:45 
GeneralLong arithmetic Pin
Lego Bragis29-Mar-04 0:40
Lego Bragis29-Mar-04 0:40 
GeneralRe: Long arithmetic Pin
Dave Kreskowiak29-Mar-04 2:08
mveDave Kreskowiak29-Mar-04 2:08 
GeneralRe: Long arithmetic Pin
Lego Bragis29-Mar-04 7:35
Lego Bragis29-Mar-04 7:35 
GeneralRe: Long arithmetic Pin
Dave Kreskowiak29-Mar-04 7:48
mveDave Kreskowiak29-Mar-04 7:48 
GeneralRe: Long arithmetic Pin
Lego Bragis29-Mar-04 8:08
Lego Bragis29-Mar-04 8:08 
GeneralRe: Long arithmetic Pin
Spanky329-Mar-04 3:03
Spanky329-Mar-04 3:03 
GeneralIE DOM in C# Pin
Lego Bragis29-Mar-04 0:34
Lego Bragis29-Mar-04 0:34 

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.