示例#1
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new StopState(_stopWatch));
 }
示例#2
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new RunningState(_stopWatch));
 }