Exemplo n.º 1
0
 public TurtleForm()
 {
     this.Title = "ZLOGO程序";
     StackFrame[] stacks = new StackTrace().GetFrames();
     Turtle = new TurtleSprite(this);
     Window = this;
 }
Exemplo n.º 2
0
 public TurtleForm()
 {
     StackFrame[] stacks = new StackTrace().GetFrames();
     //Console.WriteLine(StackFramesToString(stacks));
     Turtle = new TurtleSprite();
     //Console.WriteLine("TurtleTestForm Init");
     Turtle.Init(this);
     this.Size = new Size(800, 600);
     Window    = this;
     //RunZLogo();
     //this.Load += new System.EventHandler(this.TurtleForm_Load);
     this.Activated += new System.EventHandler(this.TurtleForm_Activated);
 }