Beispiel #1
0
 /// <summary>
 /// 开始一个新的工作番茄
 /// </summary>
 private void StartWorkPomodo()
 {
     if (p1ExsitFlag)
     {
         p1.PlayLooping();
     }
     _startTime    = DateTime.Now;
     _currentState = PomodoState.Working;
 }
Beispiel #2
0
 /// <summary>
 /// 开始一个新的休息番茄
 /// </summary>
 private void StartRestPomodo()
 {
     _startTime    = DateTime.Now;
     _currentState = PomodoState.Resting;
 }
Beispiel #3
0
 /// <summary>
 /// 开始一个新的工作番茄
 /// </summary>
 private void StartWorkPomodo()
 {
     _startTime    = DateTime.Now;
     _currentState = PomodoState.Working;
 }
Beispiel #4
0
 /// <summary>
 /// 开始一个新的工作番茄
 /// </summary>
 private void StartWorkPomodo()
 {
     this.counter++;
     _startTime    = DateTime.Now;
     _currentState = PomodoState.Working;
 }