public void Reset() { StartClock.Show(); IsStrClkShow = true; PauseClock.Hide(); ISPauClkShow = false; timer1.Stop(); Timer = Global.exerciseTime; }
public void Pause() { State = "pause"; timer1.Stop(); PauseClock.Hide(); ISPauClkShow = false; StartClock.Show(); IsStrClkShow = true; ImageAnimator.StopAnimate(animationImage, new EventHandler(OnFrameChanged)); Invalidate(); }