N
news.microsoft.com
I've got button click event that calls and does some stuff with a web service. While that is happening I'd like to have the Cursor be in "wait" mode. (i.e. Cursors.WaitCursor - the hourglass)
However - even though I set that, shortly after the web service communication begins, the cursor reverts to the default cursor.
How do I make that WaitCursor stick?
Here's my code:
Cursor.Current = System.Windows.Forms.Cursors.WaitCursor; //Cursors.WaitCursor;
Localhost.FrogBlogManager mgr = new Localhost.FrogBlogManager();
AddEntryBLL.SignSOAPMessage(ref mgr);
mgr.AddEntry(tbSubject.Text, rtbBlogBody.Text);
Cursor.Current = Cursors.Default;
I found this article attempting to explain it - but it gives no resolution.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c99c.asp#q624q
Hope someone can help.
Carson
However - even though I set that, shortly after the web service communication begins, the cursor reverts to the default cursor.
How do I make that WaitCursor stick?
Here's my code:
Cursor.Current = System.Windows.Forms.Cursors.WaitCursor; //Cursors.WaitCursor;
Localhost.FrogBlogManager mgr = new Localhost.FrogBlogManager();
AddEntryBLL.SignSOAPMessage(ref mgr);
mgr.AddEntry(tbSubject.Text, rtbBlogBody.Text);
Cursor.Current = Cursors.Default;
I found this article attempting to explain it - but it gives no resolution.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c99c.asp#q624q
Hope someone can help.
Carson