You can use this short of code to show houglass/waiting cursor when executing a long action in C#
Cursor.Current = Cursors.WaitCursor;
//Long action
Cursor.Current = Cursors.Default;
Cursor.Current = Cursors.WaitCursor;
//Long action
Cursor.Current = Cursors.Default;
Comments
Post a Comment