예제 #1
0
 /// <summary>
 /// Prints this container on a given canvas.
 /// </summary>
 /// <param name="canvas"></param>
 public override void PrintOnCanvas(Canvas canvas)
 {
     isBeingDrawn = true;
     DrawWindow();
     DrawContent();
     this.canvas.ApplyNewFrame();
     canvas.AddCanvas(this.canvas, position.X, position.Y);
     isBeingDrawn = false;
 }