Cursor is not rotating up to end of the Process in Windows Mobile Application

Pregunta Cursor is not rotating up to end of the Process in Windows Mobile Application

  • viernes, 09 de marzo de 2012 6:32
     
      Tiene código

    I have a button in my Form and when I click the Button It will get the data from different tables through webservice.

    I am writing the code below

    private void imageButtonWorkOrder_Click(object sender, EventArgs e)
    {
        try
        {
            Cursor.Current = Cursors.WaitCursor;
    
            //Code for to get data from 10 tables
        }
        catch
        {
        }
        finally
        {
            Cursor.Current = Cursors.Default;            
        }
    }

    But the problem I am facing is that the cursor is not rotating up to end of the process.

    It's simply stopping after some time.

    Please suggest me how to fix this problem.

    Thanks in Advance,

    Balu


Todas las respuestas

  • viernes, 09 de marzo de 2012 9:59
     
     

    Hi,

    Is it working when you are showing only wait cursor without getting data?


    -Malleswar