Ejemplo n.º 1
0
 /// <summary>
 /// Sets time in measurement.
 /// </summary>
 /// <param name="time">Time in measurement as string.</param>
 public void SetTimeInMeasurement(string time)
 {
     if (this.InvokeRequired)
     {
         SetTimeInMeasurementSafely d = new SetTimeInMeasurementSafely(SetTimeInMeasurement);
         Invoke(d, new object[] { time });
     }
     else
     {
         recordingStatusLabel.Text = "Recording (" + time + ")";
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets time in measurement.
 /// </summary>
 /// <param name="time">Time in measurement as string.</param>
 public void SetTimeInMeasurement(string time)
 {
     if (this.InvokeRequired)
     {
         SetTimeInMeasurementSafely d = new SetTimeInMeasurementSafely(SetTimeInMeasurement);
         Invoke(d, new object[] { time });
     }
     else
     {
         recordingStatusLabel.Text = "Recording (" + time + ")";
     }
 }