예제 #1
0
 private void CallShowAction(StepArgs setpInfo)
 {
     if (ShowAction != null)
     {
         ShowAction(setpInfo);
     }
 }
예제 #2
0
 private void StepAction(StepArgs stepInfo)
 {
     if (stepInfo.To != Direction.None)
     {
         Game.GoTo(stepInfo.To);
     }
     else
     {
         Game.CutTo(stepInfo.Index);
     }
     this.Invalidate();
     Thread.Sleep(stepSpace);
 }