/// <summary> /// Initializes a new none clock. /// </summary> public NoneClock() { m_whiteTimer = new StopwatchTimer(); m_blackTimer = new StopwatchTimer(); m_whiteTimer.TimerNotify += WhiteClockEventHandler; m_blackTimer.TimerNotify += BlackClockEventHandler; m_currentState = new ClockState(new TimeSpan(), new TimeSpan()); m_undoHistory = new Stack<ClockState>(); m_redoHistory = new Stack<ClockState>(); }
/// <summary> /// Initializes a new none clock. /// </summary> public NoneClock() { m_whiteTimer = new StopwatchTimer(); m_blackTimer = new StopwatchTimer(); m_whiteTimer.TimerNotify += WhiteClockEventHandler; m_blackTimer.TimerNotify += BlackClockEventHandler; m_currentState = new ClockState(new TimeSpan(), new TimeSpan()); m_undoHistory = new Stack <ClockState>(); m_redoHistory = new Stack <ClockState>(); }