Disable background form when showing a wait cursor

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top