예제 #1
0
 private void ShowProgress(bool show)
 {
     if (show)
     {
         if (!CtrlManager.IsWindowOpen(WindowID.ProgressView))
         {
             this._retryNum = 1;
         }
         ProgressView.ShowProgressText(string.Concat(new object[]
         {
             "正在尝试重连",
             this._retryNum,
             "/",
             3
         }));
     }
     else
     {
         CtrlManager.CloseWindow(WindowID.ProgressView);
     }
 }