Ejemplo n.º 1
0
 internal void ShowStep0Message(string Text)
 {
     if (Step1StatusLbl.InvokeRequired)
     {
         ShowStep0Message_d CALL_d = new ShowStep0Message_d(ShowStep0Message);
         Step1StatusLbl.Invoke(CALL_d, new object[] { Text });
     }
     else
     {
         Step1StatusLbl.Text = Text;
     }
 }
Ejemplo n.º 2
0
 internal void ShowStep0Error(string Text)
 {
     if (Step1StatusLbl.InvokeRequired)
     {
         ShowStep0Error_d CALL_d = new ShowStep0Error_d(ShowStep0Error);
         Step1StatusLbl.Invoke(CALL_d, new object[] { Text });
     }
     else
     {
         this.Step0StatusTB.Text = Text;
         if (Text.Length == 0)
         {
             this.Step0StatusTB.Visible = false;
         }
         else
         {
             this.Step0StatusTB.ForeColor = Color.Red;
             this.Step0StatusTB.Visible   = true;
         }
     }
 }
Ejemplo n.º 3
0
 internal void ConnectivityCheckEnd(bool Success)
 {
     if (Step1StatusLbl.InvokeRequired)
     {
         ConnectivityCheckEnd_d CALL_d = new ConnectivityCheckEnd_d(ConnectivityCheckEnd);
         Step1StatusLbl.Invoke(CALL_d, new object[] { Success });
     }
     else
     {
         if (Success)
         {
             Step1Progress.Visible   = false;
             Step1StatusLbl.Text     = "Congrats! Url is reachable, proceed to the next step.";
             StepZeroNextBtn.Enabled = true;
         }
         else
         {
             IronUI.UI.ConsoleScanUrlTB.ReadOnly = false;
             this.CloseWindow();
         }
     }
 }