Get text in statusstrip and wait cursor

Jelmer

Regular
Joined
Jan 11, 2006
Messages
96
Code:
        private void frmEerste_Click(object sender, EventArgs e)
        {
            try
            {
                status.Text = "Eerste record inlezen";                
                klant.open();
                klant.first();                
                fill();
            }
            finally
            {
                status.Text = "Gereed";
            }
        }

Thats my code.
but i don't see the change in the status field.
Status field is a part of a statusstrip.
should i do a application.wait or something ?

Second question.
Is it possible to get another cursor while pressing the button ?
And how ?
 
Got it:

Code:
                this.Cursor = Cursors.AppStarting ;
                System.Windows.Forms.Application.DoEvents();
 
Back
Top