/// <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 + ")"; } }
/// <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 + ")"; } }