G
Guest
translating a project from c++ to c#.
BeginWaitCursor and EndWaitCursor
is lock a good equivalent?
thanks
BeginWaitCursor and EndWaitCursor
is lock a good equivalent?
thanks
Nicholas Paldino said:BeginWaitCursor and EndWaitCursor are used to display an hourglass
cursor. lock is used to synchronize access to a resource from multiple
accesses across threads. They are not related.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
mgonzales3 said:translating a project from c++ to c#.
BeginWaitCursor and EndWaitCursor
is lock a good equivalent?
thanks
mgonzales3 said:my c++ code;
----------------
BeginWaitCursor();
if (test1)
//do stuff
else if (test2)
//then do this stuff
EndWaitCursor();
but if all i'm doing is showing an hourglass i can simply use the cursor
class?
Nicholas Paldino said:BeginWaitCursor and EndWaitCursor are used to display an hourglass
cursor. lock is used to synchronize access to a resource from multiple
accesses across threads. They are not related.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
mgonzales3 said:translating a project from c++ to c#.
BeginWaitCursor and EndWaitCursor
is lock a good equivalent?
thanks