Ejemplo n.º 1
0
 private void CreateLeftPanel()
 {
     LeftPanel = new GdiRectangle
     {
         Size = new SizeF(LeftPanelWidth, this.Size.Height)
     };
     this.AddChild(LeftPanel);
 }
Ejemplo n.º 2
0
 private void CreateRightPanel()
 {
     RightPanel = new GdiRectangle
     {
         Margin = new PointF(LeftPanelWidth, 0),
         Size   = new SizeF(this.Size.Width - LeftPanelWidth, this.Size.Height)
     };
     this.AddChild(RightPanel);
 }