Exemplo n.º 1
0
 private void switchChannel_Click(object sender, EventArgs e)
 {
     if (!ControlCheckWindow.isChecking)
     {
         LoopCheckModel.AbortBackgroundCheckControlThread();
         Util.showGrayBackground();
         new NetworkDialog
         {
             OnBackClick = new NetworkDialog.OnBackClickDelegate(this.networkDialogBackClick)
         }.Show(Util.sContext);
     }
 }
Exemplo n.º 2
0
 private void BackClick()
 {
     LoopCheckModel.AbortBackgroundCheckControlThread();
     if (this.connectModel != null)
     {
         this.connectModel.AbortCheckControlReloadThread();
     }
     base.Close();
     base.Dispose();
     if (this.OnBackClick != null)
     {
         this.OnBackClick();
     }
 }