/// <summary> /// Reset time in mode to 0. /// </summary> /// <param name="time">Time in </param> public void ResetTimeInMode() { if (this.InvokeRequired) { ResetTimeInModeSafely d = new ResetTimeInModeSafely(ResetTimeInMode); Invoke(d, new object[] { }); } else { timeInMode = 0; timeInCurrentModeLabel.Text = "0"; timeInCurrentModeLabel.BackColor = SystemColors.Control; } }