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(); } }
private void OnCloseButtonClick() { if (ControlCheckWindow.isAllPass) { AnimationModel.ConnectAnimateionResume(); LoopCheckModel.StartBackgroundCheckControlThread(); } }
private void OnOkClick() { base.Close(); base.Dispose(); if (ControlCheckWindow.isAllPass) { AnimationModel.ConnectAnimateionResume(); LoopCheckModel.StartBackgroundCheckControlThread(); } }
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(); }