Пример #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);
 }