コード例 #1
0
ファイル: RobotCar.cs プロジェクト: katjax3ngel/OONTZ
 public static void Main(String[] args)
 {
     {
     RobotCar rc = new RobotCar(20, 20);
     rc.Run();
     }
 }
コード例 #2
0
 public void InitDistance()
 {
     foreach (AnimationButton bt in FindVisualChildren <AnimationButton>(this.container))
     {
         bt.Click += btnTest;
         Point p = RobotCar.TranslatePoint(new Point(), bt);
         bt.DiffDistance = p;
         btnList.Add(bt);
     }
 }