* Demo: 修改Demo的UITitlePage为UIPage,UITitlePage已废弃

This commit is contained in:
Sunny 2021-08-16 23:05:32 +08:00
parent c468a8bc5e
commit bbb3732be4
30 changed files with 293 additions and 399 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -33,7 +33,6 @@ namespace Sunny.UI.Demo
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.uiLine1 = new Sunny.UI.UILine();
this.BarChart = new Sunny.UI.UIBarChart();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
@ -45,7 +44,7 @@ namespace Sunny.UI.Demo
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 503);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -60,7 +59,7 @@ namespace Sunny.UI.Demo
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 503);
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 33;
@ -74,7 +73,7 @@ namespace Sunny.UI.Demo
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 503);
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 32;
@ -88,7 +87,7 @@ namespace Sunny.UI.Demo
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 503);
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 31;
@ -97,27 +96,15 @@ namespace Sunny.UI.Demo
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 30;
this.uiLine1.Text = "UIBarChart";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// BarChart
//
this.BarChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.BarChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.BarChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.BarChart.Location = new System.Drawing.Point(30, 85);
this.BarChart.Location = new System.Drawing.Point(30, 55);
this.BarChart.MinimumSize = new System.Drawing.Size(1, 1);
this.BarChart.Name = "BarChart";
this.BarChart.Size = new System.Drawing.Size(670, 400);
this.BarChart.Style = Sunny.UI.UIStyle.Custom;
this.BarChart.Size = new System.Drawing.Size(670, 430);
this.BarChart.TabIndex = 29;
this.BarChart.Text = "uiBarChart1";
//
@ -126,7 +113,7 @@ namespace Sunny.UI.Demo
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 503);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -146,7 +133,6 @@ namespace Sunny.UI.Demo
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.BarChart);
this.Name = "FBarChart";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
@ -166,7 +152,6 @@ namespace Sunny.UI.Demo
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UILine uiLine1;
private UIBarChart BarChart;
private UISymbolButton uiSymbolButton2;
}

View File

@ -32,31 +32,18 @@
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.uiLine1 = new Sunny.UI.UILine();
this.BarChart = new Sunny.UI.UIBarChartEx();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolButton2);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.uiImageButton3);
this.PagePanel.Controls.Add(this.uiImageButton2);
this.PagePanel.Controls.Add(this.uiImageButton1);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.BarChart);
this.PagePanel.Size = new System.Drawing.Size(886, 508);
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 466);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -71,7 +58,7 @@
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 466);
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 33;
@ -85,7 +72,7 @@
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 466);
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 32;
@ -99,7 +86,7 @@
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 466);
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 31;
@ -108,26 +95,15 @@
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 30;
this.uiLine1.Text = "UIBarChartEx";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// BarChart
//
this.BarChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.BarChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.BarChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.BarChart.Location = new System.Drawing.Point(30, 48);
this.BarChart.Location = new System.Drawing.Point(30, 55);
this.BarChart.MinimumSize = new System.Drawing.Size(1, 1);
this.BarChart.Name = "BarChart";
this.BarChart.Size = new System.Drawing.Size(670, 400);
this.BarChart.Size = new System.Drawing.Size(670, 430);
this.BarChart.TabIndex = 35;
this.BarChart.Text = "uiBarChartEx1";
//
@ -135,7 +111,7 @@
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(456, 466);
this.uiSymbolButton2.Location = new System.Drawing.Point(456, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(100, 27);
@ -146,13 +122,20 @@
//
// FBarChartEx
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(886, 543);
this.ClientSize = new System.Drawing.Size(886, 611);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.BarChart);
this.Name = "FBarChartEx";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61568;
this.Text = "BarChartEx";
this.PagePanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
@ -166,7 +149,6 @@
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UILine uiLine1;
private UIBarChartEx BarChart;
private UISymbolButton uiSymbolButton2;
}

View File

@ -2,7 +2,7 @@
namespace Sunny.UI.Demo
{
public partial class FBarChartEx : UITitlePage
public partial class FBarChartEx : UIPage
{
public FBarChartEx()
{

View File

@ -33,34 +33,21 @@
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.uiLine1 = new Sunny.UI.UILine();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolButton2);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.uiImageButton3);
this.PagePanel.Controls.Add(this.uiImageButton2);
this.PagePanel.Controls.Add(this.uiImageButton1);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.DoughnutChart);
this.PagePanel.Size = new System.Drawing.Size(800, 523);
//
// DoughnutChart
//
this.DoughnutChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.DoughnutChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.DoughnutChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.DoughnutChart.Location = new System.Drawing.Point(30, 48);
this.DoughnutChart.Location = new System.Drawing.Point(30, 55);
this.DoughnutChart.MinimumSize = new System.Drawing.Size(1, 1);
this.DoughnutChart.Name = "DoughnutChart";
this.DoughnutChart.Size = new System.Drawing.Size(670, 400);
this.DoughnutChart.Size = new System.Drawing.Size(670, 430);
this.DoughnutChart.TabIndex = 0;
this.DoughnutChart.Text = "uiDoughnutChart1";
//
@ -68,7 +55,7 @@
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 466);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -83,7 +70,7 @@
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 466);
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 32;
@ -97,7 +84,7 @@
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 466);
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 31;
@ -111,7 +98,7 @@
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 466);
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 30;
@ -120,23 +107,12 @@
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 29;
this.uiLine1.Text = "UIDoughnutChart";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 466);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -148,12 +124,20 @@
//
// FDoughnutChart
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 558);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.DoughnutChart);
this.Name = "FDoughnutChart";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 62056;
this.Text = "DoughnutChart";
this.PagePanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
@ -168,7 +152,6 @@
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UILine uiLine1;
private UISymbolButton uiSymbolButton2;
}
}

View File

@ -2,7 +2,7 @@
namespace Sunny.UI.Demo.Charts
{
public partial class FDoughnutChart : UITitlePage
public partial class FDoughnutChart : UIPage
{
public FDoughnutChart()
{

View File

@ -33,32 +33,19 @@
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.uiLine1 = new Sunny.UI.UILine();
this.LineChart = new Sunny.UI.UILineChart();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolButton2);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.uiImageButton3);
this.PagePanel.Controls.Add(this.uiImageButton2);
this.PagePanel.Controls.Add(this.uiImageButton1);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.LineChart);
this.PagePanel.Size = new System.Drawing.Size(800, 539);
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 466);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -73,7 +60,7 @@
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 466);
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 33;
@ -87,7 +74,7 @@
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 466);
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 32;
@ -101,7 +88,7 @@
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 466);
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 31;
@ -110,26 +97,15 @@
this.uiImageButton1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiImageButton1.Click += new System.EventHandler(this.uiImageButton1_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 30;
this.uiLine1.Text = "UILineChart";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// LineChart
//
this.LineChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.LineChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.LineChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.LineChart.Location = new System.Drawing.Point(30, 48);
this.LineChart.Location = new System.Drawing.Point(30, 55);
this.LineChart.MinimumSize = new System.Drawing.Size(1, 1);
this.LineChart.Name = "LineChart";
this.LineChart.Size = new System.Drawing.Size(670, 400);
this.LineChart.Size = new System.Drawing.Size(670, 430);
this.LineChart.TabIndex = 35;
this.LineChart.Text = "uiLineChart1";
this.LineChart.PointValue += new Sunny.UI.UILineChart.OnPointValue(this.LineChart_PointValue);
@ -138,7 +114,7 @@
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 466);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -154,12 +130,20 @@
//
// FLineChart
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 574);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.LineChart);
this.Name = "FLineChart";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61953;
this.Text = "LineChart";
this.PagePanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
@ -173,7 +157,6 @@
private UIImageButton uiImageButton3;
private UIImageButton uiImageButton2;
private UIImageButton uiImageButton1;
private UILine uiLine1;
private UILineChart LineChart;
private UISymbolButton uiSymbolButton2;
private System.Windows.Forms.Timer timer1;

View File

@ -4,7 +4,7 @@ using System.Text;
namespace Sunny.UI.Demo.Charts
{
public partial class FLineChart : UITitlePage
public partial class FLineChart : UIPage
{
public FLineChart()
{

View File

@ -120,4 +120,7 @@
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root>

View File

@ -28,52 +28,28 @@
/// </summary>
private void InitializeComponent()
{
this.uiLine1 = new Sunny.UI.UILine();
this.PieChart = new Sunny.UI.UIPieChart();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiImageButton3 = new Sunny.UI.UIImageButton();
this.uiImageButton2 = new Sunny.UI.UIImageButton();
this.uiImageButton1 = new Sunny.UI.UIImageButton();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).BeginInit();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolButton2);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.uiImageButton3);
this.PagePanel.Controls.Add(this.uiImageButton2);
this.PagePanel.Controls.Add(this.uiImageButton1);
this.PagePanel.Controls.Add(this.PieChart);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Size = new System.Drawing.Size(828, 517);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 19;
this.uiLine1.Text = "UIPieChart";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// PieChart
//
this.PieChart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.PieChart.Font = new System.Drawing.Font("微软雅黑", 12F);
this.PieChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
this.PieChart.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PieChart.Location = new System.Drawing.Point(30, 48);
this.PieChart.Location = new System.Drawing.Point(30, 55);
this.PieChart.MinimumSize = new System.Drawing.Size(1, 1);
this.PieChart.Name = "PieChart";
this.PieChart.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.PieChart.Size = new System.Drawing.Size(670, 400);
this.PieChart.Size = new System.Drawing.Size(670, 430);
this.PieChart.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PieChart.TabIndex = 20;
this.PieChart.Text = "uiPieChart1";
@ -82,7 +58,7 @@
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 466);
this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -97,7 +73,7 @@
this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDarkStyle;
this.uiImageButton3.Location = new System.Drawing.Point(242, 466);
this.uiImageButton3.Location = new System.Drawing.Point(242, 505);
this.uiImageButton3.Name = "uiImageButton3";
this.uiImageButton3.Size = new System.Drawing.Size(100, 27);
this.uiImageButton3.TabIndex = 23;
@ -111,7 +87,7 @@
this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.ChartPlainStyle;
this.uiImageButton2.Location = new System.Drawing.Point(136, 466);
this.uiImageButton2.Location = new System.Drawing.Point(136, 505);
this.uiImageButton2.Name = "uiImageButton2";
this.uiImageButton2.Size = new System.Drawing.Size(100, 27);
this.uiImageButton2.TabIndex = 22;
@ -125,7 +101,7 @@
this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.ChartDefaultStyle;
this.uiImageButton1.Location = new System.Drawing.Point(30, 466);
this.uiImageButton1.Location = new System.Drawing.Point(30, 505);
this.uiImageButton1.Name = "uiImageButton1";
this.uiImageButton1.Size = new System.Drawing.Size(100, 27);
this.uiImageButton1.TabIndex = 21;
@ -139,7 +115,7 @@
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Enabled = false;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 466);
this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -151,12 +127,20 @@
//
// FPieChart
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(828, 552);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiImageButton3);
this.Controls.Add(this.uiImageButton2);
this.Controls.Add(this.uiImageButton1);
this.Controls.Add(this.PieChart);
this.Name = "FPieChart";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61952;
this.Text = "PieChart";
this.PagePanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.uiImageButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.uiImageButton1)).EndInit();
@ -165,7 +149,6 @@
}
#endregion
private UILine uiLine1;
private UIPieChart PieChart;
private UIImageButton uiImageButton1;
private UIImageButton uiImageButton3;

View File

@ -2,7 +2,7 @@
namespace Sunny.UI.Demo.Controls
{
public partial class FPieChart : UITitlePage
public partial class FPieChart : UIPage
{
public FPieChart()
{

View File

@ -63,48 +63,8 @@
this.uiLine9 = new Sunny.UI.UILine();
this.uiLine10 = new Sunny.UI.UILine();
this.uiSymbolButton13 = new Sunny.UI.UISymbolButton();
this.PagePanel.SuspendLayout();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiLine10);
this.PagePanel.Controls.Add(this.uiSymbolButton13);
this.PagePanel.Controls.Add(this.uiLine9);
this.PagePanel.Controls.Add(this.uiSymbolButton11);
this.PagePanel.Controls.Add(this.uiLine8);
this.PagePanel.Controls.Add(this.uiSymbolButton3);
this.PagePanel.Controls.Add(this.uiSymbolButton10);
this.PagePanel.Controls.Add(this.uiLine7);
this.PagePanel.Controls.Add(this.uiSymbolButton7);
this.PagePanel.Controls.Add(this.uiSymbolButton8);
this.PagePanel.Controls.Add(this.uiSymbolButton9);
this.PagePanel.Controls.Add(this.btnEN);
this.PagePanel.Controls.Add(this.btnCH);
this.PagePanel.Controls.Add(this.uiLine6);
this.PagePanel.Controls.Add(this.uiLine5);
this.PagePanel.Controls.Add(this.uiSymbolButton2);
this.PagePanel.Controls.Add(this.uiSymbolButton4);
this.PagePanel.Controls.Add(this.uiSymbolButton5);
this.PagePanel.Controls.Add(this.uiSymbolButton6);
this.PagePanel.Controls.Add(this.uiLine4);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.uiLine3);
this.PagePanel.Controls.Add(this.uiLine2);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.btnPasswordInput);
this.PagePanel.Controls.Add(this.btnDoubleInput);
this.PagePanel.Controls.Add(this.btnIntInput);
this.PagePanel.Controls.Add(this.btnStringInput);
this.PagePanel.Controls.Add(this.btnInfo);
this.PagePanel.Controls.Add(this.btnStatus2);
this.PagePanel.Controls.Add(this.btnAuto);
this.PagePanel.Controls.Add(this.btnError);
this.PagePanel.Controls.Add(this.btnWarn);
this.PagePanel.Controls.Add(this.btnSuccess);
this.PagePanel.Controls.Add(this.btnAsk);
this.PagePanel.Size = new System.Drawing.Size(800, 514);
//
// btnError
//
this.btnError.Cursor = System.Windows.Forms.Cursors.Hand;
@ -113,7 +73,7 @@
this.btnError.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.btnError.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnError.Location = new System.Drawing.Point(600, 53);
this.btnError.Location = new System.Drawing.Point(600, 88);
this.btnError.MinimumSize = new System.Drawing.Size(1, 1);
this.btnError.Name = "btnError";
this.btnError.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -137,7 +97,7 @@
this.btnWarn.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.btnWarn.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnWarn.Location = new System.Drawing.Point(486, 53);
this.btnWarn.Location = new System.Drawing.Point(486, 88);
this.btnWarn.MinimumSize = new System.Drawing.Size(1, 1);
this.btnWarn.Name = "btnWarn";
this.btnWarn.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -161,7 +121,7 @@
this.btnSuccess.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.btnSuccess.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnSuccess.Location = new System.Drawing.Point(372, 53);
this.btnSuccess.Location = new System.Drawing.Point(372, 88);
this.btnSuccess.MinimumSize = new System.Drawing.Size(1, 1);
this.btnSuccess.Name = "btnSuccess";
this.btnSuccess.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -181,7 +141,7 @@
//
this.btnAsk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAsk.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAsk.Location = new System.Drawing.Point(30, 52);
this.btnAsk.Location = new System.Drawing.Point(30, 87);
this.btnAsk.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAsk.Name = "btnAsk";
this.btnAsk.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -196,7 +156,7 @@
//
this.btnAuto.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAuto.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAuto.Location = new System.Drawing.Point(144, 53);
this.btnAuto.Location = new System.Drawing.Point(144, 88);
this.btnAuto.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAuto.Name = "btnAuto";
this.btnAuto.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -210,7 +170,7 @@
//
this.btnStatus2.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStatus2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnStatus2.Location = new System.Drawing.Point(30, 210);
this.btnStatus2.Location = new System.Drawing.Point(30, 245);
this.btnStatus2.MinimumSize = new System.Drawing.Size(1, 1);
this.btnStatus2.Name = "btnStatus2";
this.btnStatus2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -228,7 +188,7 @@
this.btnInfo.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
this.btnInfo.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnInfo.Location = new System.Drawing.Point(258, 53);
this.btnInfo.Location = new System.Drawing.Point(258, 88);
this.btnInfo.MinimumSize = new System.Drawing.Size(1, 1);
this.btnInfo.Name = "btnInfo";
this.btnInfo.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -248,7 +208,7 @@
//
this.btnPasswordInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnPasswordInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnPasswordInput.Location = new System.Drawing.Point(543, 131);
this.btnPasswordInput.Location = new System.Drawing.Point(543, 166);
this.btnPasswordInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnPasswordInput.Name = "btnPasswordInput";
this.btnPasswordInput.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -262,7 +222,7 @@
//
this.btnDoubleInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDoubleInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnDoubleInput.Location = new System.Drawing.Point(372, 131);
this.btnDoubleInput.Location = new System.Drawing.Point(372, 166);
this.btnDoubleInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnDoubleInput.Name = "btnDoubleInput";
this.btnDoubleInput.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -276,7 +236,7 @@
//
this.btnIntInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnIntInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnIntInput.Location = new System.Drawing.Point(201, 131);
this.btnIntInput.Location = new System.Drawing.Point(201, 166);
this.btnIntInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnIntInput.Name = "btnIntInput";
this.btnIntInput.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -290,7 +250,7 @@
//
this.btnStringInput.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStringInput.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnStringInput.Location = new System.Drawing.Point(30, 131);
this.btnStringInput.Location = new System.Drawing.Point(30, 166);
this.btnStringInput.MinimumSize = new System.Drawing.Size(1, 1);
this.btnStringInput.Name = "btnStringInput";
this.btnStringInput.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -303,7 +263,7 @@
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
@ -314,7 +274,7 @@
// uiLine2
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 99);
this.uiLine2.Location = new System.Drawing.Point(30, 134);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(670, 20);
@ -325,7 +285,7 @@
// uiLine3
//
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine3.Location = new System.Drawing.Point(30, 178);
this.uiLine3.Location = new System.Drawing.Point(30, 213);
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine3.Name = "uiLine3";
this.uiLine3.Size = new System.Drawing.Size(155, 20);
@ -336,7 +296,7 @@
// uiLine4
//
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine4.Location = new System.Drawing.Point(372, 178);
this.uiLine4.Location = new System.Drawing.Point(372, 213);
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine4.Name = "uiLine4";
this.uiLine4.Size = new System.Drawing.Size(328, 20);
@ -348,7 +308,7 @@
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(372, 210);
this.uiSymbolButton1.Location = new System.Drawing.Point(372, 245);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -361,7 +321,7 @@
// uiLine5
//
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine5.Location = new System.Drawing.Point(30, 257);
this.uiLine5.Location = new System.Drawing.Point(30, 292);
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine5.Name = "uiLine5";
this.uiLine5.Size = new System.Drawing.Size(670, 20);
@ -373,7 +333,7 @@
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton2.Location = new System.Drawing.Point(30, 289);
this.uiSymbolButton2.Location = new System.Drawing.Point(30, 324);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -392,7 +352,7 @@
this.uiSymbolButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton4.Location = new System.Drawing.Point(372, 289);
this.uiSymbolButton4.Location = new System.Drawing.Point(372, 324);
this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton4.Name = "uiSymbolButton4";
this.uiSymbolButton4.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -416,7 +376,7 @@
this.uiSymbolButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton5.Location = new System.Drawing.Point(258, 289);
this.uiSymbolButton5.Location = new System.Drawing.Point(258, 324);
this.uiSymbolButton5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton5.Name = "uiSymbolButton5";
this.uiSymbolButton5.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -440,7 +400,7 @@
this.uiSymbolButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton6.Location = new System.Drawing.Point(144, 289);
this.uiSymbolButton6.Location = new System.Drawing.Point(144, 324);
this.uiSymbolButton6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton6.Name = "uiSymbolButton6";
this.uiSymbolButton6.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -459,7 +419,7 @@
// uiLine6
//
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine6.Location = new System.Drawing.Point(30, 415);
this.uiLine6.Location = new System.Drawing.Point(30, 450);
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine6.Name = "uiLine6";
this.uiLine6.Size = new System.Drawing.Size(328, 20);
@ -471,7 +431,7 @@
//
this.btnEN.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEN.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnEN.Location = new System.Drawing.Point(144, 447);
this.btnEN.Location = new System.Drawing.Point(144, 482);
this.btnEN.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEN.Name = "btnEN";
this.btnEN.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -485,7 +445,7 @@
//
this.btnCH.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCH.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnCH.Location = new System.Drawing.Point(30, 447);
this.btnCH.Location = new System.Drawing.Point(30, 482);
this.btnCH.MinimumSize = new System.Drawing.Size(1, 1);
this.btnCH.Name = "btnCH";
this.btnCH.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -499,7 +459,7 @@
// uiLine7
//
this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine7.Location = new System.Drawing.Point(30, 336);
this.uiLine7.Location = new System.Drawing.Point(30, 371);
this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine7.Name = "uiLine7";
this.uiLine7.Size = new System.Drawing.Size(328, 20);
@ -515,7 +475,7 @@
this.uiSymbolButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(87)))), ((int)(((byte)(89)))));
this.uiSymbolButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton7.Location = new System.Drawing.Point(258, 368);
this.uiSymbolButton7.Location = new System.Drawing.Point(258, 403);
this.uiSymbolButton7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton7.Name = "uiSymbolButton7";
this.uiSymbolButton7.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -539,7 +499,7 @@
this.uiSymbolButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(137)))), ((int)(((byte)(43)))));
this.uiSymbolButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton8.Location = new System.Drawing.Point(144, 368);
this.uiSymbolButton8.Location = new System.Drawing.Point(144, 403);
this.uiSymbolButton8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton8.Name = "uiSymbolButton8";
this.uiSymbolButton8.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -563,7 +523,7 @@
this.uiSymbolButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(168)))), ((int)(((byte)(35)))));
this.uiSymbolButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton9.Location = new System.Drawing.Point(30, 368);
this.uiSymbolButton9.Location = new System.Drawing.Point(30, 403);
this.uiSymbolButton9.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton9.Name = "uiSymbolButton9";
this.uiSymbolButton9.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -582,7 +542,7 @@
// uiLine8
//
this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine8.Location = new System.Drawing.Point(372, 336);
this.uiLine8.Location = new System.Drawing.Point(372, 371);
this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine8.Name = "uiLine8";
this.uiLine8.Size = new System.Drawing.Size(328, 20);
@ -594,7 +554,7 @@
//
this.uiSymbolButton3.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton3.Location = new System.Drawing.Point(486, 368);
this.uiSymbolButton3.Location = new System.Drawing.Point(486, 403);
this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton3.Name = "uiSymbolButton3";
this.uiSymbolButton3.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -608,7 +568,7 @@
//
this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton10.Location = new System.Drawing.Point(372, 368);
this.uiSymbolButton10.Location = new System.Drawing.Point(372, 403);
this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton10.Name = "uiSymbolButton10";
this.uiSymbolButton10.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -622,7 +582,7 @@
//
this.uiSymbolButton11.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton11.Location = new System.Drawing.Point(201, 210);
this.uiSymbolButton11.Location = new System.Drawing.Point(201, 245);
this.uiSymbolButton11.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton11.Name = "uiSymbolButton11";
this.uiSymbolButton11.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -635,7 +595,7 @@
// uiLine9
//
this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine9.Location = new System.Drawing.Point(201, 178);
this.uiLine9.Location = new System.Drawing.Point(201, 213);
this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine9.Name = "uiLine9";
this.uiLine9.Size = new System.Drawing.Size(155, 20);
@ -646,7 +606,7 @@
// uiLine10
//
this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine10.Location = new System.Drawing.Point(372, 415);
this.uiLine10.Location = new System.Drawing.Point(372, 450);
this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine10.Name = "uiLine10";
this.uiLine10.Size = new System.Drawing.Size(328, 20);
@ -658,7 +618,7 @@
//
this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton13.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton13.Location = new System.Drawing.Point(372, 447);
this.uiSymbolButton13.Location = new System.Drawing.Point(372, 482);
this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton13.Name = "uiSymbolButton13";
this.uiSymbolButton13.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
@ -670,12 +630,49 @@
//
// FDialogs
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 549);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.uiLine10);
this.Controls.Add(this.btnAsk);
this.Controls.Add(this.uiSymbolButton5);
this.Controls.Add(this.uiSymbolButton13);
this.Controls.Add(this.uiSymbolButton4);
this.Controls.Add(this.btnSuccess);
this.Controls.Add(this.uiSymbolButton6);
this.Controls.Add(this.uiLine9);
this.Controls.Add(this.uiSymbolButton2);
this.Controls.Add(this.btnWarn);
this.Controls.Add(this.uiLine4);
this.Controls.Add(this.uiSymbolButton11);
this.Controls.Add(this.uiLine5);
this.Controls.Add(this.btnError);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.uiLine8);
this.Controls.Add(this.uiLine6);
this.Controls.Add(this.btnAuto);
this.Controls.Add(this.uiLine3);
this.Controls.Add(this.uiSymbolButton3);
this.Controls.Add(this.btnCH);
this.Controls.Add(this.btnStatus2);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiSymbolButton10);
this.Controls.Add(this.btnEN);
this.Controls.Add(this.btnInfo);
this.Controls.Add(this.btnPasswordInput);
this.Controls.Add(this.uiLine7);
this.Controls.Add(this.uiSymbolButton9);
this.Controls.Add(this.btnStringInput);
this.Controls.Add(this.btnDoubleInput);
this.Controls.Add(this.uiSymbolButton7);
this.Controls.Add(this.uiSymbolButton8);
this.Controls.Add(this.btnIntInput);
this.Name = "FDialogs";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 62160;
this.Text = "Dialogs";
this.PagePanel.ResumeLayout(false);
this.ResumeLayout(false);
}

View File

@ -4,7 +4,7 @@ using System.Threading;
namespace Sunny.UI.Demo
{
public partial class FDialogs : UITitlePage
public partial class FDialogs : UIPage
{
public FDialogs()
{

View File

@ -28,105 +28,102 @@
/// </summary>
private void InitializeComponent()
{
this.btnEdit = new Sunny.UI.UISymbolButton();
this.uiLine1 = new Sunny.UI.UILine();
this.btnAdd = new Sunny.UI.UISymbolButton();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiLine2 = new Sunny.UI.UILine();
this.PagePanel.SuspendLayout();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.btnAdd = new Sunny.UI.UISymbolButton();
this.uiLine1 = new Sunny.UI.UILine();
this.btnEdit = new Sunny.UI.UISymbolButton();
this.SuspendLayout();
//
// PagePanel
// uiLine2
//
this.PagePanel.Controls.Add(this.uiLine2);
this.PagePanel.Controls.Add(this.uiSymbolButton1);
this.PagePanel.Controls.Add(this.btnAdd);
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.btnEdit);
//
// btnEdit
//
this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnEdit.Location = new System.Drawing.Point(152, 57);
this.btnEdit.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEdit.Name = "btnEdit";
this.btnEdit.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnEdit.Size = new System.Drawing.Size(100, 35);
this.btnEdit.Symbol = 61508;
this.btnEdit.TabIndex = 0;
this.btnEdit.Text = "编辑";
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 19;
this.uiLine1.Text = "UIEditForm";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnAdd
//
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAdd.Location = new System.Drawing.Point(30, 57);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnAdd.Size = new System.Drawing.Size(100, 35);
this.btnAdd.Symbol = 61543;
this.btnAdd.TabIndex = 20;
this.btnAdd.Text = "增加";
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 149);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(670, 20);
this.uiLine2.TabIndex = 27;
this.uiLine2.Text = "UIEditForm 代码生成";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 149);
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 184);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton1.Symbol = 61543;
this.uiSymbolButton1.TabIndex = 21;
this.uiSymbolButton1.TabIndex = 26;
this.uiSymbolButton1.Text = "增加";
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiLine2
// btnAdd
//
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine2.Location = new System.Drawing.Point(30, 114);
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine2.Name = "uiLine2";
this.uiLine2.Size = new System.Drawing.Size(670, 20);
this.uiLine2.TabIndex = 22;
this.uiLine2.Text = "UIEditForm 代码生成";
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAdd.Location = new System.Drawing.Point(30, 92);
this.btnAdd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnAdd.Size = new System.Drawing.Size(100, 35);
this.btnAdd.Symbol = 61543;
this.btnAdd.TabIndex = 25;
this.btnAdd.Text = "增加";
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 55);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 24;
this.uiLine1.Text = "UIEditForm";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnEdit
//
this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnEdit.Location = new System.Drawing.Point(152, 92);
this.btnEdit.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEdit.Name = "btnEdit";
this.btnEdit.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
this.btnEdit.Size = new System.Drawing.Size(100, 35);
this.btnEdit.Symbol = 61508;
this.btnEdit.TabIndex = 23;
this.btnEdit.Text = "编辑";
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
//
// FEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiLine2);
this.Controls.Add(this.uiSymbolButton1);
this.Controls.Add(this.btnAdd);
this.Controls.Add(this.uiLine1);
this.Controls.Add(this.btnEdit);
this.Name = "FEditor";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61508;
this.Text = "Editor";
this.PagePanel.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UISymbolButton btnEdit;
private UILine uiLine1;
private UISymbolButton btnAdd;
private UILine uiLine2;
private UISymbolButton uiSymbolButton1;
private UISymbolButton btnAdd;
private UILine uiLine1;
private UISymbolButton btnEdit;
}
}

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace Sunny.UI.Demo.Forms
{
public partial class FEditor : UITitlePage
public partial class FEditor : UIPage
{
public FEditor()
{

View File

@ -28,7 +28,6 @@
/// </summary>
private void InitializeComponent()
{
this.uiLine1 = new Sunny.UI.UILine();
this.btnAM = new Sunny.UI.UIImageButton();
this.btnAHMF = new Sunny.UI.UIImageButton();
this.btnHAMF = new Sunny.UI.UIImageButton();
@ -36,7 +35,6 @@
this.btnAHM = new Sunny.UI.UIImageButton();
this.btnHMF = new Sunny.UI.UIImageButton();
this.btnHM = new Sunny.UI.UIImageButton();
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.btnAM)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnAHMF)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnHAMF)).BeginInit();
@ -46,39 +44,17 @@
((System.ComponentModel.ISupportInitialize)(this.btnHM)).BeginInit();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiLine1);
this.PagePanel.Controls.Add(this.btnAM);
this.PagePanel.Controls.Add(this.btnAHMF);
this.PagePanel.Controls.Add(this.btnHAMF);
this.PagePanel.Controls.Add(this.btnHAM);
this.PagePanel.Controls.Add(this.btnAHM);
this.PagePanel.Controls.Add(this.btnHMF);
this.PagePanel.Controls.Add(this.btnHM);
this.PagePanel.Size = new System.Drawing.Size(892, 592);
//
// uiLine1
//
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiLine1.Location = new System.Drawing.Point(30, 20);
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
this.uiLine1.Name = "uiLine1";
this.uiLine1.Size = new System.Drawing.Size(670, 20);
this.uiLine1.TabIndex = 48;
this.uiLine1.Text = "UIMainFrame";
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnAM
//
this.btnAM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAM.Image = global::Sunny.UI.Demo.Properties.Resources.AM;
this.btnAM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AM1;
this.btnAM.Location = new System.Drawing.Point(30, 381);
this.btnAM.Location = new System.Drawing.Point(30, 385);
this.btnAM.Name = "btnAM";
this.btnAM.Size = new System.Drawing.Size(160, 120);
this.btnAM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnAM.TabIndex = 7;
this.btnAM.TabIndex = 55;
this.btnAM.TabStop = false;
this.btnAM.Text = null;
this.btnAM.Click += new System.EventHandler(this.btnAM_Click);
@ -86,13 +62,14 @@
// btnAHMF
//
this.btnAHMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAHMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAHMF.Image = global::Sunny.UI.Demo.Properties.Resources.AHMF;
this.btnAHMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AHMF1;
this.btnAHMF.Location = new System.Drawing.Point(430, 381);
this.btnAHMF.Location = new System.Drawing.Point(430, 385);
this.btnAHMF.Name = "btnAHMF";
this.btnAHMF.Size = new System.Drawing.Size(160, 120);
this.btnAHMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnAHMF.TabIndex = 6;
this.btnAHMF.TabIndex = 54;
this.btnAHMF.TabStop = false;
this.btnAHMF.Text = null;
this.btnAHMF.Click += new System.EventHandler(this.btnAHMF_Click);
@ -100,13 +77,14 @@
// btnHAMF
//
this.btnHAMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHAMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHAMF.Image = global::Sunny.UI.Demo.Properties.Resources.HAMF;
this.btnHAMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HAMF1;
this.btnHAMF.Location = new System.Drawing.Point(230, 221);
this.btnHAMF.Location = new System.Drawing.Point(230, 225);
this.btnHAMF.Name = "btnHAMF";
this.btnHAMF.Size = new System.Drawing.Size(160, 120);
this.btnHAMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnHAMF.TabIndex = 5;
this.btnHAMF.TabIndex = 53;
this.btnHAMF.TabStop = false;
this.btnHAMF.Text = null;
this.btnHAMF.Click += new System.EventHandler(this.btnHAMF_Click);
@ -114,13 +92,14 @@
// btnHAM
//
this.btnHAM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHAM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHAM.Image = global::Sunny.UI.Demo.Properties.Resources.HAM;
this.btnHAM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HAM1;
this.btnHAM.Location = new System.Drawing.Point(30, 221);
this.btnHAM.Location = new System.Drawing.Point(30, 225);
this.btnHAM.Name = "btnHAM";
this.btnHAM.Size = new System.Drawing.Size(160, 120);
this.btnHAM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnHAM.TabIndex = 4;
this.btnHAM.TabIndex = 52;
this.btnHAM.TabStop = false;
this.btnHAM.Text = null;
this.btnHAM.Click += new System.EventHandler(this.btnHAM_Click);
@ -128,13 +107,14 @@
// btnAHM
//
this.btnAHM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAHM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnAHM.Image = global::Sunny.UI.Demo.Properties.Resources.AHM;
this.btnAHM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.AHM1;
this.btnAHM.Location = new System.Drawing.Point(230, 381);
this.btnAHM.Location = new System.Drawing.Point(230, 385);
this.btnAHM.Name = "btnAHM";
this.btnAHM.Size = new System.Drawing.Size(160, 120);
this.btnAHM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnAHM.TabIndex = 3;
this.btnAHM.TabIndex = 51;
this.btnAHM.TabStop = false;
this.btnAHM.Text = null;
this.btnAHM.Click += new System.EventHandler(this.btnAHM_Click);
@ -142,13 +122,14 @@
// btnHMF
//
this.btnHMF.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHMF.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHMF.Image = global::Sunny.UI.Demo.Properties.Resources.HMF;
this.btnHMF.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HMF1;
this.btnHMF.Location = new System.Drawing.Point(230, 61);
this.btnHMF.Location = new System.Drawing.Point(230, 65);
this.btnHMF.Name = "btnHMF";
this.btnHMF.Size = new System.Drawing.Size(160, 120);
this.btnHMF.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnHMF.TabIndex = 2;
this.btnHMF.TabIndex = 50;
this.btnHMF.TabStop = false;
this.btnHMF.Text = null;
this.btnHMF.Click += new System.EventHandler(this.btnHMF_Click);
@ -156,13 +137,14 @@
// btnHM
//
this.btnHM.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnHM.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnHM.Image = global::Sunny.UI.Demo.Properties.Resources.HM;
this.btnHM.ImageHover = global::Sunny.UI.Demo.Properties.Resources.HM1;
this.btnHM.Location = new System.Drawing.Point(30, 61);
this.btnHM.Location = new System.Drawing.Point(30, 65);
this.btnHM.Name = "btnHM";
this.btnHM.Size = new System.Drawing.Size(160, 120);
this.btnHM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnHM.TabIndex = 1;
this.btnHM.TabIndex = 49;
this.btnHM.TabStop = false;
this.btnHM.Text = null;
this.btnHM.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@ -170,14 +152,21 @@
//
// FFrames
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(892, 627);
this.Controls.Add(this.btnAM);
this.Controls.Add(this.btnAHMF);
this.Controls.Add(this.btnHAMF);
this.Controls.Add(this.btnHAM);
this.Controls.Add(this.btnAHM);
this.Controls.Add(this.btnHMF);
this.Controls.Add(this.btnHM);
this.Name = "FFrames";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Symbol = 61674;
this.Text = "Frames";
this.PagePanel.ResumeLayout(false);
this.PagePanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.btnAM)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnAHMF)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnHAMF)).EndInit();
@ -186,17 +175,18 @@
((System.ComponentModel.ISupportInitialize)(this.btnHMF)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnHM)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private UIImageButton btnHM;
private UIImageButton btnAM;
private UIImageButton btnAHMF;
private UIImageButton btnHAMF;
private UIImageButton btnHAM;
private UIImageButton btnAHM;
private UIImageButton btnHMF;
private UILine uiLine1;
private UIImageButton btnHM;
}
}

View File

@ -2,7 +2,7 @@
namespace Sunny.UI.Demo
{
public partial class FFrames : UITitlePage
public partial class FFrames : UIPage
{
public FFrames()
{

View File

@ -29,19 +29,15 @@
private void InitializeComponent()
{
this.uiSymbolLabel1 = new Sunny.UI.UISymbolLabel();
this.PagePanel.SuspendLayout();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolLabel1);
//
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 415);
@ -50,17 +46,19 @@
this.uiSymbolLabel1.Symbol = 61530;
this.uiSymbolLabel1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.uiSymbolLabel1.SymbolSize = 64;
this.uiSymbolLabel1.TabIndex = 1;
this.uiSymbolLabel1.Text = "This is TitlePage1";
this.uiSymbolLabel1.TabIndex = 2;
this.uiSymbolLabel1.Text = "This is page1 with title";
//
// FTitlePage1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage1";
this.Text = "FTitlePage1";
this.PagePanel.ResumeLayout(false);
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Text = "FPage1";
this.ResumeLayout(false);
}

View File

@ -1,6 +1,6 @@
namespace Sunny.UI.Demo
{
public partial class FTitlePage1 : UITitlePage
public partial class FTitlePage1 : UIPage
{
public FTitlePage1()
{

View File

@ -29,19 +29,15 @@
private void InitializeComponent()
{
this.uiSymbolLabel1 = new Sunny.UI.UISymbolLabel();
this.PagePanel.SuspendLayout();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolLabel1);
//
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 415);
@ -50,17 +46,19 @@
this.uiSymbolLabel1.Symbol = 61528;
this.uiSymbolLabel1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.SymbolSize = 64;
this.uiSymbolLabel1.TabIndex = 2;
this.uiSymbolLabel1.Text = "This is TitlePage2";
this.uiSymbolLabel1.TabIndex = 3;
this.uiSymbolLabel1.Text = "This is page2 with title";
//
// FTitlePage2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage2";
this.Text = "FTitlePage2";
this.PagePanel.ResumeLayout(false);
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Text = "FPage2";
this.ResumeLayout(false);
}

View File

@ -1,6 +1,6 @@
namespace Sunny.UI.Demo
{
public partial class FTitlePage2 : UITitlePage
public partial class FTitlePage2 : UIPage
{
public FTitlePage2()
{

View File

@ -29,19 +29,15 @@
private void InitializeComponent()
{
this.uiSymbolLabel1 = new Sunny.UI.UISymbolLabel();
this.PagePanel.SuspendLayout();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.uiSymbolLabel1);
//
// uiSymbolLabel1
//
this.uiSymbolLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 0);
this.uiSymbolLabel1.Location = new System.Drawing.Point(0, 35);
this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolLabel1.Name = "uiSymbolLabel1";
this.uiSymbolLabel1.Padding = new System.Windows.Forms.Padding(68, 0, 0, 0);
this.uiSymbolLabel1.Size = new System.Drawing.Size(800, 415);
@ -50,17 +46,19 @@
this.uiSymbolLabel1.Symbol = 61553;
this.uiSymbolLabel1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40)))));
this.uiSymbolLabel1.SymbolSize = 64;
this.uiSymbolLabel1.TabIndex = 3;
this.uiSymbolLabel1.Text = "This is TitlePage3";
this.uiSymbolLabel1.TabIndex = 4;
this.uiSymbolLabel1.Text = "This is page3 with title";
//
// FTitlePage3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.uiSymbolLabel1);
this.Name = "FTitlePage3";
this.Text = "FTitlePage3";
this.PagePanel.ResumeLayout(false);
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Text = "FPage3";
this.ResumeLayout(false);
}

View File

@ -1,6 +1,6 @@
namespace Sunny.UI.Demo
{
public partial class FTitlePage3 : UITitlePage
public partial class FTitlePage3 : UIPage
{
public FTitlePage3()
{

View File

@ -39,17 +39,10 @@
this.uiSymbolButton3 = new Sunny.UI.UISymbolButton();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.PagePanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.Grid)).BeginInit();
this.Panel.SuspendLayout();
this.SuspendLayout();
//
// PagePanel
//
this.PagePanel.Controls.Add(this.Grid);
this.PagePanel.Controls.Add(this.Panel);
this.PagePanel.Size = new System.Drawing.Size(1264, 852);
//
// Grid
//
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
@ -77,7 +70,7 @@
this.Grid.EnableHeadersVisualStyles = false;
this.Grid.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.Grid.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
this.Grid.Location = new System.Drawing.Point(0, 0);
this.Grid.Location = new System.Drawing.Point(0, 35);
this.Grid.Name = "Grid";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
@ -93,7 +86,7 @@
this.Grid.RowTemplate.Height = 29;
this.Grid.SelectedIndex = -1;
this.Grid.ShowGridLine = true;
this.Grid.Size = new System.Drawing.Size(1264, 797);
this.Grid.Size = new System.Drawing.Size(1034, 511);
this.Grid.TabIndex = 0;
//
// Panel
@ -104,14 +97,14 @@
this.Panel.Controls.Add(this.uiSymbolButton1);
this.Panel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.Panel.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.Panel.Location = new System.Drawing.Point(0, 797);
this.Panel.Location = new System.Drawing.Point(0, 546);
this.Panel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Panel.MinimumSize = new System.Drawing.Size(1, 1);
this.Panel.Name = "Panel";
this.Panel.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.Panel.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.Panel.Size = new System.Drawing.Size(1264, 55);
this.Panel.Size = new System.Drawing.Size(1034, 55);
this.Panel.TabIndex = 1;
this.Panel.Text = null;
this.Panel.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@ -171,11 +164,15 @@
//
// UIDataGridViewForm
//
this.AllowShowTitle = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1264, 887);
this.ClientSize = new System.Drawing.Size(1034, 601);
this.Controls.Add(this.Grid);
this.Controls.Add(this.Panel);
this.Name = "UIDataGridViewForm";
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
this.ShowTitle = true;
this.Text = "FDataGridView";
this.PagePanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.Grid)).EndInit();
this.Panel.ResumeLayout(false);
this.ResumeLayout(false);

View File

@ -1,6 +1,6 @@
namespace Sunny.UI
{
public partial class UIDataGridViewForm : UITitlePage
public partial class UIDataGridViewForm : UIPage
{
public UIDataGridViewForm()
{