G
Guest
Platform WinCE 4.2, C#
I am working on a wizard based application. The navigation between the forms
is handled in button click event handlers for push buttons on the forms. I
want to display the wait cursor when the user presses the button to navigate
to the next form. In the button click event handlers I have the following
code:
// Wait Cursor
System.Windows.Forms.Cursor.Current =
System.Windows.Forms.Cursors.WaitCursor;
System.Windows.Forms.Cursor.Show();
When each form is initialized I have the following code:
// Set the cursor to default.
System.Windows.Forms.Cursor.Current =
System.Windows.Forms.Cursors.Default;
The problem is that the WaitCursor is not displayed consistently for every
button click. Sometimes it is displayed and other times the default arrow
cursor stays displayed. I don't see what in my code is causing this??
TIA
Mark
I am working on a wizard based application. The navigation between the forms
is handled in button click event handlers for push buttons on the forms. I
want to display the wait cursor when the user presses the button to navigate
to the next form. In the button click event handlers I have the following
code:
// Wait Cursor
System.Windows.Forms.Cursor.Current =
System.Windows.Forms.Cursors.WaitCursor;
System.Windows.Forms.Cursor.Show();
When each form is initialized I have the following code:
// Set the cursor to default.
System.Windows.Forms.Cursor.Current =
System.Windows.Forms.Cursors.Default;
The problem is that the WaitCursor is not displayed consistently for every
button click. Sometimes it is displayed and other times the default arrow
cursor stays displayed. I don't see what in my code is causing this??
TIA
Mark