DCT.UI.CoreUI.UpdateCountdown C# (CSharp) Method

UpdateCountdown() private method

private UpdateCountdown ( ) : void
return void
        private void UpdateCountdown()
        {
            int s = mCountdownTimer.CurrentCountdown;
            string s2 = (s % 60).ToString();
            lblTimeLeft.Text = "Time left: " + (s / 60) + ":" + (s2.Length == 1 ? "0" + s2 : s2);

            if (!Settings.UseCountdownTimer && !Settings.UseHourTimer)
            {
                mCountdownTimer.Stop();
            }
        }
CoreUI