diff --git a/Bin/SunnyUI.dll b/Bin/SunnyUI.dll index bd94f292..4cf6c00f 100644 Binary files a/Bin/SunnyUI.dll and b/Bin/SunnyUI.dll differ diff --git a/Bin/SunnyUI.pdb b/Bin/SunnyUI.pdb index 5fe89c63..7a6fc393 100644 Binary files a/Bin/SunnyUI.pdb and b/Bin/SunnyUI.pdb differ diff --git a/SunnyUI.Demo/Bin/SunnyUI.dll b/SunnyUI.Demo/Bin/SunnyUI.dll index bd94f292..4cf6c00f 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.dll and b/SunnyUI.Demo/Bin/SunnyUI.dll differ diff --git a/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs b/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs index 3219bdd0..473d8b74 100644 --- a/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs +++ b/SunnyUI/Controls/DropItem/UIComboBoxItem.Designer.cs @@ -55,7 +55,7 @@ // UIComboBoxItem // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.listBox); this.Name = "UIComboBoxItem"; this.Size = new System.Drawing.Size(184, 210); diff --git a/SunnyUI/Controls/DropItem/UIDateTimeItem.Designer.cs b/SunnyUI/Controls/DropItem/UIDateTimeItem.Designer.cs index 9cbd45be..b82d81c8 100644 --- a/SunnyUI/Controls/DropItem/UIDateTimeItem.Designer.cs +++ b/SunnyUI/Controls/DropItem/UIDateTimeItem.Designer.cs @@ -45,7 +45,7 @@ // UIDateTimeControl // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.monthCalendar); this.Margin = new System.Windows.Forms.Padding(7, 9, 7, 9); this.Name = "UIDateTimeControl"; diff --git a/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs b/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs index 45a9fd3b..60d08607 100644 --- a/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs +++ b/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs @@ -33,7 +33,7 @@ // UIDropControl // AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; MinimumSize = new System.Drawing.Size(63, 0); Name = "UIDropControl"; Size = new System.Drawing.Size(150, 29); diff --git a/SunnyUI/Controls/TypeEditor/UIRadiusSidesEditor.cs b/SunnyUI/Controls/TypeEditor/UIRadiusSidesEditor.cs index 280346e6..fd623901 100644 --- a/SunnyUI/Controls/TypeEditor/UIRadiusSidesEditor.cs +++ b/SunnyUI/Controls/TypeEditor/UIRadiusSidesEditor.cs @@ -268,7 +268,7 @@ namespace Sunny.UI Controls.Add(tableLayoutPanel1); Padding = new Padding(1, 1, 1, 1); AutoSizeMode = AutoSizeMode.GrowAndShrink; - AutoScaleMode = AutoScaleMode.Font; + AutoScaleMode = AutoScaleMode.None; AutoScaleDimensions = new SizeF(6f, 13f); tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.PerformLayout(); diff --git a/SunnyUI/Controls/UIComboBox.Designer.cs b/SunnyUI/Controls/UIComboBox.Designer.cs index 583f8faa..f4caae15 100644 --- a/SunnyUI/Controls/UIComboBox.Designer.cs +++ b/SunnyUI/Controls/UIComboBox.Designer.cs @@ -33,7 +33,7 @@ // UIComboBox // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Name = "UIComboBox"; this.ButtonClick += new System.EventHandler(this.UIComboBox_ButtonClick); this.FontChanged += new System.EventHandler(this.UIComboBox_FontChanged); diff --git a/SunnyUI/Controls/UIDatePicker.Designer.cs b/SunnyUI/Controls/UIDatePicker.Designer.cs index 4d269cee..2f934597 100644 --- a/SunnyUI/Controls/UIDatePicker.Designer.cs +++ b/SunnyUI/Controls/UIDatePicker.Designer.cs @@ -33,7 +33,7 @@ // UIDatePicker // AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; Name = "UIDatePicker"; Padding = new System.Windows.Forms.Padding(0, 0, 30, 0); diff --git a/SunnyUI/Controls/UIDoubleUpDown.designer.cs b/SunnyUI/Controls/UIDoubleUpDown.designer.cs index 8ec47a58..b2ce725d 100644 --- a/SunnyUI/Controls/UIDoubleUpDown.designer.cs +++ b/SunnyUI/Controls/UIDoubleUpDown.designer.cs @@ -120,7 +120,7 @@ // UIIntegerUpDown // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.pnlValue); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnDec); diff --git a/SunnyUI/Controls/UIImageListBox.Designer.cs b/SunnyUI/Controls/UIImageListBox.Designer.cs index 661e49fa..be4e1d1e 100644 --- a/SunnyUI/Controls/UIImageListBox.Designer.cs +++ b/SunnyUI/Controls/UIImageListBox.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; } #endregion diff --git a/SunnyUI/Controls/UIIntegerUpDown.designer.cs b/SunnyUI/Controls/UIIntegerUpDown.designer.cs index 87b4b819..3a373699 100644 --- a/SunnyUI/Controls/UIIntegerUpDown.designer.cs +++ b/SunnyUI/Controls/UIIntegerUpDown.designer.cs @@ -120,7 +120,7 @@ // UIIntegerUpDown // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.pnlValue); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnDec); diff --git a/SunnyUI/Controls/UIListBox.Designer.cs b/SunnyUI/Controls/UIListBox.Designer.cs index d5f95a57..7cdebb93 100644 --- a/SunnyUI/Controls/UIListBox.Designer.cs +++ b/SunnyUI/Controls/UIListBox.Designer.cs @@ -29,8 +29,7 @@ private void InitializeComponent() { components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; } #endregion diff --git a/SunnyUI/Controls/UITransfer.Designer.cs b/SunnyUI/Controls/UITransfer.Designer.cs index 39d31327..7df1df37 100644 --- a/SunnyUI/Controls/UITransfer.Designer.cs +++ b/SunnyUI/Controls/UITransfer.Designer.cs @@ -135,7 +135,7 @@ namespace Sunny.UI // UITransfer // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.Controls.Add(this.l2); this.Controls.Add(this.l1); this.Controls.Add(this.b4); diff --git a/SunnyUI/Font/UIFontImages.designer.cs b/SunnyUI/Font/UIFontImages.designer.cs index 74f46bad..d7f6abd4 100644 --- a/SunnyUI/Font/UIFontImages.designer.cs +++ b/SunnyUI/Font/UIFontImages.designer.cs @@ -130,7 +130,7 @@ // UIFontImages // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(497, 450); this.Controls.Add(this.tabControl1); this.Name = "UIFontImages"; diff --git a/SunnyUI/Forms/UIEditForm.Designer.cs b/SunnyUI/Forms/UIEditForm.Designer.cs index 63a789e3..b96a0479 100644 --- a/SunnyUI/Forms/UIEditForm.Designer.cs +++ b/SunnyUI/Forms/UIEditForm.Designer.cs @@ -84,7 +84,7 @@ // UIEditForm // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(600, 450); this.Controls.Add(this.pnlBtm); this.MaximizeBox = false; diff --git a/SunnyUI/Forms/UIInputForm.Designer.cs b/SunnyUI/Forms/UIInputForm.Designer.cs index 321d9c5e..1bc75c12 100644 --- a/SunnyUI/Forms/UIInputForm.Designer.cs +++ b/SunnyUI/Forms/UIInputForm.Designer.cs @@ -67,7 +67,7 @@ // UIInputForm // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(473, 182); this.Controls.Add(this.edit); this.Controls.Add(this.label); diff --git a/SunnyUI/Forms/UIMessageForm.Designer.cs b/SunnyUI/Forms/UIMessageForm.Designer.cs index 7f1ad0e5..ae856de3 100644 --- a/SunnyUI/Forms/UIMessageForm.Designer.cs +++ b/SunnyUI/Forms/UIMessageForm.Designer.cs @@ -85,7 +85,7 @@ // UIMessageForm // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(450, 270); this.Controls.Add(this.lbMsg); this.Controls.Add(this.btnCancel); diff --git a/SunnyUI/Forms/UISelectForm.Designer.cs b/SunnyUI/Forms/UISelectForm.Designer.cs index 692f015e..013b2a62 100644 --- a/SunnyUI/Forms/UISelectForm.Designer.cs +++ b/SunnyUI/Forms/UISelectForm.Designer.cs @@ -67,7 +67,7 @@ // UISelectForm // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(473, 182); this.Controls.Add(this.label); this.Controls.Add(this.ComboBox); diff --git a/SunnyUI/Forms/UIStatusForm.Designer.cs b/SunnyUI/Forms/UIStatusForm.Designer.cs index 53bd4636..e964337e 100644 --- a/SunnyUI/Forms/UIStatusForm.Designer.cs +++ b/SunnyUI/Forms/UIStatusForm.Designer.cs @@ -59,7 +59,7 @@ // UIStatusForm // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(473, 153); this.ControlBox = false; this.Controls.Add(this.processBar); diff --git a/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.Designer.cs b/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.Designer.cs index 4a7e7b6d..5da5fd83 100644 --- a/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.Designer.cs +++ b/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.Designer.cs @@ -51,7 +51,7 @@ // UIAsideHeaderMainFooterFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Footer); this.Name = "UIAsideHeaderMainFooterFrame"; diff --git a/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.cs b/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.cs index 28ad84ec..6e9b1679 100644 --- a/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.cs +++ b/SunnyUI/Frames/UIAsideHeaderMainFooterFrame.cs @@ -26,6 +26,9 @@ namespace Sunny.UI public UIAsideHeaderMainFooterFrame() { InitializeComponent(); + Header.BringToFront(); + Footer.BringToFront(); + Main.BringToFront(); } } } \ No newline at end of file diff --git a/SunnyUI/Frames/UIAsideHeaderMainFrame.Designer.cs b/SunnyUI/Frames/UIAsideHeaderMainFrame.Designer.cs index f798b40e..f9a1d1fb 100644 --- a/SunnyUI/Frames/UIAsideHeaderMainFrame.Designer.cs +++ b/SunnyUI/Frames/UIAsideHeaderMainFrame.Designer.cs @@ -57,7 +57,7 @@ // UIAsideHeaderMainFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Header); this.Name = "UIAsideHeaderMainFrame"; diff --git a/SunnyUI/Frames/UIAsideHeaderMainFrame.cs b/SunnyUI/Frames/UIAsideHeaderMainFrame.cs index 80a38047..39519a42 100644 --- a/SunnyUI/Frames/UIAsideHeaderMainFrame.cs +++ b/SunnyUI/Frames/UIAsideHeaderMainFrame.cs @@ -26,6 +26,8 @@ namespace Sunny.UI public UIAsideHeaderMainFrame() { InitializeComponent(); + Header.BringToFront(); + Main.BringToFront(); } } } \ No newline at end of file diff --git a/SunnyUI/Frames/UIAsideMainFrame.Designer.cs b/SunnyUI/Frames/UIAsideMainFrame.Designer.cs index e1be0ac4..9361ad1d 100644 --- a/SunnyUI/Frames/UIAsideMainFrame.Designer.cs +++ b/SunnyUI/Frames/UIAsideMainFrame.Designer.cs @@ -55,7 +55,7 @@ // UIAsideMainFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Aside); this.Name = "UIAsideMainFrame"; diff --git a/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.Designer.cs b/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.Designer.cs index 4fd73497..31af74f8 100644 --- a/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.Designer.cs +++ b/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.Designer.cs @@ -55,7 +55,7 @@ // UIHeaderAsideMainFooterFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Footer); this.Name = "UIHeaderAsideMainFooterFrame"; diff --git a/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.cs b/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.cs index 665cdb84..2ce23eac 100644 --- a/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.cs +++ b/SunnyUI/Frames/UIHeaderAsideMainFooterFrame.cs @@ -26,6 +26,10 @@ namespace Sunny.UI public UIHeaderAsideMainFooterFrame() { InitializeComponent(); + + Aside.BringToFront(); + Footer.BringToFront(); + Main.BringToFront(); } } } \ No newline at end of file diff --git a/SunnyUI/Frames/UIHeaderAsideMainFrame.Designer.cs b/SunnyUI/Frames/UIHeaderAsideMainFrame.Designer.cs index dd38115a..9b6fa615 100644 --- a/SunnyUI/Frames/UIHeaderAsideMainFrame.Designer.cs +++ b/SunnyUI/Frames/UIHeaderAsideMainFrame.Designer.cs @@ -58,7 +58,7 @@ // UIHeaderAsideMainFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Aside); this.Name = "UIHeaderAsideMainFrame"; diff --git a/SunnyUI/Frames/UIHeaderAsideMainFrame.cs b/SunnyUI/Frames/UIHeaderAsideMainFrame.cs index d3a74c72..ad41a084 100644 --- a/SunnyUI/Frames/UIHeaderAsideMainFrame.cs +++ b/SunnyUI/Frames/UIHeaderAsideMainFrame.cs @@ -26,6 +26,8 @@ namespace Sunny.UI public UIHeaderAsideMainFrame() { InitializeComponent(); + Aside.BringToFront(); + Main.BringToFront(); } } } \ No newline at end of file diff --git a/SunnyUI/Frames/UIHeaderMainFooterFrame.Designer.cs b/SunnyUI/Frames/UIHeaderMainFooterFrame.Designer.cs index c6df8e84..c471674d 100644 --- a/SunnyUI/Frames/UIHeaderMainFooterFrame.Designer.cs +++ b/SunnyUI/Frames/UIHeaderMainFooterFrame.Designer.cs @@ -58,7 +58,7 @@ // UIHeaderMainFooterFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Footer); this.Name = "UIHeaderMainFooterFrame"; diff --git a/SunnyUI/Frames/UIHeaderMainFrame.Designer.cs b/SunnyUI/Frames/UIHeaderMainFrame.Designer.cs index b7ce0735..32797862 100644 --- a/SunnyUI/Frames/UIHeaderMainFrame.Designer.cs +++ b/SunnyUI/Frames/UIHeaderMainFrame.Designer.cs @@ -54,7 +54,7 @@ // UIHeaderMainFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Header); this.Name = "UIHeaderMainFrame"; diff --git a/SunnyUI/Frames/UIMainFrame.Designer.cs b/SunnyUI/Frames/UIMainFrame.Designer.cs index 36c86fbf..7fdd8e1b 100644 --- a/SunnyUI/Frames/UIMainFrame.Designer.cs +++ b/SunnyUI/Frames/UIMainFrame.Designer.cs @@ -70,7 +70,7 @@ // UIMainFrame // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.Main); this.Name = "UIMainFrame"; diff --git a/SunnyUI/Frames/UIMainFrame.cs b/SunnyUI/Frames/UIMainFrame.cs index 8de20d92..fdbd123c 100644 --- a/SunnyUI/Frames/UIMainFrame.cs +++ b/SunnyUI/Frames/UIMainFrame.cs @@ -26,6 +26,7 @@ namespace Sunny.UI public UIMainFrame() { InitializeComponent(); + Main.BringToFront(); } public UIPage AddPage(UIPage page, int index) diff --git a/SunnyUI/Pages/UIPage.Designer.cs b/SunnyUI/Pages/UIPage.Designer.cs index bad204f0..2e16d4b4 100644 --- a/SunnyUI/Pages/UIPage.Designer.cs +++ b/SunnyUI/Pages/UIPage.Designer.cs @@ -35,7 +35,7 @@ // UIPage // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(802, 460); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); diff --git a/SunnyUI/Pages/UITitlePage.Designer.cs b/SunnyUI/Pages/UITitlePage.Designer.cs index db3834d6..c741815b 100644 --- a/SunnyUI/Pages/UITitlePage.Designer.cs +++ b/SunnyUI/Pages/UITitlePage.Designer.cs @@ -62,7 +62,7 @@ // UITitlePage // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.PagePanel); this.Controls.Add(this.PageTitle);