Example #1
0
 private void CreateLeftPanel()
 {
     LeftPanel = new GdiRectangle
     {
         Size = new SizeF(LeftPanelWidth, this.Size.Height)
     };
     this.AddChild(LeftPanel);
 }
Example #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);
 }