示例#1
0
 private void ClosePWForm()
 {
     if (fPleaseWait != null)
     {
         fPleaseWait.CloseMe();
         fPleaseWait = null;
     }
 }
示例#2
0
 private void ShowPWForm(string txtActivity, int initialProgress)
 {
     if (fPleaseWait == null)
     {
         fPleaseWait = new frmPleaseWait(txtActivity);
         fPleaseWait.StartPosition = FormStartPosition.CenterParent;
         fPleaseWait.Show(this);
         fPleaseWait.setProgress(initialProgress);
     }
     else
     {
         UpdatePWForm(txtActivity);
     }
 }