Exemplo n.º 1
0
 private void ShowControlByStatus(int status)
 {
     if (status == -1000)
     {
         this.ShowCheckControl();
         return;
     }
     if (status == -2000)
     {
         this.ShowRebootControl();
         return;
     }
     if (status == -1001)
     {
         this.ShowRouterControl();
         return;
     }
     if (status == -1002)
     {
         this.ShowRaspberryControl();
         return;
     }
     if (status == -3000)
     {
         this.ShowCableControl();
         return;
     }
     if (status == 0)
     {
         base.Close();
         base.Dispose();
         AnimationModel.ConnectAnimateionResume();
         LoopCheckModel.StartBackgroundCheckControlThread();
     }
 }
Exemplo n.º 2
0
 private void OnCloseButtonClick()
 {
     if (ControlCheckWindow.isAllPass)
     {
         AnimationModel.ConnectAnimateionResume();
         LoopCheckModel.StartBackgroundCheckControlThread();
     }
 }
Exemplo n.º 3
0
 private void OnOkClick()
 {
     base.Close();
     base.Dispose();
     if (ControlCheckWindow.isAllPass)
     {
         AnimationModel.ConnectAnimateionResume();
         LoopCheckModel.StartBackgroundCheckControlThread();
     }
 }
Exemplo n.º 4
0
 private void OnWirelessFinish()
 {
     ControlCheckWindow.isChecking = false;
     ControlCheckWindow.isAllPass  = true;
     this.progressBox.Image        = Resources.connect_success_progress;
     this.indicatorWireless.Image  = Resources.vr_success;
     this.routerLabel.Visible      = false;
     this.raspberryLabel.Visible   = false;
     this.systemLabel.Visible      = false;
     this.messageLabel.Text        = Resources.messageSuccess;
     this.messageLabel.Visible     = true;
     LoopCheckModel.StartBackgroundCheckControlThread();
 }