升级1.8.1,移除WindowBar控件,PageHeader支持副文本居中
This commit is contained in:
Generated
+14
-14
@@ -29,7 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new AntdUI.Panel();
|
||||
this.windowBar = new AntdUI.WindowBar();
|
||||
this.pageHeader = new AntdUI.PageHeader();
|
||||
this.button_close = new AntdUI.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -37,7 +37,7 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button_close);
|
||||
this.panel1.Controls.Add(this.windowBar);
|
||||
this.panel1.Controls.Add(this.pageHeader);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
@@ -46,18 +46,18 @@
|
||||
this.panel1.TabIndex = 0;
|
||||
this.panel1.Text = "panel1";
|
||||
//
|
||||
// windowBar
|
||||
// pageHeader
|
||||
//
|
||||
this.windowBar.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.windowBar.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.windowBar.Location = new System.Drawing.Point(6, 6);
|
||||
this.windowBar.MaximizeBox = false;
|
||||
this.windowBar.MinimizeBox = false;
|
||||
this.windowBar.Name = "windowBar";
|
||||
this.windowBar.ShowIcon = false;
|
||||
this.windowBar.Size = new System.Drawing.Size(488, 32);
|
||||
this.windowBar.TabIndex = 1;
|
||||
this.windowBar.Text = "DrawerDemo";
|
||||
this.pageHeader.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pageHeader.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
|
||||
this.pageHeader.Location = new System.Drawing.Point(6, 6);
|
||||
this.pageHeader.MaximizeBox = false;
|
||||
this.pageHeader.MinimizeBox = false;
|
||||
this.pageHeader.Name = "pageHeader";
|
||||
this.pageHeader.ShowIcon = false;
|
||||
this.pageHeader.Size = new System.Drawing.Size(488, 32);
|
||||
this.pageHeader.TabIndex = 1;
|
||||
this.pageHeader.Text = "DrawerDemo";
|
||||
//
|
||||
// button_close
|
||||
//
|
||||
@@ -83,7 +83,7 @@
|
||||
#endregion
|
||||
|
||||
private AntdUI.Panel panel1;
|
||||
private AntdUI.WindowBar windowBar;
|
||||
private AntdUI.PageHeader pageHeader;
|
||||
private AntdUI.Button button_close;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user