14 June, 2013

Show message "Loading data please wait" in WinForm using C#

You need to write the following code:

      frmLoadinData _frmLoad = new frmLoadinData();
      _frmLoad.Show();
      Application.DoEvents();
/*Start your operation code from here*/
 Write your code here, like get data from data base or any other operation
/*End your Operation here*/
      _frmLoad.Close();


N.B.: frmLoadinData is a form where a label with text "Loading data please wait"

No comments:

Post a Comment