コード例 #1
0
        public PuzzlePage()
        {
            this.InitializeComponent();

            solvedPuzzle = 0;

            PLG = new LogoTurtle(LayoutRoot, puzzle_canvas, position_block);
            ULG = new LogoTurtle(LayoutRoot, puzzle_canvas, position_block);
            HLG = new LogoTurtle(LayoutRoot, puzzle_canvas, null);

            PLG.Update();
            ULG.Update();
            HLG.Update();

            this.Loaded += PuzzlePage_Loaded;
        }
コード例 #2
0
 public TurtlePage()
 {
     InitializeComponent();
     LG = new LogoTurtle(LayoutRoot, turtle_canvas, position_block);
     this.Loaded += TurtlePage_Loaded;
 }