margarit
asked on
Changing cursor to wait cursor in C#
Hello,
I have one long algorithm in my code and I wanted to change the mouse cursor to wait cursor during it's implementation.
I added the following code line to place where I call the algorithm, but my cursor remained the same:
Cursor.Current = Cursors.WaitCursor;
from the similar questions&answers in this site I understood why this happens but I dont understand how I can overcome it. (I'm new with C#).
Thanks in advance
I have one long algorithm in my code and I wanted to change the mouse cursor to wait cursor during it's implementation.
I added the following code line to place where I call the algorithm, but my cursor remained the same:
Cursor.Current = Cursors.WaitCursor;
from the similar questions&answers in this site I understood why this happens but I dont understand how I can overcome it. (I'm new with C#).
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Oh, I did not try this.Cursor = Cursors.WaitCursor . i will try now.
ASKER
THANKS!!! it works!
Glad to see that it works :)
ASKER
It works fine. Quick & Simple. Thanks a lot.
ASKER