更新页面框架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
//
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);

View File

@ -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";

View File

@ -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);

View File

@ -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();

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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";

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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";

View File

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

View File

@ -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";

View File

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

View File

@ -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";

View File

@ -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";

View File

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

View File

@ -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";

View File

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

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

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

View File

@ -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)));

View File

@ -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);