- Joined
- Nov 8, 2011
- Messages
- 1
- Reaction score
- 0
Hi All,
I need to disable my background form when I show a wait cursor in my windows mobile application i.e. While a cursor is running it’s not possible to press or click other buttons concerning the application.
I am using code like:
public void mnuLogin_Click(object sender, EventArgs e)
{
try
{
Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
//do the processing
Cursor.Current = Cursors.Default;
Cursor.Show();
}
}
But the user is able to press the ok button and other menus in the form ..I am facing this for all forms in the applicaton. How to accomplish this...please help.
I need to disable my background form when I show a wait cursor in my windows mobile application i.e. While a cursor is running it’s not possible to press or click other buttons concerning the application.
I am using code like:
public void mnuLogin_Click(object sender, EventArgs e)
{
try
{
Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
//do the processing
Cursor.Current = Cursors.Default;
Cursor.Show();
}
}
But the user is able to press the ok button and other menus in the form ..I am facing this for all forms in the applicaton. How to accomplish this...please help.