private void InitializeComponent() { this.pnl_top = new BasePanel(); this.pnl_ToolBar = new BasePanel(); this.pnl_Contents = new BasePanel(); this.SuspendLayout(); // // pnl_top // this.pnl_top.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_top.Location = new System.Drawing.Point(0, 0); this.pnl_top.Name = "pnl_top"; this.pnl_top.Size = new System.Drawing.Size(240, 30); // // pnl_ToolBar // this.pnl_ToolBar.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_ToolBar.Location = new System.Drawing.Point(0, 30); this.pnl_ToolBar.Name = "pnl_ToolBar"; this.pnl_ToolBar.Size = new System.Drawing.Size(240, 25); // // pnl_Contents // this.pnl_Contents.Dock = System.Windows.Forms.DockStyle.Fill; this.pnl_Contents.Location = new System.Drawing.Point(0, 55); this.pnl_Contents.Name = "pnl_Contents"; this.pnl_Contents.Size = new System.Drawing.Size(240, 239); // // SecondaryForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.ClientSize = new System.Drawing.Size(240, 294); this.Controls.Add(this.pnl_Contents); this.Controls.Add(this.pnl_ToolBar); this.Controls.Add(this.pnl_top); this.Name = "SecondaryForm"; this.ResumeLayout(false); }