Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
493 views
in Programming by The go-to Tester (181 points)
retagged by
I am using c#. I need to log into server using WindowsLogin form. Windows login form will make request to the server. I need to show my cursor as busy when user is loggin in. Can you help me with code for the same in c#?

1 Answer

0 like 0 dislike
by
selected by
 
Best answer

To make your cursor wait use this at the begining of a function.

// Set cursor as hourglass
Cursor.Current = Cursors.WaitCursor;

// Execute your time-intensive hashing code here...

 

To change back cusrsor to default.

// Set cursor as default arrow
Cursor.Current = Cursors.Default;

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...