Exemple #1
0
 void SetRoundTrip(int RoundTrip)
 {
     if (this.BaseTabs.InvokeRequired)
     {
         SetRoundTrip_d InvokeDelegate_d = new SetRoundTrip_d(SetRoundTrip);
         this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { RoundTrip });
     }
     else
     {
         this.RoundTripLbl.Text = string.Format("{0} ms", RoundTrip);
     }
 }
Exemple #2
0
 void SetRoundTrip(int RoundTrip)
 {
     if (this.BaseTabs.InvokeRequired)
     {
         SetRoundTrip_d InvokeDelegate_d = new SetRoundTrip_d(SetRoundTrip);
         this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { RoundTrip });
     }
     else
     {
         this.RoundTripLbl.Text = string.Format("{0} ms", RoundTrip);
     }
 }