更新页面框架Main叠放次序

This commit is contained in:
Sunny 2020-05-26 23:21:57 +08:00
parent c0aefbd7d8
commit a50b47626d
35 changed files with 39 additions and 28 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -55,7 +55,7 @@
// UIComboBoxItem // UIComboBoxItem
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.Controls.Add(this.listBox);
this.Name = "UIComboBoxItem"; this.Name = "UIComboBoxItem";
this.Size = new System.Drawing.Size(184, 210); this.Size = new System.Drawing.Size(184, 210);

View File

@ -45,7 +45,7 @@
// UIDateTimeControl // UIDateTimeControl
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.Controls.Add(this.monthCalendar);
this.Margin = new System.Windows.Forms.Padding(7, 9, 7, 9); this.Margin = new System.Windows.Forms.Padding(7, 9, 7, 9);
this.Name = "UIDateTimeControl"; this.Name = "UIDateTimeControl";

View File

@ -33,7 +33,7 @@
// UIDropControl // UIDropControl
// //
AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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); MinimumSize = new System.Drawing.Size(63, 0);
Name = "UIDropControl"; Name = "UIDropControl";
Size = new System.Drawing.Size(150, 29); Size = new System.Drawing.Size(150, 29);

View File

@ -268,7 +268,7 @@ namespace Sunny.UI
Controls.Add(tableLayoutPanel1); Controls.Add(tableLayoutPanel1);
Padding = new Padding(1, 1, 1, 1); Padding = new Padding(1, 1, 1, 1);
AutoSizeMode = AutoSizeMode.GrowAndShrink; AutoSizeMode = AutoSizeMode.GrowAndShrink;
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.None;
AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleDimensions = new SizeF(6f, 13f);
tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout(); tableLayoutPanel1.PerformLayout();

View File

@ -33,7 +33,7 @@
// UIComboBox // UIComboBox
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.Name = "UIComboBox";
this.ButtonClick += new System.EventHandler(this.UIComboBox_ButtonClick); this.ButtonClick += new System.EventHandler(this.UIComboBox_ButtonClick);
this.FontChanged += new System.EventHandler(this.UIComboBox_FontChanged); this.FontChanged += new System.EventHandler(this.UIComboBox_FontChanged);

View File

@ -33,7 +33,7 @@
// UIDatePicker // UIDatePicker
// //
AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
Name = "UIDatePicker"; Name = "UIDatePicker";
Padding = new System.Windows.Forms.Padding(0, 0, 30, 0); Padding = new System.Windows.Forms.Padding(0, 0, 30, 0);

View File

@ -120,7 +120,7 @@
// UIIntegerUpDown // UIIntegerUpDown
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.pnlValue);
this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDec); this.Controls.Add(this.btnDec);

View File

@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
components = new System.ComponentModel.Container(); components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
} }
#endregion #endregion

View File

@ -120,7 +120,7 @@
// UIIntegerUpDown // UIIntegerUpDown
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.pnlValue);
this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnAdd);
this.Controls.Add(this.btnDec); this.Controls.Add(this.btnDec);

View File

@ -29,8 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
components = new System.ComponentModel.Container(); components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
} }
#endregion #endregion

View File

@ -135,7 +135,7 @@ namespace Sunny.UI
// UITransfer // UITransfer
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.l2);
this.Controls.Add(this.l1); this.Controls.Add(this.l1);
this.Controls.Add(this.b4); this.Controls.Add(this.b4);

View File

@ -130,7 +130,7 @@
// UIFontImages // UIFontImages
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 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.ClientSize = new System.Drawing.Size(497, 450);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Name = "UIFontImages"; this.Name = "UIFontImages";

View File

@ -84,7 +84,7 @@
// UIEditForm // UIEditForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(600, 450);
this.Controls.Add(this.pnlBtm); this.Controls.Add(this.pnlBtm);
this.MaximizeBox = false; this.MaximizeBox = false;

View File

@ -67,7 +67,7 @@
// UIInputForm // UIInputForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(473, 182);
this.Controls.Add(this.edit); this.Controls.Add(this.edit);
this.Controls.Add(this.label); this.Controls.Add(this.label);

View File

@ -85,7 +85,7 @@
// UIMessageForm // UIMessageForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(450, 270);
this.Controls.Add(this.lbMsg); this.Controls.Add(this.lbMsg);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);

View File

@ -67,7 +67,7 @@
// UISelectForm // UISelectForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(473, 182);
this.Controls.Add(this.label); this.Controls.Add(this.label);
this.Controls.Add(this.ComboBox); this.Controls.Add(this.ComboBox);

View File

@ -59,7 +59,7 @@
// UIStatusForm // UIStatusForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(473, 153);
this.ControlBox = false; this.ControlBox = false;
this.Controls.Add(this.processBar); this.Controls.Add(this.processBar);

View File

@ -51,7 +51,7 @@
// UIAsideHeaderMainFooterFrame // UIAsideHeaderMainFooterFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Footer); this.Controls.Add(this.Footer);
this.Name = "UIAsideHeaderMainFooterFrame"; this.Name = "UIAsideHeaderMainFooterFrame";

View File

@ -26,6 +26,9 @@ namespace Sunny.UI
public UIAsideHeaderMainFooterFrame() public UIAsideHeaderMainFooterFrame()
{ {
InitializeComponent(); InitializeComponent();
Header.BringToFront();
Footer.BringToFront();
Main.BringToFront();
} }
} }
} }

View File

@ -57,7 +57,7 @@
// UIAsideHeaderMainFrame // UIAsideHeaderMainFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Header); this.Controls.Add(this.Header);
this.Name = "UIAsideHeaderMainFrame"; this.Name = "UIAsideHeaderMainFrame";

View File

@ -26,6 +26,8 @@ namespace Sunny.UI
public UIAsideHeaderMainFrame() public UIAsideHeaderMainFrame()
{ {
InitializeComponent(); InitializeComponent();
Header.BringToFront();
Main.BringToFront();
} }
} }
} }

View File

@ -55,7 +55,7 @@
// UIAsideMainFrame // UIAsideMainFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Aside); this.Controls.Add(this.Aside);
this.Name = "UIAsideMainFrame"; this.Name = "UIAsideMainFrame";

View File

@ -55,7 +55,7 @@
// UIHeaderAsideMainFooterFrame // UIHeaderAsideMainFooterFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Footer); this.Controls.Add(this.Footer);
this.Name = "UIHeaderAsideMainFooterFrame"; this.Name = "UIHeaderAsideMainFooterFrame";

View File

@ -26,6 +26,10 @@ namespace Sunny.UI
public UIHeaderAsideMainFooterFrame() public UIHeaderAsideMainFooterFrame()
{ {
InitializeComponent(); InitializeComponent();
Aside.BringToFront();
Footer.BringToFront();
Main.BringToFront();
} }
} }
} }

View File

@ -58,7 +58,7 @@
// UIHeaderAsideMainFrame // UIHeaderAsideMainFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Aside); this.Controls.Add(this.Aside);
this.Name = "UIHeaderAsideMainFrame"; this.Name = "UIHeaderAsideMainFrame";

View File

@ -26,6 +26,8 @@ namespace Sunny.UI
public UIHeaderAsideMainFrame() public UIHeaderAsideMainFrame()
{ {
InitializeComponent(); InitializeComponent();
Aside.BringToFront();
Main.BringToFront();
} }
} }
} }

View File

@ -58,7 +58,7 @@
// UIHeaderMainFooterFrame // UIHeaderMainFooterFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Footer); this.Controls.Add(this.Footer);
this.Name = "UIHeaderMainFooterFrame"; this.Name = "UIHeaderMainFooterFrame";

View File

@ -54,7 +54,7 @@
// UIHeaderMainFrame // UIHeaderMainFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Header); this.Controls.Add(this.Header);
this.Name = "UIHeaderMainFrame"; this.Name = "UIHeaderMainFrame";

View File

@ -70,7 +70,7 @@
// UIMainFrame // UIMainFrame
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.Main); this.Controls.Add(this.Main);
this.Name = "UIMainFrame"; this.Name = "UIMainFrame";

View File

@ -26,6 +26,7 @@ namespace Sunny.UI
public UIMainFrame() public UIMainFrame()
{ {
InitializeComponent(); InitializeComponent();
Main.BringToFront();
} }
public UIPage AddPage(UIPage page, int index) public UIPage AddPage(UIPage page, int index)

View File

@ -35,7 +35,7 @@
// UIPage // UIPage
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(802, 460);
this.DoubleBuffered = true; this.DoubleBuffered = true;
this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));

View File

@ -62,7 +62,7 @@
// UITitlePage // UITitlePage
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); 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.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.PagePanel); this.Controls.Add(this.PagePanel);
this.Controls.Add(this.PageTitle); this.Controls.Add(this.PageTitle);