diff --git a/SunnyUI.Demo/Bin/SunnyUI.Common.dll b/SunnyUI.Demo/Bin/SunnyUI.Common.dll index 186dee36..57716290 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.Common.dll and b/SunnyUI.Demo/Bin/SunnyUI.Common.dll differ diff --git a/SunnyUI.Demo/Bin/SunnyUI.Demo.exe b/SunnyUI.Demo/Bin/SunnyUI.Demo.exe index 2083eea9..eaa51c8a 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.Demo.exe and b/SunnyUI.Demo/Bin/SunnyUI.Demo.exe differ diff --git a/SunnyUI.Demo/Bin/SunnyUI.dll b/SunnyUI.Demo/Bin/SunnyUI.dll index bcd22964..af9c52ea 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.dll and b/SunnyUI.Demo/Bin/SunnyUI.dll differ diff --git a/SunnyUI.Demo/Charts/FBarChart.Designer.cs b/SunnyUI.Demo/Charts/FBarChart.Designer.cs index 87336807..ec97de43 100644 --- a/SunnyUI.Demo/Charts/FBarChart.Designer.cs +++ b/SunnyUI.Demo/Charts/FBarChart.Designer.cs @@ -43,7 +43,7 @@ namespace Sunny.UI.Demo // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -57,7 +57,7 @@ namespace Sunny.UI.Demo // uiImageButton3 // this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton3.Name = "uiImageButton3"; @@ -71,7 +71,7 @@ namespace Sunny.UI.Demo // uiImageButton2 // this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton2.Name = "uiImageButton2"; @@ -85,7 +85,7 @@ namespace Sunny.UI.Demo // uiImageButton1 // this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton1.Name = "uiImageButton1"; @@ -99,7 +99,7 @@ namespace Sunny.UI.Demo // 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.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, 55); this.BarChart.MinimumSize = new System.Drawing.Size(1, 1); @@ -112,7 +112,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.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; diff --git a/SunnyUI.Demo/Charts/FDoughnutChart.Designer.cs b/SunnyUI.Demo/Charts/FDoughnutChart.Designer.cs index b715fea8..d62ea01d 100644 --- a/SunnyUI.Demo/Charts/FDoughnutChart.Designer.cs +++ b/SunnyUI.Demo/Charts/FDoughnutChart.Designer.cs @@ -42,7 +42,7 @@ // 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.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, 55); this.DoughnutChart.MinimumSize = new System.Drawing.Size(1, 1); @@ -54,7 +54,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -68,7 +68,7 @@ // uiImageButton3 // this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton3.Name = "uiImageButton3"; @@ -82,7 +82,7 @@ // uiImageButton2 // this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton2.Name = "uiImageButton2"; @@ -96,7 +96,7 @@ // uiImageButton1 // this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton1.Name = "uiImageButton1"; @@ -111,7 +111,7 @@ // this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.uiSymbolButton2.Enabled = false; - this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; diff --git a/SunnyUI.Demo/Charts/FLineChart.Designer.cs b/SunnyUI.Demo/Charts/FLineChart.Designer.cs index e877f873..7f519adb 100644 --- a/SunnyUI.Demo/Charts/FLineChart.Designer.cs +++ b/SunnyUI.Demo/Charts/FLineChart.Designer.cs @@ -47,7 +47,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -56,14 +56,14 @@ this.uiSymbolButton1.Symbol = 61953; this.uiSymbolButton1.TabIndex = 34; this.uiSymbolButton1.Text = "单Y轴"; - this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click); // // uiImageButton3 // this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton3.Name = "uiImageButton3"; @@ -78,7 +78,7 @@ // uiImageButton2 // this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton2.Name = "uiImageButton2"; @@ -93,7 +93,7 @@ // uiImageButton1 // this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton1.Name = "uiImageButton1"; @@ -107,13 +107,13 @@ // // LineChart // - this.LineChart.Font = new System.Drawing.Font("微软雅黑", 12F); - this.LineChart.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.LineChart.Font = new System.Drawing.Font("宋体", 12F); + this.LineChart.LegendFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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, 430); - this.LineChart.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.LineChart.SubFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.LineChart.TabIndex = 35; this.LineChart.Text = "uiLineChart1"; this.LineChart.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); @@ -122,7 +122,7 @@ // uiSymbolButton2 // this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(560, 505); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; @@ -131,7 +131,7 @@ this.uiSymbolButton2.Symbol = 61463; this.uiSymbolButton2.TabIndex = 36; this.uiSymbolButton2.Text = "实时"; - this.uiSymbolButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click); // @@ -142,7 +142,7 @@ // cbPoints // this.cbPoints.Cursor = System.Windows.Forms.Cursors.Hand; - this.cbPoints.Font = new System.Drawing.Font("微软雅黑", 12F); + this.cbPoints.Font = new System.Drawing.Font("宋体", 12F); this.cbPoints.Location = new System.Drawing.Point(348, 538); this.cbPoints.MinimumSize = new System.Drawing.Size(1, 1); this.cbPoints.Name = "cbPoints"; @@ -156,7 +156,7 @@ // cbContainsNan // this.cbContainsNan.Cursor = System.Windows.Forms.Cursors.Hand; - this.cbContainsNan.Font = new System.Drawing.Font("微软雅黑", 12F); + this.cbContainsNan.Font = new System.Drawing.Font("宋体", 12F); this.cbContainsNan.Location = new System.Drawing.Point(571, 535); this.cbContainsNan.MinimumSize = new System.Drawing.Size(1, 1); this.cbContainsNan.Name = "cbContainsNan"; @@ -171,7 +171,7 @@ // uiSymbolButton3 // this.uiSymbolButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton3.Location = new System.Drawing.Point(454, 505); this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton3.Name = "uiSymbolButton3"; @@ -180,7 +180,7 @@ this.uiSymbolButton3.Symbol = 61953; this.uiSymbolButton3.TabIndex = 39; this.uiSymbolButton3.Text = "双Y轴"; - this.uiSymbolButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiSymbolButton3.Click += new System.EventHandler(this.uiSymbolButton3_Click_1); // diff --git a/SunnyUI.Demo/Charts/FPieChart.Designer.cs b/SunnyUI.Demo/Charts/FPieChart.Designer.cs index ed61814c..9eff1f63 100644 --- a/SunnyUI.Demo/Charts/FPieChart.Designer.cs +++ b/SunnyUI.Demo/Charts/FPieChart.Designer.cs @@ -42,7 +42,7 @@ // 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.Font = new System.Drawing.Font("宋体", 12F); this.PieChart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54))))); this.PieChart.Location = new System.Drawing.Point(30, 55); this.PieChart.MinimumSize = new System.Drawing.Size(1, 1); @@ -55,7 +55,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(348, 505); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -69,7 +69,7 @@ // uiImageButton3 // this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton3.Name = "uiImageButton3"; @@ -83,7 +83,7 @@ // uiImageButton2 // this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton2.Name = "uiImageButton2"; @@ -97,7 +97,7 @@ // uiImageButton1 // this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 505); this.uiImageButton1.Name = "uiImageButton1"; @@ -112,7 +112,7 @@ // this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.uiSymbolButton2.Enabled = false; - this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(454, 505); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; diff --git a/SunnyUI.Demo/Controls/FAvatar.Designer.cs b/SunnyUI.Demo/Controls/FAvatar.Designer.cs index 03d044c8..286a9d3c 100644 --- a/SunnyUI.Demo/Controls/FAvatar.Designer.cs +++ b/SunnyUI.Demo/Controls/FAvatar.Designer.cs @@ -55,7 +55,7 @@ namespace Sunny.UI.Demo // uiLabel5 // this.uiLabel5.AutoSize = true; - this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel5.Location = new System.Drawing.Point(181, 257); this.uiLabel5.Name = "uiLabel5"; this.uiLabel5.Size = new System.Drawing.Size(42, 21); @@ -67,7 +67,7 @@ namespace Sunny.UI.Demo // uiLabel6 // this.uiLabel6.AutoSize = true; - this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel6.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel6.Location = new System.Drawing.Point(109, 257); this.uiLabel6.Name = "uiLabel6"; this.uiLabel6.Size = new System.Drawing.Size(42, 21); @@ -79,7 +79,7 @@ namespace Sunny.UI.Demo // uiAvatar5 // this.uiAvatar5.AvatarSize = 55; - this.uiAvatar5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar5.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar5.Icon = Sunny.UI.UIAvatar.UIIcon.Text; this.uiAvatar5.Location = new System.Drawing.Point(174, 190); this.uiAvatar5.MinimumSize = new System.Drawing.Size(1, 1); @@ -93,7 +93,7 @@ namespace Sunny.UI.Demo // uiAvatar6 // this.uiAvatar6.AvatarSize = 55; - this.uiAvatar6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar6.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar6.Location = new System.Drawing.Point(102, 190); this.uiAvatar6.MinimumSize = new System.Drawing.Size(1, 1); this.uiAvatar6.Name = "uiAvatar6"; @@ -106,7 +106,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -119,7 +119,7 @@ namespace Sunny.UI.Demo // uiLabel4 // this.uiLabel4.AutoSize = true; - this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel4.Location = new System.Drawing.Point(355, 152); this.uiLabel4.Name = "uiLabel4"; this.uiLabel4.Size = new System.Drawing.Size(74, 21); @@ -131,7 +131,7 @@ namespace Sunny.UI.Demo // uiLabel3 // this.uiLabel3.AutoSize = true; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(183, 152); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(42, 21); @@ -143,7 +143,7 @@ namespace Sunny.UI.Demo // uiLabel2 // this.uiLabel2.AutoSize = true; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(111, 152); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(42, 21); @@ -155,7 +155,7 @@ namespace Sunny.UI.Demo // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(39, 152); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(42, 21); @@ -167,7 +167,7 @@ namespace Sunny.UI.Demo // uiAvatar4 // this.uiAvatar4.AvatarSize = 55; - this.uiAvatar4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar4.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar4.Location = new System.Drawing.Point(362, 85); this.uiAvatar4.MinimumSize = new System.Drawing.Size(1, 1); this.uiAvatar4.Name = "uiAvatar4"; @@ -181,7 +181,7 @@ namespace Sunny.UI.Demo // uiAvatar3 // this.uiAvatar3.AvatarSize = 55; - this.uiAvatar3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar3.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar3.Icon = Sunny.UI.UIAvatar.UIIcon.Text; this.uiAvatar3.Location = new System.Drawing.Point(174, 85); this.uiAvatar3.MinimumSize = new System.Drawing.Size(1, 1); @@ -194,7 +194,7 @@ namespace Sunny.UI.Demo // uiAvatar2 // this.uiAvatar2.AvatarSize = 55; - this.uiAvatar2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar2.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar2.Icon = Sunny.UI.UIAvatar.UIIcon.Image; this.uiAvatar2.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyUISmall; this.uiAvatar2.Location = new System.Drawing.Point(30, 85); @@ -208,7 +208,7 @@ namespace Sunny.UI.Demo // uiAvatar1 // this.uiAvatar1.AvatarSize = 55; - this.uiAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAvatar1.Font = new System.Drawing.Font("宋体", 12F); this.uiAvatar1.Location = new System.Drawing.Point(102, 85); this.uiAvatar1.MinimumSize = new System.Drawing.Size(1, 1); this.uiAvatar1.Name = "uiAvatar1"; @@ -221,7 +221,7 @@ namespace Sunny.UI.Demo // uiContextMenuStrip1 // this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); - this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiContextMenuStrip1.Font = new System.Drawing.Font("宋体", 12F); this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.设置ToolStripMenuItem, this.更改密码ToolStripMenuItem, @@ -256,7 +256,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 307); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -268,7 +268,7 @@ namespace Sunny.UI.Demo // // uiGifAvatar1 // - this.uiGifAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiGifAvatar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiGifAvatar1.Image = global::Sunny.UI.Demo.Properties.Resources.Tom; this.uiGifAvatar1.Location = new System.Drawing.Point(30, 340); this.uiGifAvatar1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Controls/FButton.Designer.cs b/SunnyUI.Demo/Controls/FButton.Designer.cs index 4718c05f..f10a5a09 100644 --- a/SunnyUI.Demo/Controls/FButton.Designer.cs +++ b/SunnyUI.Demo/Controls/FButton.Designer.cs @@ -92,7 +92,7 @@ namespace Sunny.UI.Demo // // uiSwitch3 // - this.uiSwitch3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch3.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch3.Location = new System.Drawing.Point(275, 426); this.uiSwitch3.MinimumSize = new System.Drawing.Size(1, 1); this.uiSwitch3.Name = "uiSwitch3"; @@ -105,7 +105,7 @@ namespace Sunny.UI.Demo // uiSwitch4 // this.uiSwitch4.ActiveText = "On"; - this.uiSwitch4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch4.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch4.InActiveText = "Off"; this.uiSwitch4.Location = new System.Drawing.Point(193, 426); this.uiSwitch4.MinimumSize = new System.Drawing.Size(1, 1); @@ -118,7 +118,7 @@ namespace Sunny.UI.Demo // uiSymbolButton26 // this.uiSymbolButton26.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton26.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton26.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton26.Image = global::Sunny.UI.Demo.Properties.Resources.save; this.uiSymbolButton26.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiSymbolButton26.Location = new System.Drawing.Point(486, 265); @@ -133,12 +133,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton26.TabIndex = 113; this.uiSymbolButton26.Text = "Save"; this.uiSymbolButton26.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.uiSymbolButton26.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton26.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton25 // this.uiSymbolButton25.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton25.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton25.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton25.Image = global::Sunny.UI.Demo.Properties.Resources.relationship; this.uiSymbolButton25.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.uiSymbolButton25.Location = new System.Drawing.Point(600, 265); @@ -153,13 +153,13 @@ namespace Sunny.UI.Demo this.uiSymbolButton25.TabIndex = 112; this.uiSymbolButton25.Text = "类库"; this.uiSymbolButton25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.uiSymbolButton25.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton25.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton25.Click += new System.EventHandler(this.uiSymbolButton25_Click); // // uiImageButton4 // this.uiImageButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiImageButton4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiImageButton4.Image = global::Sunny.UI.Demo.Properties.Resources.dashboard0; this.uiImageButton4.ImageHover = global::Sunny.UI.Demo.Properties.Resources.dashboard; this.uiImageButton4.ImageOffset = new System.Drawing.Point(12, 5); @@ -175,7 +175,7 @@ namespace Sunny.UI.Demo // uiImageButton3 // this.uiImageButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiImageButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiImageButton3.Image = global::Sunny.UI.Demo.Properties.Resources.save0; this.uiImageButton3.ImageHover = global::Sunny.UI.Demo.Properties.Resources.save; this.uiImageButton3.ImagePress = global::Sunny.UI.Demo.Properties.Resources.save0; @@ -189,7 +189,7 @@ namespace Sunny.UI.Demo // uiImageButton2 // this.uiImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiImageButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiImageButton2.Image = global::Sunny.UI.Demo.Properties.Resources.relationship0; this.uiImageButton2.ImageHover = global::Sunny.UI.Demo.Properties.Resources.relationship; this.uiImageButton2.ImagePress = global::Sunny.UI.Demo.Properties.Resources.relationship0; @@ -203,7 +203,7 @@ namespace Sunny.UI.Demo // uiImageButton1 // this.uiImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiImageButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiImageButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiImageButton1.Image = global::Sunny.UI.Demo.Properties.Resources.dashboard0; this.uiImageButton1.ImageHover = global::Sunny.UI.Demo.Properties.Resources.dashboard; this.uiImageButton1.ImagePress = global::Sunny.UI.Demo.Properties.Resources.dashboard0; @@ -217,7 +217,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(388, 397); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -228,7 +228,7 @@ namespace Sunny.UI.Demo // // uiSwitch2 // - this.uiSwitch2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch2.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch2.Location = new System.Drawing.Point(112, 426); this.uiSwitch2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSwitch2.Name = "uiSwitch2"; @@ -239,7 +239,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(30, 397); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -251,7 +251,7 @@ namespace Sunny.UI.Demo // uiSwitch1 // this.uiSwitch1.ActiveText = "On"; - this.uiSwitch1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch1.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch1.InActiveText = "Off"; this.uiSwitch1.Location = new System.Drawing.Point(30, 426); this.uiSwitch1.MinimumSize = new System.Drawing.Size(1, 1); @@ -265,7 +265,7 @@ namespace Sunny.UI.Demo // uiSymbolButton24 // this.uiSymbolButton24.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton24.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton24.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton24.Location = new System.Drawing.Point(654, 345); this.uiSymbolButton24.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton24.Name = "uiSymbolButton24"; @@ -275,12 +275,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton24.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton24.Symbol = 61473; this.uiSymbolButton24.TabIndex = 103; - this.uiSymbolButton24.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton24.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton23 // this.uiSymbolButton23.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton23.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton23.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton23.Location = new System.Drawing.Point(608, 345); this.uiSymbolButton23.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton23.Name = "uiSymbolButton23"; @@ -288,12 +288,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton23.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton23.Symbol = 61544; this.uiSymbolButton23.TabIndex = 102; - this.uiSymbolButton23.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton23.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton22 // this.uiSymbolButton22.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton22.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton22.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton22.Location = new System.Drawing.Point(562, 345); this.uiSymbolButton22.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton22.Name = "uiSymbolButton22"; @@ -301,12 +301,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton22.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton22.Symbol = 61508; this.uiSymbolButton22.TabIndex = 101; - this.uiSymbolButton22.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton22.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton19 // this.uiSymbolButton19.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton19.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton19.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton19.Location = new System.Drawing.Point(516, 345); this.uiSymbolButton19.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton19.Name = "uiSymbolButton19"; @@ -314,12 +314,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton19.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton19.Symbol = 61543; this.uiSymbolButton19.TabIndex = 100; - this.uiSymbolButton19.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton19.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton20 // this.uiSymbolButton20.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton20.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton20.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton20.Location = new System.Drawing.Point(352, 345); this.uiSymbolButton20.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton20.Name = "uiSymbolButton20"; @@ -327,12 +327,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton20.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton20.Symbol = 61522; this.uiSymbolButton20.TabIndex = 99; - this.uiSymbolButton20.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton20.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton21 // this.uiSymbolButton21.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton21.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton21.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton21.Location = new System.Drawing.Point(306, 345); this.uiSymbolButton21.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton21.Name = "uiSymbolButton21"; @@ -340,12 +340,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton21.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton21.Symbol = 61520; this.uiSymbolButton21.TabIndex = 98; - this.uiSymbolButton21.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton21.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton13 // this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton13.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton13.Location = new System.Drawing.Point(260, 345); this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton13.Name = "uiSymbolButton13"; @@ -353,12 +353,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton13.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton13.Symbol = 61518; this.uiSymbolButton13.TabIndex = 97; - this.uiSymbolButton13.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton14 // this.uiSymbolButton14.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton14.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton14.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton14.Location = new System.Drawing.Point(214, 345); this.uiSymbolButton14.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton14.Name = "uiSymbolButton14"; @@ -366,12 +366,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton14.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton14.Symbol = 61514; this.uiSymbolButton14.TabIndex = 96; - this.uiSymbolButton14.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton14.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton15 // this.uiSymbolButton15.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton15.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton15.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton15.Location = new System.Drawing.Point(168, 345); this.uiSymbolButton15.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton15.Name = "uiSymbolButton15"; @@ -379,12 +379,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton15.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton15.Symbol = 61513; this.uiSymbolButton15.TabIndex = 95; - this.uiSymbolButton15.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton15.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton16 // this.uiSymbolButton16.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton16.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton16.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton16.Location = new System.Drawing.Point(122, 345); this.uiSymbolButton16.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton16.Name = "uiSymbolButton16"; @@ -392,12 +392,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton16.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton16.Symbol = 61517; this.uiSymbolButton16.TabIndex = 94; - this.uiSymbolButton16.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton16.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton17 // this.uiSymbolButton17.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton17.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton17.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton17.Location = new System.Drawing.Point(76, 345); this.uiSymbolButton17.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton17.Name = "uiSymbolButton17"; @@ -405,12 +405,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton17.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton17.Symbol = 61516; this.uiSymbolButton17.TabIndex = 93; - this.uiSymbolButton17.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton17.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton18 // this.uiSymbolButton18.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton18.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton18.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton18.Location = new System.Drawing.Point(30, 345); this.uiSymbolButton18.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton18.Name = "uiSymbolButton18"; @@ -418,11 +418,11 @@ namespace Sunny.UI.Demo this.uiSymbolButton18.Size = new System.Drawing.Size(46, 35); this.uiSymbolButton18.Symbol = 61515; this.uiSymbolButton18.TabIndex = 92; - this.uiSymbolButton18.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton18.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 315); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -439,7 +439,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton7.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton7.IsCircle = true; this.uiSymbolButton7.Location = new System.Drawing.Point(235, 265); this.uiSymbolButton7.MinimumSize = new System.Drawing.Size(1, 1); @@ -453,7 +453,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton7.StyleCustomMode = true; this.uiSymbolButton7.Symbol = 61809; this.uiSymbolButton7.TabIndex = 90; - this.uiSymbolButton7.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton8 // @@ -463,7 +463,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiSymbolButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiSymbolButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiSymbolButton8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton8.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton8.IsCircle = true; this.uiSymbolButton8.Location = new System.Drawing.Point(194, 265); this.uiSymbolButton8.MinimumSize = new System.Drawing.Size(1, 1); @@ -477,7 +477,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton8.StyleCustomMode = true; this.uiSymbolButton8.Symbol = 61445; this.uiSymbolButton8.TabIndex = 89; - this.uiSymbolButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton9 // @@ -487,7 +487,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiSymbolButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiSymbolButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiSymbolButton9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton9.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton9.IsCircle = true; this.uiSymbolButton9.Location = new System.Drawing.Point(153, 265); this.uiSymbolButton9.MinimumSize = new System.Drawing.Size(1, 1); @@ -501,12 +501,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton9.StyleCustomMode = true; this.uiSymbolButton9.Symbol = 57607; this.uiSymbolButton9.TabIndex = 88; - this.uiSymbolButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton9.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton10 // this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton10.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton10.IsCircle = true; this.uiSymbolButton10.Location = new System.Drawing.Point(112, 265); this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1); @@ -515,7 +515,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton10.Style = Sunny.UI.UIStyle.Custom; this.uiSymbolButton10.StyleCustomMode = true; this.uiSymbolButton10.TabIndex = 87; - this.uiSymbolButton10.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton10.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton11 // @@ -525,7 +525,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton11.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton11.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton11.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton11.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton11.IsCircle = true; this.uiSymbolButton11.Location = new System.Drawing.Point(71, 265); this.uiSymbolButton11.MinimumSize = new System.Drawing.Size(1, 1); @@ -539,13 +539,13 @@ namespace Sunny.UI.Demo this.uiSymbolButton11.StyleCustomMode = true; this.uiSymbolButton11.Symbol = 61508; this.uiSymbolButton11.TabIndex = 86; - this.uiSymbolButton11.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton11.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton12 // this.uiSymbolButton12.CircleRectWidth = 2; this.uiSymbolButton12.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton12.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton12.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton12.IsCircle = true; this.uiSymbolButton12.Location = new System.Drawing.Point(30, 265); this.uiSymbolButton12.MinimumSize = new System.Drawing.Size(1, 1); @@ -559,7 +559,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton12.SymbolPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(131)))), ((int)(((byte)(229))))); this.uiSymbolButton12.SymbolSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(131)))), ((int)(((byte)(229))))); this.uiSymbolButton12.TabIndex = 85; - this.uiSymbolButton12.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton12.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton6 // @@ -569,7 +569,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton6.Location = new System.Drawing.Point(600, 215); this.uiSymbolButton6.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton6.Name = "uiSymbolButton6"; @@ -583,7 +583,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton6.Symbol = 61532; this.uiSymbolButton6.TabIndex = 84; this.uiSymbolButton6.Text = "Error"; - this.uiSymbolButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton5 // @@ -593,7 +593,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiSymbolButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiSymbolButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiSymbolButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton5.Location = new System.Drawing.Point(486, 215); this.uiSymbolButton5.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton5.Name = "uiSymbolButton5"; @@ -607,7 +607,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton5.Symbol = 61553; this.uiSymbolButton5.TabIndex = 83; this.uiSymbolButton5.Text = "Warn"; - this.uiSymbolButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton3 // @@ -617,7 +617,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiSymbolButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiSymbolButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton3.Location = new System.Drawing.Point(372, 215); this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton3.Name = "uiSymbolButton3"; @@ -631,12 +631,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton3.Symbol = 61530; this.uiSymbolButton3.TabIndex = 82; this.uiSymbolButton3.Text = "Success"; - this.uiSymbolButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton4 // this.uiSymbolButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton4.Location = new System.Drawing.Point(258, 215); this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton4.Name = "uiSymbolButton4"; @@ -646,7 +646,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton4.Symbol = 61529; this.uiSymbolButton4.TabIndex = 81; this.uiSymbolButton4.Text = "Query"; - this.uiSymbolButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton2 // @@ -656,7 +656,7 @@ namespace Sunny.UI.Demo this.uiSymbolButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(144, 215); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; @@ -670,12 +670,12 @@ namespace Sunny.UI.Demo this.uiSymbolButton2.Symbol = 61453; this.uiSymbolButton2.TabIndex = 80; this.uiSymbolButton2.Text = "Cancel"; - this.uiSymbolButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(30, 215); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -684,11 +684,11 @@ namespace Sunny.UI.Demo this.uiSymbolButton1.StyleCustomMode = true; this.uiSymbolButton1.TabIndex = 79; this.uiSymbolButton1.Text = "OK"; - this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 185); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -699,7 +699,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -716,7 +716,7 @@ namespace Sunny.UI.Demo this.uiButton13.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiButton13.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiButton13.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiButton13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton13.Font = new System.Drawing.Font("宋体", 12F); this.uiButton13.Location = new System.Drawing.Point(600, 135); this.uiButton13.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton13.Name = "uiButton13"; @@ -730,7 +730,7 @@ namespace Sunny.UI.Demo this.uiButton13.StyleCustomMode = true; this.uiButton13.TabIndex = 76; this.uiButton13.Text = "Red"; - this.uiButton13.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton14 // @@ -740,7 +740,7 @@ namespace Sunny.UI.Demo this.uiButton14.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiButton14.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiButton14.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiButton14.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton14.Font = new System.Drawing.Font("宋体", 12F); this.uiButton14.Location = new System.Drawing.Point(486, 135); this.uiButton14.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton14.Name = "uiButton14"; @@ -754,7 +754,7 @@ namespace Sunny.UI.Demo this.uiButton14.StyleCustomMode = true; this.uiButton14.TabIndex = 75; this.uiButton14.Text = "Orange"; - this.uiButton14.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton14.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton15 // @@ -764,7 +764,7 @@ namespace Sunny.UI.Demo this.uiButton15.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(163)))), ((int)(((byte)(163))))); this.uiButton15.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); this.uiButton15.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); - this.uiButton15.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton15.Font = new System.Drawing.Font("宋体", 12F); this.uiButton15.Location = new System.Drawing.Point(372, 135); this.uiButton15.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton15.Name = "uiButton15"; @@ -778,7 +778,7 @@ namespace Sunny.UI.Demo this.uiButton15.StyleCustomMode = true; this.uiButton15.TabIndex = 74; this.uiButton15.Text = "Gray"; - this.uiButton15.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton15.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton16 // @@ -788,7 +788,7 @@ namespace Sunny.UI.Demo this.uiButton16.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiButton16.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiButton16.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiButton16.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton16.Font = new System.Drawing.Font("宋体", 12F); this.uiButton16.Location = new System.Drawing.Point(258, 135); this.uiButton16.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton16.Name = "uiButton16"; @@ -802,12 +802,12 @@ namespace Sunny.UI.Demo this.uiButton16.StyleCustomMode = true; this.uiButton16.TabIndex = 73; this.uiButton16.Text = "Green"; - this.uiButton16.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton16.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton17 // this.uiButton17.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton17.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton17.Font = new System.Drawing.Font("宋体", 12F); this.uiButton17.Location = new System.Drawing.Point(144, 135); this.uiButton17.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton17.Name = "uiButton17"; @@ -816,12 +816,12 @@ namespace Sunny.UI.Demo this.uiButton17.StyleCustomMode = true; this.uiButton17.TabIndex = 72; this.uiButton17.Text = "Blue"; - this.uiButton17.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton17.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton18 // this.uiButton18.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton18.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton18.Font = new System.Drawing.Font("宋体", 12F); this.uiButton18.Location = new System.Drawing.Point(30, 135); this.uiButton18.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton18.Name = "uiButton18"; @@ -829,7 +829,7 @@ namespace Sunny.UI.Demo this.uiButton18.Size = new System.Drawing.Size(100, 35); this.uiButton18.TabIndex = 71; this.uiButton18.Text = "Round"; - this.uiButton18.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton18.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton4 // @@ -839,7 +839,7 @@ namespace Sunny.UI.Demo this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiButton4.Location = new System.Drawing.Point(600, 85); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; @@ -853,7 +853,7 @@ namespace Sunny.UI.Demo this.uiButton4.StyleCustomMode = true; this.uiButton4.TabIndex = 64; this.uiButton4.Text = "Red"; - this.uiButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton5 // @@ -863,7 +863,7 @@ namespace Sunny.UI.Demo this.uiButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiButton5.Location = new System.Drawing.Point(486, 85); this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton5.Name = "uiButton5"; @@ -877,7 +877,7 @@ namespace Sunny.UI.Demo this.uiButton5.StyleCustomMode = true; this.uiButton5.TabIndex = 63; this.uiButton5.Text = "Orange"; - this.uiButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton6 // @@ -887,7 +887,7 @@ namespace Sunny.UI.Demo this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(163)))), ((int)(((byte)(163))))); this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); - this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiButton6.Location = new System.Drawing.Point(372, 85); this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton6.Name = "uiButton6"; @@ -901,7 +901,7 @@ namespace Sunny.UI.Demo this.uiButton6.StyleCustomMode = true; this.uiButton6.TabIndex = 62; this.uiButton6.Text = "Gray"; - this.uiButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton3 // @@ -911,7 +911,7 @@ namespace Sunny.UI.Demo this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiButton3.Location = new System.Drawing.Point(258, 85); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; @@ -925,12 +925,12 @@ namespace Sunny.UI.Demo this.uiButton3.StyleCustomMode = true; this.uiButton3.TabIndex = 61; this.uiButton3.Text = "Green"; - this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(144, 85); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; @@ -940,14 +940,14 @@ namespace Sunny.UI.Demo this.uiButton2.StyleCustomMode = true; this.uiButton2.TabIndex = 60; this.uiButton2.Text = "Blue"; - this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton2.TipsText = "16"; this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click); // // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(30, 85); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; @@ -955,14 +955,14 @@ namespace Sunny.UI.Demo this.uiButton1.Size = new System.Drawing.Size(100, 35); this.uiButton1.TabIndex = 59; this.uiButton1.Text = "System"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.TipsText = "1"; this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // // uiToolTip1 // this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54))))); - this.uiToolTip1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiToolTip1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.uiToolTip1.OwnerDraw = true; // @@ -970,7 +970,7 @@ namespace Sunny.UI.Demo // this.uiSwitch5.ActiveText = "On"; this.uiSwitch5.Enabled = false; - this.uiSwitch5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch5.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch5.InActiveText = "Off"; this.uiSwitch5.Location = new System.Drawing.Point(30, 470); this.uiSwitch5.MinimumSize = new System.Drawing.Size(1, 1); @@ -983,7 +983,7 @@ namespace Sunny.UI.Demo // this.uiSwitch6.Active = true; this.uiSwitch6.Enabled = false; - this.uiSwitch6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSwitch6.Font = new System.Drawing.Font("宋体", 12F); this.uiSwitch6.Location = new System.Drawing.Point(112, 470); this.uiSwitch6.MinimumSize = new System.Drawing.Size(1, 1); this.uiSwitch6.Name = "uiSwitch6"; diff --git a/SunnyUI.Demo/Controls/FCheckBox.Designer.cs b/SunnyUI.Demo/Controls/FCheckBox.Designer.cs index 6a880eeb..5fefa705 100644 --- a/SunnyUI.Demo/Controls/FCheckBox.Designer.cs +++ b/SunnyUI.Demo/Controls/FCheckBox.Designer.cs @@ -47,7 +47,7 @@ namespace Sunny.UI.Demo // uiButton5 // this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiButton5.Location = new System.Drawing.Point(454, 345); this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton5.Name = "uiButton5"; @@ -59,7 +59,7 @@ namespace Sunny.UI.Demo // uiButton4 // this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiButton4.Location = new System.Drawing.Point(348, 345); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; @@ -71,7 +71,7 @@ namespace Sunny.UI.Demo // uiButton3 // this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiButton3.Location = new System.Drawing.Point(242, 345); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; @@ -83,7 +83,7 @@ namespace Sunny.UI.Demo // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(136, 345); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; @@ -95,7 +95,7 @@ namespace Sunny.UI.Demo // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(30, 345); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; @@ -107,7 +107,7 @@ namespace Sunny.UI.Demo // uiCheckBoxGroup1 // this.uiCheckBoxGroup1.ColumnCount = 2; - this.uiCheckBoxGroup1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBoxGroup1.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBoxGroup1.Items.AddRange(new object[] { "0", "1", @@ -134,7 +134,7 @@ namespace Sunny.UI.Demo // uiCheckBox2 // this.uiCheckBox2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiCheckBox2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBox2.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBox2.Location = new System.Drawing.Point(192, 83); this.uiCheckBox2.MinimumSize = new System.Drawing.Size(1, 1); this.uiCheckBox2.Name = "uiCheckBox2"; @@ -147,7 +147,7 @@ namespace Sunny.UI.Demo // this.uiCheckBox4.Cursor = System.Windows.Forms.Cursors.Hand; this.uiCheckBox4.Enabled = false; - this.uiCheckBox4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBox4.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBox4.Location = new System.Drawing.Point(516, 81); this.uiCheckBox4.MinimumSize = new System.Drawing.Size(1, 1); this.uiCheckBox4.Name = "uiCheckBox4"; @@ -161,7 +161,7 @@ namespace Sunny.UI.Demo this.uiCheckBox3.Checked = true; this.uiCheckBox3.Cursor = System.Windows.Forms.Cursors.Hand; this.uiCheckBox3.Enabled = false; - this.uiCheckBox3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBox3.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBox3.Location = new System.Drawing.Point(354, 81); this.uiCheckBox3.MinimumSize = new System.Drawing.Size(1, 1); this.uiCheckBox3.Name = "uiCheckBox3"; @@ -172,7 +172,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -185,7 +185,7 @@ namespace Sunny.UI.Demo // this.uiCheckBox1.Checked = true; this.uiCheckBox1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiCheckBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBox1.Location = new System.Drawing.Point(30, 83); this.uiCheckBox1.MinimumSize = new System.Drawing.Size(1, 1); this.uiCheckBox1.Name = "uiCheckBox1"; @@ -198,7 +198,7 @@ namespace Sunny.UI.Demo // uiButton6 // this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiButton6.Location = new System.Drawing.Point(560, 345); this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton6.Name = "uiButton6"; diff --git a/SunnyUI.Demo/Controls/FCombobox.Designer.cs b/SunnyUI.Demo/Controls/FCombobox.Designer.cs index 41734a20..bc8a76d1 100644 --- a/SunnyUI.Demo/Controls/FCombobox.Designer.cs +++ b/SunnyUI.Demo/Controls/FCombobox.Designer.cs @@ -116,7 +116,7 @@ namespace Sunny.UI.Demo this.uiComboTreeView3.CheckBoxes = true; this.uiComboTreeView3.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboTreeView3.FillColor = System.Drawing.Color.White; - this.uiComboTreeView3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboTreeView3.Font = new System.Drawing.Font("宋体", 12F); this.uiComboTreeView3.Location = new System.Drawing.Point(544, 373); this.uiComboTreeView3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboTreeView3.MinimumSize = new System.Drawing.Size(63, 0); @@ -161,7 +161,7 @@ namespace Sunny.UI.Demo // this.uiComboTreeView4.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboTreeView4.FillColor = System.Drawing.Color.White; - this.uiComboTreeView4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboTreeView4.Font = new System.Drawing.Font("宋体", 12F); this.uiComboTreeView4.Location = new System.Drawing.Point(386, 373); this.uiComboTreeView4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboTreeView4.MinimumSize = new System.Drawing.Size(63, 0); @@ -207,7 +207,7 @@ namespace Sunny.UI.Demo this.uiComboTreeView2.CheckBoxes = true; this.uiComboTreeView2.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboTreeView2.FillColor = System.Drawing.Color.White; - this.uiComboTreeView2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboTreeView2.Font = new System.Drawing.Font("宋体", 12F); this.uiComboTreeView2.Location = new System.Drawing.Point(544, 329); this.uiComboTreeView2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboTreeView2.MinimumSize = new System.Drawing.Size(63, 0); @@ -234,7 +234,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.Location = new System.Drawing.Point(386, 294); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; @@ -247,7 +247,7 @@ namespace Sunny.UI.Demo // this.uiComboTreeView1.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboTreeView1.FillColor = System.Drawing.Color.White; - this.uiComboTreeView1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboTreeView1.Font = new System.Drawing.Font("宋体", 12F); this.uiComboTreeView1.Location = new System.Drawing.Point(386, 329); this.uiComboTreeView1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboTreeView1.MinimumSize = new System.Drawing.Size(63, 0); @@ -273,7 +273,7 @@ namespace Sunny.UI.Demo // // uiLine8 // - this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine8.Font = new System.Drawing.Font("宋体", 12F); this.uiLine8.Location = new System.Drawing.Point(30, 337); this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine8.Name = "uiLine8"; @@ -286,7 +286,7 @@ namespace Sunny.UI.Demo // this.uiDatetimePicker1.CanEmpty = true; this.uiDatetimePicker1.FillColor = System.Drawing.Color.White; - this.uiDatetimePicker1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiDatetimePicker1.Font = new System.Drawing.Font("宋体", 12F); this.uiDatetimePicker1.Location = new System.Drawing.Point(30, 372); this.uiDatetimePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiDatetimePicker1.MaxLength = 19; @@ -307,7 +307,7 @@ namespace Sunny.UI.Demo // this.uiColorPicker1.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiColorPicker1.FillColor = System.Drawing.Color.White; - this.uiColorPicker1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiColorPicker1.Font = new System.Drawing.Font("宋体", 12F); this.uiColorPicker1.Location = new System.Drawing.Point(388, 89); this.uiColorPicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiColorPicker1.MinimumSize = new System.Drawing.Size(63, 0); @@ -322,7 +322,7 @@ namespace Sunny.UI.Demo // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine7.Font = new System.Drawing.Font("宋体", 12F); this.uiLine7.Location = new System.Drawing.Point(388, 55); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine7.Name = "uiLine7"; @@ -333,7 +333,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(30, 416); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -346,7 +346,7 @@ namespace Sunny.UI.Demo // this.uiTimePicker1.CanEmpty = true; this.uiTimePicker1.FillColor = System.Drawing.Color.White; - this.uiTimePicker1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTimePicker1.Font = new System.Drawing.Font("宋体", 12F); this.uiTimePicker1.Location = new System.Drawing.Point(30, 451); this.uiTimePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTimePicker1.MaxLength = 8; @@ -365,7 +365,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 214); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -376,7 +376,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -390,7 +390,7 @@ namespace Sunny.UI.Demo this.uiDatePicker1.CanEmpty = true; this.uiDatePicker1.DateFormat = "yyyy"; this.uiDatePicker1.FillColor = System.Drawing.Color.White; - this.uiDatePicker1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiDatePicker1.Font = new System.Drawing.Font("宋体", 12F); this.uiDatePicker1.Location = new System.Drawing.Point(30, 249); this.uiDatePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiDatePicker1.MaxLength = 4; @@ -416,7 +416,7 @@ namespace Sunny.UI.Demo this.uiComboBox2.DropDownWidth = 300; this.uiComboBox2.FillColor = System.Drawing.Color.White; this.uiComboBox2.FilterMaxCount = 50; - this.uiComboBox2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboBox2.Font = new System.Drawing.Font("宋体", 12F); this.uiComboBox2.Location = new System.Drawing.Point(188, 89); this.uiComboBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboBox2.MinimumSize = new System.Drawing.Size(63, 0); @@ -433,7 +433,7 @@ namespace Sunny.UI.Demo this.uiComboBox1.DataSource = null; this.uiComboBox1.FillColor = System.Drawing.Color.White; this.uiComboBox1.FilterMaxCount = 50; - this.uiComboBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiComboBox1.Items.AddRange(new object[] { "1", "2", @@ -465,7 +465,7 @@ namespace Sunny.UI.Demo this.uiDatePicker2.CanEmpty = true; this.uiDatePicker2.DateFormat = "yyyy-MM"; this.uiDatePicker2.FillColor = System.Drawing.Color.White; - this.uiDatePicker2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiDatePicker2.Font = new System.Drawing.Font("宋体", 12F); this.uiDatePicker2.Location = new System.Drawing.Point(188, 249); this.uiDatePicker2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiDatePicker2.MaxLength = 7; @@ -487,7 +487,7 @@ namespace Sunny.UI.Demo // this.uiDatePicker3.CanEmpty = true; this.uiDatePicker3.FillColor = System.Drawing.Color.White; - this.uiDatePicker3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiDatePicker3.Font = new System.Drawing.Font("宋体", 12F); this.uiDatePicker3.Location = new System.Drawing.Point(30, 293); this.uiDatePicker3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiDatePicker3.MaxLength = 10; @@ -507,7 +507,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(386, 134); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -520,7 +520,7 @@ namespace Sunny.UI.Demo // this.uiComboDataGridView1.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboDataGridView1.FillColor = System.Drawing.Color.White; - this.uiComboDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboDataGridView1.Font = new System.Drawing.Font("宋体", 12F); this.uiComboDataGridView1.Location = new System.Drawing.Point(386, 169); this.uiComboDataGridView1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboDataGridView1.MinimumSize = new System.Drawing.Size(63, 0); @@ -535,7 +535,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(30, 134); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -550,7 +550,7 @@ namespace Sunny.UI.Demo this.uiComboBox3.DropDownWidth = 300; this.uiComboBox3.FillColor = System.Drawing.Color.White; this.uiComboBox3.FilterMaxCount = 50; - this.uiComboBox3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboBox3.Font = new System.Drawing.Font("宋体", 12F); this.uiComboBox3.Location = new System.Drawing.Point(188, 168); this.uiComboBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboBox3.MinimumSize = new System.Drawing.Size(63, 0); @@ -568,7 +568,7 @@ namespace Sunny.UI.Demo this.uiComboBox4.DataSource = null; this.uiComboBox4.FillColor = System.Drawing.Color.White; this.uiComboBox4.FilterMaxCount = 50; - this.uiComboBox4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboBox4.Font = new System.Drawing.Font("宋体", 12F); this.uiComboBox4.Items.AddRange(new object[] { "1", "2", @@ -606,7 +606,7 @@ namespace Sunny.UI.Demo // this.uiComboDataGridView2.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.uiComboDataGridView2.FillColor = System.Drawing.Color.White; - this.uiComboDataGridView2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiComboDataGridView2.Font = new System.Drawing.Font("宋体", 12F); this.uiComboDataGridView2.Location = new System.Drawing.Point(386, 249); this.uiComboDataGridView2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiComboDataGridView2.MinimumSize = new System.Drawing.Size(63, 0); @@ -620,7 +620,7 @@ namespace Sunny.UI.Demo // // uiLine9 // - this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine9.Font = new System.Drawing.Font("宋体", 12F); this.uiLine9.Location = new System.Drawing.Point(386, 214); this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine9.Name = "uiLine9"; @@ -637,7 +637,7 @@ namespace Sunny.UI.Demo // // uiLine10 // - this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine10.Font = new System.Drawing.Font("宋体", 12F); this.uiLine10.Location = new System.Drawing.Point(386, 416); this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine10.Name = "uiLine10"; @@ -649,7 +649,7 @@ namespace Sunny.UI.Demo // uiNumPadTextBox1 // this.uiNumPadTextBox1.FillColor = System.Drawing.Color.White; - this.uiNumPadTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNumPadTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNumPadTextBox1.Location = new System.Drawing.Point(386, 451); this.uiNumPadTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiNumPadTextBox1.MinimumSize = new System.Drawing.Size(63, 0); @@ -663,7 +663,7 @@ namespace Sunny.UI.Demo // uiNumPadTextBox2 // this.uiNumPadTextBox2.FillColor = System.Drawing.Color.White; - this.uiNumPadTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNumPadTextBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNumPadTextBox2.Location = new System.Drawing.Point(544, 451); this.uiNumPadTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiNumPadTextBox2.MinimumSize = new System.Drawing.Size(63, 0); @@ -678,7 +678,7 @@ namespace Sunny.UI.Demo // uiNumPadTextBox3 // this.uiNumPadTextBox3.FillColor = System.Drawing.Color.White; - this.uiNumPadTextBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNumPadTextBox3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNumPadTextBox3.Location = new System.Drawing.Point(544, 495); this.uiNumPadTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiNumPadTextBox3.MaxLength = 18; @@ -694,7 +694,7 @@ namespace Sunny.UI.Demo // uiNumPadTextBox4 // this.uiNumPadTextBox4.FillColor = System.Drawing.Color.White; - this.uiNumPadTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNumPadTextBox4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNumPadTextBox4.Location = new System.Drawing.Point(386, 495); this.uiNumPadTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiNumPadTextBox4.MinimumSize = new System.Drawing.Size(63, 0); diff --git a/SunnyUI.Demo/Controls/FContextMenuStrip.Designer.cs b/SunnyUI.Demo/Controls/FContextMenuStrip.Designer.cs index 5b4c1731..b5f4aa88 100644 --- a/SunnyUI.Demo/Controls/FContextMenuStrip.Designer.cs +++ b/SunnyUI.Demo/Controls/FContextMenuStrip.Designer.cs @@ -37,7 +37,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -49,7 +49,7 @@ namespace Sunny.UI.Demo // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(294, 92); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; @@ -62,7 +62,7 @@ namespace Sunny.UI.Demo // this.uiButton1.ContextMenuStrip = this.uiContextMenuStrip1; this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(30, 92); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; @@ -72,7 +72,7 @@ namespace Sunny.UI.Demo // // uiContextMenuStrip1 // - this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiContextMenuStrip1.Font = new System.Drawing.Font("宋体", 12F); this.uiContextMenuStrip1.Name = "uiContextMenuStrip1"; this.uiContextMenuStrip1.Size = new System.Drawing.Size(61, 4); // diff --git a/SunnyUI.Demo/Controls/FDataGridView.Designer.cs b/SunnyUI.Demo/Controls/FDataGridView.Designer.cs index 731d7543..1b2cd03f 100644 --- a/SunnyUI.Demo/Controls/FDataGridView.Designer.cs +++ b/SunnyUI.Demo/Controls/FDataGridView.Designer.cs @@ -45,7 +45,7 @@ namespace Sunny.UI.Demo // this.uiDataGridViewFooter1.DataGridView = this.uiDataGridView1; this.uiDataGridViewFooter1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.uiDataGridViewFooter1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiDataGridViewFooter1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiDataGridViewFooter1.Location = new System.Drawing.Point(0, 386); this.uiDataGridViewFooter1.MinimumSize = new System.Drawing.Size(1, 1); this.uiDataGridViewFooter1.Name = "uiDataGridViewFooter1"; @@ -66,7 +66,7 @@ namespace Sunny.UI.Demo this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); - dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; @@ -75,7 +75,7 @@ namespace Sunny.UI.Demo this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); @@ -83,13 +83,13 @@ namespace Sunny.UI.Demo this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3; this.uiDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.uiDataGridView1.EnableHeadersVisualStyles = false; - this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiDataGridView1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); this.uiDataGridView1.Location = new System.Drawing.Point(0, 35); this.uiDataGridView1.Name = "uiDataGridView1"; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); - dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); @@ -97,7 +97,7 @@ namespace Sunny.UI.Demo this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; this.uiDataGridView1.RowHeadersVisible = false; dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); @@ -114,7 +114,7 @@ namespace Sunny.UI.Demo this.uiPagination1.ActivePage = 20; this.uiPagination1.CausesValidation = false; this.uiPagination1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.uiPagination1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPagination1.Font = new System.Drawing.Font("宋体", 12F); this.uiPagination1.Location = new System.Drawing.Point(0, 415); this.uiPagination1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPagination1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Controls/FFlowLayoutPanel.Designer.cs b/SunnyUI.Demo/Controls/FFlowLayoutPanel.Designer.cs index e94f91e0..e76faaf5 100644 --- a/SunnyUI.Demo/Controls/FFlowLayoutPanel.Designer.cs +++ b/SunnyUI.Demo/Controls/FFlowLayoutPanel.Designer.cs @@ -40,19 +40,19 @@ namespace Sunny.UI.Demo // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(30, 462); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.Size = new System.Drawing.Size(100, 35); this.uiButton1.TabIndex = 11; this.uiButton1.Text = "增加"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // // uiFlowLayoutPanel1 // - this.uiFlowLayoutPanel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiFlowLayoutPanel1.Font = new System.Drawing.Font("宋体", 12F); this.uiFlowLayoutPanel1.Location = new System.Drawing.Point(30, 55); this.uiFlowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiFlowLayoutPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -67,46 +67,46 @@ namespace Sunny.UI.Demo // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(408, 462); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; this.uiButton2.Size = new System.Drawing.Size(100, 35); this.uiButton2.TabIndex = 12; this.uiButton2.Text = "清除"; - this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click); // // uiButton3 // this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton3.Enabled = false; - this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiButton3.Location = new System.Drawing.Point(157, 462); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; this.uiButton3.Size = new System.Drawing.Size(100, 35); this.uiButton3.TabIndex = 13; this.uiButton3.Text = "移除"; - this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click); // // uiButton4 // this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiButton4.Location = new System.Drawing.Point(284, 462); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; this.uiButton4.Size = new System.Drawing.Size(100, 35); this.uiButton4.TabIndex = 14; this.uiButton4.Text = "获取"; - this.uiButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click); // // uiFlowLayoutPanel2 // - this.uiFlowLayoutPanel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiFlowLayoutPanel2.Font = new System.Drawing.Font("宋体", 12F); this.uiFlowLayoutPanel2.Location = new System.Drawing.Point(408, 55); this.uiFlowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiFlowLayoutPanel2.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Controls/FHeaderButton.Designer.cs b/SunnyUI.Demo/Controls/FHeaderButton.Designer.cs index af2941bd..be0869a6 100644 --- a/SunnyUI.Demo/Controls/FHeaderButton.Designer.cs +++ b/SunnyUI.Demo/Controls/FHeaderButton.Designer.cs @@ -56,7 +56,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 198); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -67,7 +67,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -85,7 +85,7 @@ namespace Sunny.UI.Demo this.uiPanel2.Controls.Add(this.uiHeaderButton3); this.uiPanel2.Controls.Add(this.uiHeaderButton2); this.uiPanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(40)))), ((int)(((byte)(43))))); - this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel2.ForeColor = System.Drawing.Color.Silver; this.uiPanel2.Location = new System.Drawing.Point(30, 237); this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); @@ -106,7 +106,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton6.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton6.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton6.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -124,7 +124,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton6.Symbol = 0; this.uiHeaderButton6.TabIndex = 5; this.uiHeaderButton6.Text = "设置"; - this.uiHeaderButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton7 // @@ -133,7 +133,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton7.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton7.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton7.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton7.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -151,7 +151,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton7.Symbol = 0; this.uiHeaderButton7.TabIndex = 4; this.uiHeaderButton7.Text = "朋友"; - this.uiHeaderButton7.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton4 // @@ -160,7 +160,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton4.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton4.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton4.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -178,7 +178,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton4.Symbol = 0; this.uiHeaderButton4.TabIndex = 3; this.uiHeaderButton4.Text = "手机"; - this.uiHeaderButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton5 // @@ -187,7 +187,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton5.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton5.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton5.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -205,7 +205,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton5.Symbol = 0; this.uiHeaderButton5.TabIndex = 2; this.uiHeaderButton5.Text = "邮件"; - this.uiHeaderButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton3 // @@ -214,7 +214,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton3.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton3.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton3.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -232,7 +232,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton3.Symbol = 0; this.uiHeaderButton3.TabIndex = 1; this.uiHeaderButton3.Text = "消息"; - this.uiHeaderButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton2 // @@ -241,7 +241,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiHeaderButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.uiHeaderButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.uiHeaderButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton2.ForeHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton2.ForePressColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.uiHeaderButton2.ForeSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); @@ -259,7 +259,7 @@ namespace Sunny.UI.Demo this.uiHeaderButton2.Symbol = 0; this.uiHeaderButton2.TabIndex = 0; this.uiHeaderButton2.Text = "主页"; - this.uiHeaderButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiPanel1 // @@ -270,7 +270,7 @@ namespace Sunny.UI.Demo this.uiPanel1.Controls.Add(this.uiHeaderButton8); this.uiPanel1.Controls.Add(this.uiHeaderButton1); this.uiPanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel1.Location = new System.Drawing.Point(30, 92); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -286,7 +286,7 @@ namespace Sunny.UI.Demo // this.uiHeaderButton12.CircleColor = System.Drawing.Color.Olive; this.uiHeaderButton12.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton12.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton12.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton12.Location = new System.Drawing.Point(600, 1); this.uiHeaderButton12.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton12.Name = "uiHeaderButton12"; @@ -300,13 +300,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton12.SymbolSize = 41; this.uiHeaderButton12.TabIndex = 5; this.uiHeaderButton12.Text = "设置"; - this.uiHeaderButton12.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton12.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton11 // this.uiHeaderButton11.CircleColor = System.Drawing.Color.Purple; this.uiHeaderButton11.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton11.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton11.Location = new System.Drawing.Point(500, 1); this.uiHeaderButton11.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton11.Name = "uiHeaderButton11"; @@ -320,13 +320,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton11.SymbolSize = 40; this.uiHeaderButton11.TabIndex = 4; this.uiHeaderButton11.Text = "朋友"; - this.uiHeaderButton11.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton11.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton10 // this.uiHeaderButton10.CircleColor = System.Drawing.Color.Teal; this.uiHeaderButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton10.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton10.Location = new System.Drawing.Point(400, 1); this.uiHeaderButton10.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton10.Name = "uiHeaderButton10"; @@ -340,13 +340,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton10.SymbolSize = 38; this.uiHeaderButton10.TabIndex = 3; this.uiHeaderButton10.Text = "手机"; - this.uiHeaderButton10.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton10.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton9 // this.uiHeaderButton9.CircleColor = System.Drawing.Color.DarkOrange; this.uiHeaderButton9.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton9.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton9.Location = new System.Drawing.Point(300, 1); this.uiHeaderButton9.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton9.Name = "uiHeaderButton9"; @@ -360,13 +360,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton9.SymbolSize = 40; this.uiHeaderButton9.TabIndex = 2; this.uiHeaderButton9.Text = "邮件"; - this.uiHeaderButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton9.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton8 // this.uiHeaderButton8.CircleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.uiHeaderButton8.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton8.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton8.Location = new System.Drawing.Point(200, 1); this.uiHeaderButton8.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton8.Name = "uiHeaderButton8"; @@ -380,14 +380,14 @@ namespace Sunny.UI.Demo this.uiHeaderButton8.SymbolSize = 44; this.uiHeaderButton8.TabIndex = 1; this.uiHeaderButton8.Text = "消息"; - this.uiHeaderButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton1 // this.uiHeaderButton1.CircleColor = System.Drawing.Color.RoyalBlue; this.uiHeaderButton1.CircleHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.uiHeaderButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton1.Location = new System.Drawing.Point(100, 1); this.uiHeaderButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton1.Name = "uiHeaderButton1"; @@ -402,14 +402,14 @@ namespace Sunny.UI.Demo this.uiHeaderButton1.Symbol = 61461; this.uiHeaderButton1.TabIndex = 0; this.uiHeaderButton1.Text = "主页"; - this.uiHeaderButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiHeaderButton1.TipsText = "12"; // // uiHeaderButton13 // this.uiHeaderButton13.CircleColor = System.Drawing.Color.Teal; this.uiHeaderButton13.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton13.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton13.Location = new System.Drawing.Point(460, 387); this.uiHeaderButton13.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton13.Name = "uiHeaderButton13"; @@ -423,13 +423,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton13.TabIndex = 28; this.uiHeaderButton13.Text = "手机"; this.uiHeaderButton13.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; - this.uiHeaderButton13.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton14 // this.uiHeaderButton14.CircleColor = System.Drawing.Color.DarkOrange; this.uiHeaderButton14.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton14.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton14.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton14.Location = new System.Drawing.Point(304, 387); this.uiHeaderButton14.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton14.Name = "uiHeaderButton14"; @@ -443,13 +443,13 @@ namespace Sunny.UI.Demo this.uiHeaderButton14.TabIndex = 27; this.uiHeaderButton14.Text = "邮件"; this.uiHeaderButton14.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; - this.uiHeaderButton14.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton14.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton15 // this.uiHeaderButton15.CircleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.uiHeaderButton15.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton15.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton15.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton15.Location = new System.Drawing.Point(172, 387); this.uiHeaderButton15.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton15.Name = "uiHeaderButton15"; @@ -463,14 +463,14 @@ namespace Sunny.UI.Demo this.uiHeaderButton15.TabIndex = 26; this.uiHeaderButton15.Text = "消息"; this.uiHeaderButton15.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage; - this.uiHeaderButton15.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton15.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiHeaderButton16 // this.uiHeaderButton16.CircleColor = System.Drawing.Color.RoyalBlue; this.uiHeaderButton16.CircleHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.uiHeaderButton16.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiHeaderButton16.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHeaderButton16.Font = new System.Drawing.Font("宋体", 12F); this.uiHeaderButton16.Location = new System.Drawing.Point(30, 387); this.uiHeaderButton16.MinimumSize = new System.Drawing.Size(1, 1); this.uiHeaderButton16.Name = "uiHeaderButton16"; @@ -484,12 +484,12 @@ namespace Sunny.UI.Demo this.uiHeaderButton16.Symbol = 61461; this.uiHeaderButton16.TabIndex = 25; this.uiHeaderButton16.Text = "主页"; - this.uiHeaderButton16.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiHeaderButton16.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiHeaderButton16.TipsText = "12"; // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 350); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; diff --git a/SunnyUI.Demo/Controls/FLabel.Designer.cs b/SunnyUI.Demo/Controls/FLabel.Designer.cs index f51a095c..6a4f1cf0 100644 --- a/SunnyUI.Demo/Controls/FLabel.Designer.cs +++ b/SunnyUI.Demo/Controls/FLabel.Designer.cs @@ -53,7 +53,7 @@ namespace Sunny.UI.Demo // uiMarkLabel4 // this.uiMarkLabel4.AutoSize = true; - this.uiMarkLabel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiMarkLabel4.Font = new System.Drawing.Font("宋体", 12F); this.uiMarkLabel4.Location = new System.Drawing.Point(508, 242); this.uiMarkLabel4.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Top; this.uiMarkLabel4.Name = "uiMarkLabel4"; @@ -66,7 +66,7 @@ namespace Sunny.UI.Demo // uiMarkLabel3 // this.uiMarkLabel3.AutoSize = true; - this.uiMarkLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiMarkLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiMarkLabel3.Location = new System.Drawing.Point(199, 245); this.uiMarkLabel3.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Right; this.uiMarkLabel3.Name = "uiMarkLabel3"; @@ -79,7 +79,7 @@ namespace Sunny.UI.Demo // uiMarkLabel2 // this.uiMarkLabel2.AutoSize = true; - this.uiMarkLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiMarkLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiMarkLabel2.Location = new System.Drawing.Point(356, 242); this.uiMarkLabel2.MarkPos = Sunny.UI.UIMarkLabel.UIMarkPos.Bottom; this.uiMarkLabel2.Name = "uiMarkLabel2"; @@ -91,7 +91,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(30, 208); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -103,7 +103,7 @@ namespace Sunny.UI.Demo // uiMarkLabel1 // this.uiMarkLabel1.AutoSize = true; - this.uiMarkLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiMarkLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiMarkLabel1.Location = new System.Drawing.Point(42, 245); this.uiMarkLabel1.Name = "uiMarkLabel1"; this.uiMarkLabel1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); @@ -114,7 +114,7 @@ namespace Sunny.UI.Demo // // uiSymbolLabel2 // - this.uiSymbolLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolLabel2.Location = new System.Drawing.Point(139, 169); this.uiSymbolLabel2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolLabel2.Name = "uiSymbolLabel2"; @@ -126,7 +126,7 @@ namespace Sunny.UI.Demo // // uiSymbolLabel1 // - this.uiSymbolLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolLabel1.Location = new System.Drawing.Point(42, 169); this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolLabel1.Name = "uiSymbolLabel1"; @@ -137,7 +137,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 133); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -148,7 +148,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(381, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -159,7 +159,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -172,7 +172,7 @@ namespace Sunny.UI.Demo // this.uiLinkLabel1.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40))))); this.uiLinkLabel1.AutoSize = true; - this.uiLinkLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLinkLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLinkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; this.uiLinkLabel1.Location = new System.Drawing.Point(394, 90); this.uiLinkLabel1.Name = "uiLinkLabel1"; @@ -186,7 +186,7 @@ namespace Sunny.UI.Demo // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(42, 90); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(102, 21); @@ -197,7 +197,7 @@ namespace Sunny.UI.Demo // uiLabel2 // this.uiLabel2.Angle = 270; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(38, 297); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(43, 126); @@ -208,7 +208,7 @@ namespace Sunny.UI.Demo // uiLabel3 // this.uiLabel3.Angle = 90; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(90, 304); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(43, 126); @@ -219,7 +219,7 @@ namespace Sunny.UI.Demo // uiLabel4 // this.uiLabel4.Angle = 315; - this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel4.Location = new System.Drawing.Point(160, 297); this.uiLabel4.Name = "uiLabel4"; this.uiLabel4.Size = new System.Drawing.Size(103, 126); @@ -229,7 +229,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(30, 290); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -259,7 +259,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(381, 290); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; diff --git a/SunnyUI.Demo/Controls/FLine.Designer.cs b/SunnyUI.Demo/Controls/FLine.Designer.cs index f16b693c..f7d1337c 100644 --- a/SunnyUI.Demo/Controls/FLine.Designer.cs +++ b/SunnyUI.Demo/Controls/FLine.Designer.cs @@ -45,7 +45,7 @@ namespace Sunny.UI.Demo // uiLine11 // this.uiLine11.Direction = Sunny.UI.UILine.LineDirection.Vertical; - this.uiLine11.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine11.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine11.LineDashStyle = Sunny.UI.UILineDashStyle.DashDotDot; this.uiLine11.LineSize = 2; this.uiLine11.Location = new System.Drawing.Point(578, 55); @@ -60,7 +60,7 @@ namespace Sunny.UI.Demo // uiLine10 // this.uiLine10.Direction = Sunny.UI.UILine.LineDirection.Vertical; - this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine10.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine10.Location = new System.Drawing.Point(521, 55); this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine10.Name = "uiLine10"; @@ -72,7 +72,7 @@ namespace Sunny.UI.Demo // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine7.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine7.LineSize = 3; this.uiLine7.Location = new System.Drawing.Point(30, 413); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); @@ -85,7 +85,7 @@ namespace Sunny.UI.Demo // // uiLine8 // - this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine8.Font = new System.Drawing.Font("宋体", 12F); this.uiLine8.LineSize = 2; this.uiLine8.Location = new System.Drawing.Point(30, 378); this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16); @@ -98,7 +98,7 @@ namespace Sunny.UI.Demo // // uiLine9 // - this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine9.LineDashStyle = Sunny.UI.UILineDashStyle.DashDot; this.uiLine9.Location = new System.Drawing.Point(30, 340); this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16); @@ -111,7 +111,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine4.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine4.LineSize = 3; this.uiLine4.Location = new System.Drawing.Point(30, 265); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); @@ -124,7 +124,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.Dot; this.uiLine5.LineSize = 2; this.uiLine5.Location = new System.Drawing.Point(30, 230); @@ -137,7 +137,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine6.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine6.Location = new System.Drawing.Point(30, 192); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -149,7 +149,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine3.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine3.LineColorGradient = true; this.uiLine3.LineSize = 3; this.uiLine3.Location = new System.Drawing.Point(30, 113); @@ -163,7 +163,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.LineSize = 2; this.uiLine2.Location = new System.Drawing.Point(30, 78); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); @@ -176,7 +176,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLine1.LineColorGradient = true; this.uiLine1.Location = new System.Drawing.Point(30, 55); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); diff --git a/SunnyUI.Demo/Controls/FListBox.Designer.cs b/SunnyUI.Demo/Controls/FListBox.Designer.cs index 9c38e5ec..7af2709e 100644 --- a/SunnyUI.Demo/Controls/FListBox.Designer.cs +++ b/SunnyUI.Demo/Controls/FListBox.Designer.cs @@ -40,7 +40,7 @@ namespace Sunny.UI.Demo // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(30, 441); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; @@ -53,7 +53,7 @@ namespace Sunny.UI.Demo // this.uiCheckBox1.Checked = true; this.uiCheckBox1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiCheckBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiCheckBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiCheckBox1.Location = new System.Drawing.Point(352, 440); this.uiCheckBox1.MinimumSize = new System.Drawing.Size(1, 1); this.uiCheckBox1.Name = "uiCheckBox1"; @@ -66,7 +66,7 @@ namespace Sunny.UI.Demo // uiListBox1 // this.uiListBox1.FillColor = System.Drawing.Color.White; - this.uiListBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiListBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiListBox1.FormatString = ""; this.uiListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); this.uiListBox1.Location = new System.Drawing.Point(30, 85); @@ -82,7 +82,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(352, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -93,7 +93,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -105,7 +105,7 @@ namespace Sunny.UI.Demo // uiImageListBox1 // this.uiImageListBox1.FillColor = System.Drawing.Color.White; - this.uiImageListBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiImageListBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiImageListBox1.ItemHeight = 80; this.uiImageListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); this.uiImageListBox1.Location = new System.Drawing.Point(352, 85); diff --git a/SunnyUI.Demo/Controls/FNavigation.Designer.cs b/SunnyUI.Demo/Controls/FNavigation.Designer.cs index 4314124a..fe850b40 100644 --- a/SunnyUI.Demo/Controls/FNavigation.Designer.cs +++ b/SunnyUI.Demo/Controls/FNavigation.Designer.cs @@ -123,7 +123,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 160); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -139,7 +139,7 @@ namespace Sunny.UI.Demo this.uiNavMenu2.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll; this.uiNavMenu2.ExpandSelectFirst = true; this.uiNavMenu2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.uiNavMenu2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiNavMenu2.Font = new System.Drawing.Font("宋体", 12F); this.uiNavMenu2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.uiNavMenu2.FullRowSelect = true; this.uiNavMenu2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); @@ -216,7 +216,7 @@ namespace Sunny.UI.Demo this.uiNavMenu1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.uiNavMenu1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll; this.uiNavMenu1.ExpandSelectFirst = true; - this.uiNavMenu1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiNavMenu1.Font = new System.Drawing.Font("宋体", 12F); this.uiNavMenu1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.uiNavMenu1.FullRowSelect = true; this.uiNavMenu1.ItemHeight = 50; @@ -289,7 +289,7 @@ namespace Sunny.UI.Demo // this.uiNavBar1.Controls.Add(this.uiLine1); this.uiNavBar1.Dock = System.Windows.Forms.DockStyle.Top; - this.uiNavBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiNavBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiNavBar1.Location = new System.Drawing.Point(0, 35); this.uiNavBar1.Name = "uiNavBar1"; this.uiNavBar1.NodeAlignment = System.Drawing.StringAlignment.Near; @@ -338,7 +338,7 @@ namespace Sunny.UI.Demo // uiLine1 // this.uiLine1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.ForeColor = System.Drawing.Color.White; this.uiLine1.Location = new System.Drawing.Point(30, 20); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); diff --git a/SunnyUI.Demo/Controls/FOther.Designer.cs b/SunnyUI.Demo/Controls/FOther.Designer.cs index 6a9f3d49..30e2ad11 100644 --- a/SunnyUI.Demo/Controls/FOther.Designer.cs +++ b/SunnyUI.Demo/Controls/FOther.Designer.cs @@ -48,7 +48,7 @@ namespace Sunny.UI.Demo // uiLabel3 // this.uiLabel3.AutoSize = true; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(31, 136); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(138, 21); @@ -59,7 +59,7 @@ namespace Sunny.UI.Demo // uiLabel2 // this.uiLabel2.AutoSize = true; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(211, 95); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(138, 21); @@ -70,7 +70,7 @@ namespace Sunny.UI.Demo // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(31, 95); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(138, 21); @@ -81,7 +81,7 @@ namespace Sunny.UI.Demo // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine7.Font = new System.Drawing.Font("宋体", 12F); this.uiLine7.Location = new System.Drawing.Point(30, 55); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine7.Name = "uiLine7"; @@ -93,7 +93,7 @@ namespace Sunny.UI.Demo // uiScrollingText2 // this.uiScrollingText2.Active = true; - this.uiScrollingText2.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiScrollingText2.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiScrollingText2.Location = new System.Drawing.Point(381, 129); this.uiScrollingText2.MinimumSize = new System.Drawing.Size(1, 1); this.uiScrollingText2.Name = "uiScrollingText2"; @@ -105,7 +105,7 @@ namespace Sunny.UI.Demo // this.uiScrollingText1.Active = true; this.uiScrollingText1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.uiScrollingText1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiScrollingText1.Font = new System.Drawing.Font("宋体", 12F); this.uiScrollingText1.ForeColor = System.Drawing.Color.Red; this.uiScrollingText1.Location = new System.Drawing.Point(381, 88); this.uiScrollingText1.MinimumSize = new System.Drawing.Size(1, 1); @@ -119,7 +119,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(381, 55); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -131,14 +131,14 @@ namespace Sunny.UI.Demo // uiToolTip1 // this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54))))); - this.uiToolTip1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiToolTip1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.uiToolTip1.OwnerDraw = true; this.uiToolTip1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.Location = new System.Drawing.Point(381, 187); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; @@ -149,7 +149,7 @@ namespace Sunny.UI.Demo // // uiVerificationCode1 // - this.uiVerificationCode1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiVerificationCode1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiVerificationCode1.Location = new System.Drawing.Point(381, 225); this.uiVerificationCode1.MinimumSize = new System.Drawing.Size(1, 1); this.uiVerificationCode1.Name = "uiVerificationCode1"; @@ -159,7 +159,7 @@ namespace Sunny.UI.Demo // uiVerificationCode2 // this.uiVerificationCode2.CodeLength = 6; - this.uiVerificationCode2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiVerificationCode2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiVerificationCode2.Location = new System.Drawing.Point(499, 225); this.uiVerificationCode2.MinimumSize = new System.Drawing.Size(1, 1); this.uiVerificationCode2.Name = "uiVerificationCode2"; @@ -170,7 +170,7 @@ namespace Sunny.UI.Demo // this.uiCalendar1.Date = new System.DateTime(2022, 7, 3, 0, 0, 0, 0); this.uiCalendar1.FillColor = System.Drawing.Color.White; - this.uiCalendar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiCalendar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiCalendar1.Location = new System.Drawing.Point(30, 225); this.uiCalendar1.MinimumSize = new System.Drawing.Size(240, 180); this.uiCalendar1.Name = "uiCalendar1"; @@ -183,7 +183,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 187); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; diff --git a/SunnyUI.Demo/Controls/FPanel.Designer.cs b/SunnyUI.Demo/Controls/FPanel.Designer.cs index 0963814d..fed14537 100644 --- a/SunnyUI.Demo/Controls/FPanel.Designer.cs +++ b/SunnyUI.Demo/Controls/FPanel.Designer.cs @@ -45,7 +45,7 @@ namespace Sunny.UI.Demo // // uiPanel1 // - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel1.Location = new System.Drawing.Point(30, 90); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -58,7 +58,7 @@ namespace Sunny.UI.Demo // // uiTitlePanel2 // - this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTitlePanel2.Font = new System.Drawing.Font("宋体", 12F); this.uiTitlePanel2.Location = new System.Drawing.Point(331, 285); this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1); @@ -74,7 +74,7 @@ namespace Sunny.UI.Demo // // uiGroupBox1 // - this.uiGroupBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiGroupBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiGroupBox1.Location = new System.Drawing.Point(331, 74); this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1); @@ -88,7 +88,7 @@ namespace Sunny.UI.Demo // // uiTitlePanel1 // - this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTitlePanel1.Font = new System.Drawing.Font("宋体", 12F); this.uiTitlePanel1.Location = new System.Drawing.Point(30, 285); this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -125,61 +125,61 @@ namespace Sunny.UI.Demo // this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton4.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiButton4.Location = new System.Drawing.Point(267, 3); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; this.uiButton4.Size = new System.Drawing.Size(84, 35); this.uiButton4.TabIndex = 5; this.uiButton4.Text = "uiButton4"; - this.uiButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); // // uiButton3 // this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton3.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiButton3.Location = new System.Drawing.Point(179, 3); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; this.uiButton3.Size = new System.Drawing.Size(82, 35); this.uiButton3.TabIndex = 4; this.uiButton3.Text = "uiButton3"; - this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); // // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton2.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(91, 3); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; this.uiButton2.Size = new System.Drawing.Size(82, 35); this.uiButton2.TabIndex = 1; this.uiButton2.Text = "uiButton2"; - this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); // // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton1.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(3, 3); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.Size = new System.Drawing.Size(82, 35); this.uiButton1.TabIndex = 0; this.uiButton1.Text = "uiButton1"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.Location = new System.Drawing.Point(30, 479); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; @@ -191,7 +191,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; diff --git a/SunnyUI.Demo/Controls/FProcess.designer.cs b/SunnyUI.Demo/Controls/FProcess.designer.cs index 505a03e5..823b09d9 100644 --- a/SunnyUI.Demo/Controls/FProcess.designer.cs +++ b/SunnyUI.Demo/Controls/FProcess.designer.cs @@ -61,7 +61,7 @@ namespace Sunny.UI.Demo // uiTrackBar8 // this.uiTrackBar8.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical; - this.uiTrackBar8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar8.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar8.Location = new System.Drawing.Point(428, 395); this.uiTrackBar8.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar8.Name = "uiTrackBar8"; @@ -73,7 +73,7 @@ namespace Sunny.UI.Demo // uiTrackBar7 // this.uiTrackBar7.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical; - this.uiTrackBar7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar7.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar7.Location = new System.Drawing.Point(387, 395); this.uiTrackBar7.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar7.Name = "uiTrackBar7"; @@ -85,7 +85,7 @@ namespace Sunny.UI.Demo // uiTrackBar6 // this.uiTrackBar6.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical; - this.uiTrackBar6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar6.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar6.Location = new System.Drawing.Point(346, 395); this.uiTrackBar6.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar6.Name = "uiTrackBar6"; @@ -97,7 +97,7 @@ namespace Sunny.UI.Demo // uiTrackBar5 // this.uiTrackBar5.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical; - this.uiTrackBar5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar5.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar5.Location = new System.Drawing.Point(305, 395); this.uiTrackBar5.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar5.Name = "uiTrackBar5"; @@ -108,7 +108,7 @@ namespace Sunny.UI.Demo // // uiTrackBar4 // - this.uiTrackBar4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar4.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar4.Location = new System.Drawing.Point(28, 465); this.uiTrackBar4.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar4.Name = "uiTrackBar4"; @@ -119,7 +119,7 @@ namespace Sunny.UI.Demo // // uiTrackBar3 // - this.uiTrackBar3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar3.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar3.Location = new System.Drawing.Point(28, 430); this.uiTrackBar3.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar3.Name = "uiTrackBar3"; @@ -131,7 +131,7 @@ namespace Sunny.UI.Demo // uiTrackBar2 // this.uiTrackBar2.Direction = Sunny.UI.UITrackBar.BarDirection.Vertical; - this.uiTrackBar2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar2.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar2.Location = new System.Drawing.Point(264, 395); this.uiTrackBar2.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar2.Name = "uiTrackBar2"; @@ -142,7 +142,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(29, 287); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -153,7 +153,7 @@ namespace Sunny.UI.Demo // // uiBreadcrumb1 // - this.uiBreadcrumb1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBreadcrumb1.Font = new System.Drawing.Font("宋体", 12F); this.uiBreadcrumb1.ItemIndex = 0; this.uiBreadcrumb1.Items.AddRange(new object[] { "步骤一", @@ -173,7 +173,7 @@ namespace Sunny.UI.Demo // this.uiRoundProcess2.BackColor = System.Drawing.Color.Transparent; this.uiRoundProcess2.DecimalPlaces = 0; - this.uiRoundProcess2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundProcess2.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundProcess2.Inner = 0; this.uiRoundProcess2.Location = new System.Drawing.Point(133, 167); this.uiRoundProcess2.MinimumSize = new System.Drawing.Size(1, 1); @@ -185,7 +185,7 @@ namespace Sunny.UI.Demo // // uiLine9 // - this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine9.Font = new System.Drawing.Font("宋体", 12F); this.uiLine9.Location = new System.Drawing.Point(29, 147); this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine9.Name = "uiLine9"; @@ -197,7 +197,7 @@ namespace Sunny.UI.Demo // uiRoundProcess1 // this.uiRoundProcess1.BackColor = System.Drawing.Color.Transparent; - this.uiRoundProcess1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundProcess1.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundProcess1.Inner = 35; this.uiRoundProcess1.Location = new System.Drawing.Point(15, 167); this.uiRoundProcess1.MinimumSize = new System.Drawing.Size(1, 1); @@ -209,7 +209,7 @@ namespace Sunny.UI.Demo // // uiProcessBar2 // - this.uiProcessBar2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiProcessBar2.Font = new System.Drawing.Font("宋体", 12F); this.uiProcessBar2.Location = new System.Drawing.Point(30, 123); this.uiProcessBar2.MinimumSize = new System.Drawing.Size(70, 1); this.uiProcessBar2.Name = "uiProcessBar2"; @@ -221,7 +221,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.Location = new System.Drawing.Point(411, 54); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; @@ -232,7 +232,7 @@ namespace Sunny.UI.Demo // // uiWaitingBar1 // - this.uiWaitingBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiWaitingBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiWaitingBar1.Location = new System.Drawing.Point(411, 88); this.uiWaitingBar1.MinimumSize = new System.Drawing.Size(70, 23); this.uiWaitingBar1.Name = "uiWaitingBar1"; @@ -242,7 +242,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(28, 369); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -253,7 +253,7 @@ namespace Sunny.UI.Demo // // uiTrackBar1 // - this.uiTrackBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTrackBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiTrackBar1.Location = new System.Drawing.Point(28, 395); this.uiTrackBar1.MinimumSize = new System.Drawing.Size(1, 1); this.uiTrackBar1.Name = "uiTrackBar1"; @@ -263,7 +263,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(527, 147); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -274,7 +274,7 @@ namespace Sunny.UI.Demo // // uiProgressIndicator1 // - this.uiProgressIndicator1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiProgressIndicator1.Font = new System.Drawing.Font("宋体", 12F); this.uiProgressIndicator1.Location = new System.Drawing.Point(527, 173); this.uiProgressIndicator1.MinimumSize = new System.Drawing.Size(1, 1); this.uiProgressIndicator1.Name = "uiProgressIndicator1"; @@ -284,7 +284,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 54); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -295,7 +295,7 @@ namespace Sunny.UI.Demo // // uiProcessBar1 // - this.uiProcessBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiProcessBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiProcessBar1.Location = new System.Drawing.Point(30, 88); this.uiProcessBar1.MinimumSize = new System.Drawing.Size(70, 1); this.uiProcessBar1.Name = "uiProcessBar1"; @@ -310,7 +310,7 @@ namespace Sunny.UI.Demo // uiProcessBar3 // this.uiProcessBar3.Direction = Sunny.UI.UILine.LineDirection.Vertical; - this.uiProcessBar3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiProcessBar3.Font = new System.Drawing.Font("宋体", 12F); this.uiProcessBar3.Location = new System.Drawing.Point(527, 325); this.uiProcessBar3.MinimumSize = new System.Drawing.Size(70, 1); this.uiProcessBar3.Name = "uiProcessBar3"; @@ -320,7 +320,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(527, 287); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -333,7 +333,7 @@ namespace Sunny.UI.Demo // this.uiRoundProcess3.BackColor = System.Drawing.Color.Transparent; this.uiRoundProcess3.DecimalPlaces = 0; - this.uiRoundProcess3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundProcess3.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundProcess3.ForeColor2 = System.Drawing.Color.Black; this.uiRoundProcess3.Inner = 35; this.uiRoundProcess3.Location = new System.Drawing.Point(251, 167); @@ -351,7 +351,7 @@ namespace Sunny.UI.Demo // this.uiRoundProcess4.BackColor = System.Drawing.Color.Transparent; this.uiRoundProcess4.DecimalPlaces = 0; - this.uiRoundProcess4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundProcess4.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundProcess4.ForeColor2 = System.Drawing.Color.Black; this.uiRoundProcess4.Inner = 35; this.uiRoundProcess4.Location = new System.Drawing.Point(369, 167); diff --git a/SunnyUI.Demo/Controls/FRadioButton.Designer.cs b/SunnyUI.Demo/Controls/FRadioButton.Designer.cs index e777043b..8f7f4208 100644 --- a/SunnyUI.Demo/Controls/FRadioButton.Designer.cs +++ b/SunnyUI.Demo/Controls/FRadioButton.Designer.cs @@ -55,7 +55,7 @@ namespace Sunny.UI.Demo // uiButton4 // this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiButton4.Location = new System.Drawing.Point(145, 481); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; @@ -67,7 +67,7 @@ namespace Sunny.UI.Demo // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiButton2.Location = new System.Drawing.Point(30, 481); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; @@ -79,7 +79,7 @@ namespace Sunny.UI.Demo // uiRadioButtonGroup1 // this.uiRadioButtonGroup1.ColumnCount = 3; - this.uiRadioButtonGroup1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButtonGroup1.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButtonGroup1.Items.AddRange(new object[] { "0", "1", @@ -106,7 +106,7 @@ namespace Sunny.UI.Demo // this.uiRadioButton12.Cursor = System.Windows.Forms.Cursors.Hand; this.uiRadioButton12.Enabled = false; - this.uiRadioButton12.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton12.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton12.GroupIndex = 4; this.uiRadioButton12.Location = new System.Drawing.Point(516, 83); this.uiRadioButton12.MinimumSize = new System.Drawing.Size(1, 1); @@ -121,7 +121,7 @@ namespace Sunny.UI.Demo this.uiRadioButton13.Checked = true; this.uiRadioButton13.Cursor = System.Windows.Forms.Cursors.Hand; this.uiRadioButton13.Enabled = false; - this.uiRadioButton13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton13.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton13.GroupIndex = 4; this.uiRadioButton13.Location = new System.Drawing.Point(354, 83); this.uiRadioButton13.MinimumSize = new System.Drawing.Size(1, 1); @@ -134,7 +134,7 @@ namespace Sunny.UI.Demo // uiLabel3 // this.uiLabel3.AutoSize = true; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(49, 254); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(131, 21); @@ -146,7 +146,7 @@ namespace Sunny.UI.Demo // this.uiRadioButton9.Checked = true; this.uiRadioButton9.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton9.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton9.GroupIndex = 3; this.uiRadioButton9.Location = new System.Drawing.Point(516, 247); this.uiRadioButton9.MinimumSize = new System.Drawing.Size(1, 1); @@ -159,7 +159,7 @@ namespace Sunny.UI.Demo // uiRadioButton10 // this.uiRadioButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton10.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton10.GroupIndex = 3; this.uiRadioButton10.Location = new System.Drawing.Point(354, 247); this.uiRadioButton10.MinimumSize = new System.Drawing.Size(1, 1); @@ -172,7 +172,7 @@ namespace Sunny.UI.Demo // uiRadioButton11 // this.uiRadioButton11.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton11.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton11.GroupIndex = 3; this.uiRadioButton11.Location = new System.Drawing.Point(192, 247); this.uiRadioButton11.MinimumSize = new System.Drawing.Size(1, 1); @@ -185,7 +185,7 @@ namespace Sunny.UI.Demo // uiLabel2 // this.uiLabel2.AutoSize = true; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(49, 213); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(131, 21); @@ -196,7 +196,7 @@ namespace Sunny.UI.Demo // uiRadioButton5 // this.uiRadioButton5.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton5.GroupIndex = 2; this.uiRadioButton5.Location = new System.Drawing.Point(516, 206); this.uiRadioButton5.MinimumSize = new System.Drawing.Size(1, 1); @@ -210,7 +210,7 @@ namespace Sunny.UI.Demo // this.uiRadioButton7.Checked = true; this.uiRadioButton7.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton7.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton7.GroupIndex = 2; this.uiRadioButton7.Location = new System.Drawing.Point(354, 206); this.uiRadioButton7.MinimumSize = new System.Drawing.Size(1, 1); @@ -223,7 +223,7 @@ namespace Sunny.UI.Demo // uiRadioButton8 // this.uiRadioButton8.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton8.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton8.GroupIndex = 2; this.uiRadioButton8.Location = new System.Drawing.Point(192, 206); this.uiRadioButton8.MinimumSize = new System.Drawing.Size(1, 1); @@ -236,7 +236,7 @@ namespace Sunny.UI.Demo // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(49, 172); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(131, 21); @@ -247,7 +247,7 @@ namespace Sunny.UI.Demo // uiRadioButton6 // this.uiRadioButton6.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton6.GroupIndex = 1; this.uiRadioButton6.Location = new System.Drawing.Point(516, 165); this.uiRadioButton6.MinimumSize = new System.Drawing.Size(1, 1); @@ -260,7 +260,7 @@ namespace Sunny.UI.Demo // uiRadioButton3 // this.uiRadioButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton3.GroupIndex = 1; this.uiRadioButton3.Location = new System.Drawing.Point(354, 165); this.uiRadioButton3.MinimumSize = new System.Drawing.Size(1, 1); @@ -274,7 +274,7 @@ namespace Sunny.UI.Demo // this.uiRadioButton4.Checked = true; this.uiRadioButton4.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton4.GroupIndex = 1; this.uiRadioButton4.Location = new System.Drawing.Point(192, 165); this.uiRadioButton4.MinimumSize = new System.Drawing.Size(1, 1); @@ -286,7 +286,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 131); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -298,7 +298,7 @@ namespace Sunny.UI.Demo // uiRadioButton2 // this.uiRadioButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton2.Location = new System.Drawing.Point(192, 83); this.uiRadioButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiRadioButton2.Name = "uiRadioButton2"; @@ -311,7 +311,7 @@ namespace Sunny.UI.Demo // this.uiRadioButton1.Checked = true; this.uiRadioButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiRadioButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRadioButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiRadioButton1.Location = new System.Drawing.Point(30, 83); this.uiRadioButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiRadioButton1.Name = "uiRadioButton1"; @@ -323,7 +323,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; diff --git a/SunnyUI.Demo/Controls/FScrollBar.Designer.cs b/SunnyUI.Demo/Controls/FScrollBar.Designer.cs index bb49c0ac..83d296b5 100644 --- a/SunnyUI.Demo/Controls/FScrollBar.Designer.cs +++ b/SunnyUI.Demo/Controls/FScrollBar.Designer.cs @@ -47,7 +47,7 @@ namespace Sunny.UI.Demo // uiVerScrollBarEx1 // this.uiVerScrollBarEx1.BoundsHeight = 10; - this.uiVerScrollBarEx1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiVerScrollBarEx1.Font = new System.Drawing.Font("宋体", 12F); this.uiVerScrollBarEx1.LargeChange = 10; this.uiVerScrollBarEx1.Location = new System.Drawing.Point(219, 96); this.uiVerScrollBarEx1.Maximum = 100; @@ -61,7 +61,7 @@ namespace Sunny.UI.Demo // uiHorScrollBar4 // this.uiHorScrollBar4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(238)))), ((int)(((byte)(238))))); - this.uiHorScrollBar4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHorScrollBar4.Font = new System.Drawing.Font("宋体", 12F); this.uiHorScrollBar4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiHorScrollBar4.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128))))); this.uiHorScrollBar4.Location = new System.Drawing.Point(381, 219); @@ -77,7 +77,7 @@ namespace Sunny.UI.Demo // uiHorScrollBar3 // this.uiHorScrollBar3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(245)))), ((int)(((byte)(233))))); - this.uiHorScrollBar3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHorScrollBar3.Font = new System.Drawing.Font("宋体", 12F); this.uiHorScrollBar3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40))))); this.uiHorScrollBar3.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86))))); this.uiHorScrollBar3.Location = new System.Drawing.Point(381, 177); @@ -93,7 +93,7 @@ namespace Sunny.UI.Demo // uiHorScrollBar2 // this.uiHorScrollBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiHorScrollBar2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHorScrollBar2.Font = new System.Drawing.Font("宋体", 12F); this.uiHorScrollBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40))))); this.uiHorScrollBar2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81))))); this.uiHorScrollBar2.Location = new System.Drawing.Point(381, 135); @@ -108,7 +108,7 @@ namespace Sunny.UI.Demo // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine7.Font = new System.Drawing.Font("宋体", 12F); this.uiLine7.Location = new System.Drawing.Point(381, 55); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine7.Name = "uiLine7"; @@ -119,7 +119,7 @@ namespace Sunny.UI.Demo // // uiHorScrollBar1 // - this.uiHorScrollBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiHorScrollBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiHorScrollBar1.Location = new System.Drawing.Point(381, 93); this.uiHorScrollBar1.MinimumSize = new System.Drawing.Size(1, 1); this.uiHorScrollBar1.Name = "uiHorScrollBar1"; @@ -130,7 +130,7 @@ namespace Sunny.UI.Demo // uiScrollBar4 // this.uiScrollBar4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(238)))), ((int)(((byte)(238))))); - this.uiScrollBar4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiScrollBar4.Font = new System.Drawing.Font("宋体", 12F); this.uiScrollBar4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiScrollBar4.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(127)))), ((int)(((byte)(128))))); this.uiScrollBar4.Location = new System.Drawing.Point(156, 90); @@ -146,7 +146,7 @@ namespace Sunny.UI.Demo // uiScrollBar3 // this.uiScrollBar3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(245)))), ((int)(((byte)(233))))); - this.uiScrollBar3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiScrollBar3.Font = new System.Drawing.Font("宋体", 12F); this.uiScrollBar3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40))))); this.uiScrollBar3.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(174)))), ((int)(((byte)(86))))); this.uiScrollBar3.Location = new System.Drawing.Point(114, 90); @@ -162,7 +162,7 @@ namespace Sunny.UI.Demo // uiScrollBar2 // this.uiScrollBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiScrollBar2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiScrollBar2.Font = new System.Drawing.Font("宋体", 12F); this.uiScrollBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(190)))), ((int)(((byte)(40))))); this.uiScrollBar2.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(202)))), ((int)(((byte)(81))))); this.uiScrollBar2.Location = new System.Drawing.Point(72, 90); @@ -177,7 +177,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -188,7 +188,7 @@ namespace Sunny.UI.Demo // // uiScrollBar1 // - this.uiScrollBar1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiScrollBar1.Font = new System.Drawing.Font("宋体", 12F); this.uiScrollBar1.Location = new System.Drawing.Point(30, 90); this.uiScrollBar1.MinimumSize = new System.Drawing.Size(1, 1); this.uiScrollBar1.Name = "uiScrollBar1"; diff --git a/SunnyUI.Demo/Controls/FSplitContainer.designer.cs b/SunnyUI.Demo/Controls/FSplitContainer.designer.cs index b0a39b9e..933de590 100644 --- a/SunnyUI.Demo/Controls/FSplitContainer.designer.cs +++ b/SunnyUI.Demo/Controls/FSplitContainer.designer.cs @@ -80,7 +80,7 @@ namespace Sunny.UI.Demo this.uiNavMenuEx1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.uiNavMenuEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.uiNavMenuEx1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll; - this.uiNavMenuEx1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiNavMenuEx1.Font = new System.Drawing.Font("宋体", 12F); this.uiNavMenuEx1.FullRowSelect = true; this.uiNavMenuEx1.ItemHeight = 50; this.uiNavMenuEx1.Location = new System.Drawing.Point(0, 0); @@ -109,7 +109,7 @@ namespace Sunny.UI.Demo this.uiNavMenuEx1.Size = new System.Drawing.Size(266, 415); this.uiNavMenuEx1.Style = Sunny.UI.UIStyle.Custom; this.uiNavMenuEx1.TabIndex = 0; - this.uiNavMenuEx1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNavMenuEx1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNavMenuEx1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiNavMenuEx1.NodeRightSymbolClick += new Sunny.UI.UINavMenu.OnNodeRightSymbolClick(this.uiNavMenuEx1_NodeRightSymbolClick); // @@ -139,7 +139,7 @@ namespace Sunny.UI.Demo // uiListBox1 // this.uiListBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiListBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiListBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiListBox1.HoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255))))); this.uiListBox1.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); this.uiListBox1.Location = new System.Drawing.Point(0, 0); @@ -156,14 +156,14 @@ namespace Sunny.UI.Demo // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiButton1.Location = new System.Drawing.Point(29, 29); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.Size = new System.Drawing.Size(100, 35); this.uiButton1.TabIndex = 0; this.uiButton1.Text = "清除"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // diff --git a/SunnyUI.Demo/Controls/FTabControl.Designer.cs b/SunnyUI.Demo/Controls/FTabControl.Designer.cs index b8a06907..49f48a23 100644 --- a/SunnyUI.Demo/Controls/FTabControl.Designer.cs +++ b/SunnyUI.Demo/Controls/FTabControl.Designer.cs @@ -57,7 +57,7 @@ namespace Sunny.UI.Demo this.uiTabControlMenu1.Controls.Add(this.tabPage7); this.uiTabControlMenu1.Controls.Add(this.tabPage8); this.uiTabControlMenu1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.uiTabControlMenu1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTabControlMenu1.Font = new System.Drawing.Font("宋体", 12F); this.uiTabControlMenu1.Location = new System.Drawing.Point(30, 321); this.uiTabControlMenu1.Multiline = true; this.uiTabControlMenu1.Name = "uiTabControlMenu1"; @@ -105,7 +105,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 286); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -117,7 +117,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -138,7 +138,7 @@ namespace Sunny.UI.Demo this.uiTabControl1.Controls.Add(this.tabPage12); this.uiTabControl1.Controls.Add(this.tabPage13); this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTabControl1.Frame = null; this.uiTabControl1.ItemSize = new System.Drawing.Size(150, 40); this.uiTabControl1.Location = new System.Drawing.Point(30, 85); @@ -150,7 +150,7 @@ namespace Sunny.UI.Demo this.uiTabControl1.Size = new System.Drawing.Size(670, 183); this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.uiTabControl1.TabIndex = 22; - this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTabControl1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); this.uiTabControl1.BeforeRemoveTabPage += new Sunny.UI.UITabControl.OnBeforeRemoveTabPage(this.uiTabControl1_BeforeRemoveTabPage); // diff --git a/SunnyUI.Demo/Controls/FTextBox.Designer.cs b/SunnyUI.Demo/Controls/FTextBox.Designer.cs index 7e59b4a4..ae428f4b 100644 --- a/SunnyUI.Demo/Controls/FTextBox.Designer.cs +++ b/SunnyUI.Demo/Controls/FTextBox.Designer.cs @@ -56,7 +56,7 @@ namespace Sunny.UI.Demo // this.uiTextBox6.ButtonWidth = 100; this.uiTextBox6.Cursor = System.Windows.Forms.Cursors.IBeam; - this.uiTextBox6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTextBox6.Location = new System.Drawing.Point(117, 167); this.uiTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTextBox6.MinimumSize = new System.Drawing.Size(1, 1); @@ -73,7 +73,7 @@ namespace Sunny.UI.Demo // this.uiTextBox5.ButtonWidth = 100; this.uiTextBox5.Cursor = System.Windows.Forms.Cursors.IBeam; - this.uiTextBox5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTextBox5.Icon = global::Sunny.UI.Demo.Properties.Resources.Home_32x32; this.uiTextBox5.Location = new System.Drawing.Point(117, 128); this.uiTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); @@ -90,7 +90,7 @@ namespace Sunny.UI.Demo // this.uiTextBox4.ButtonWidth = 100; this.uiTextBox4.Cursor = System.Windows.Forms.Cursors.IBeam; - this.uiTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTextBox4.Location = new System.Drawing.Point(30, 325); this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTextBox4.MinimumSize = new System.Drawing.Size(1, 1); @@ -109,7 +109,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(388, 286); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -120,7 +120,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 286); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -132,7 +132,7 @@ namespace Sunny.UI.Demo // uiRichTextBox1 // this.uiRichTextBox1.FillColor = System.Drawing.Color.White; - this.uiRichTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRichTextBox1.Font = new System.Drawing.Font("宋体", 12F); this.uiRichTextBox1.Location = new System.Drawing.Point(388, 325); this.uiRichTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiRichTextBox1.MinimumSize = new System.Drawing.Size(1, 1); @@ -148,7 +148,7 @@ namespace Sunny.UI.Demo // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(388, 132); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -159,7 +159,7 @@ namespace Sunny.UI.Demo // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(388, 55); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -170,7 +170,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -181,7 +181,7 @@ namespace Sunny.UI.Demo // // uiDoubleUpDown1 // - this.uiDoubleUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiDoubleUpDown1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiDoubleUpDown1.Location = new System.Drawing.Point(388, 167); this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiDoubleUpDown1.MinimumSize = new System.Drawing.Size(100, 0); @@ -196,7 +196,7 @@ namespace Sunny.UI.Demo // uiLabel3 // this.uiLabel3.AutoSize = true; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(38, 249); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(65, 21); @@ -209,7 +209,7 @@ namespace Sunny.UI.Demo this.uiTextBox3.ButtonWidth = 100; this.uiTextBox3.CanEmpty = true; this.uiTextBox3.Cursor = System.Windows.Forms.Cursors.IBeam; - this.uiTextBox3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTextBox3.Font = new System.Drawing.Font("宋体", 12F); this.uiTextBox3.Location = new System.Drawing.Point(117, 245); this.uiTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTextBox3.MinimumSize = new System.Drawing.Size(1, 1); @@ -225,7 +225,7 @@ namespace Sunny.UI.Demo // uiLabel2 // this.uiLabel2.AutoSize = true; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(38, 210); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(65, 21); @@ -239,7 +239,7 @@ namespace Sunny.UI.Demo this.uiTextBox2.CanEmpty = true; this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam; this.uiTextBox2.DoubleValue = 50D; - this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTextBox2.Font = new System.Drawing.Font("宋体", 12F); this.uiTextBox2.IntValue = 50; this.uiTextBox2.Location = new System.Drawing.Point(117, 206); this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); @@ -259,7 +259,7 @@ namespace Sunny.UI.Demo // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(38, 93); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(55, 21); @@ -269,7 +269,7 @@ namespace Sunny.UI.Demo // // uiIntegerUpDown1 // - this.uiIntegerUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiIntegerUpDown1.Font = new System.Drawing.Font("宋体", 12F); this.uiIntegerUpDown1.Location = new System.Drawing.Point(388, 89); this.uiIntegerUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiIntegerUpDown1.Maximum = 100; @@ -292,7 +292,7 @@ namespace Sunny.UI.Demo // uiTextBox1 // this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam; - this.uiTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTextBox1.Location = new System.Drawing.Point(117, 89); this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTextBox1.MinimumSize = new System.Drawing.Size(1, 16); @@ -309,7 +309,7 @@ namespace Sunny.UI.Demo // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(388, 211); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -320,7 +320,7 @@ namespace Sunny.UI.Demo // // uiipTextBox1 // - this.uiipTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiipTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiipTextBox1.Location = new System.Drawing.Point(388, 245); this.uiipTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiipTextBox1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Controls/FTransfer.Designer.cs b/SunnyUI.Demo/Controls/FTransfer.Designer.cs index 44961009..57726e77 100644 --- a/SunnyUI.Demo/Controls/FTransfer.Designer.cs +++ b/SunnyUI.Demo/Controls/FTransfer.Designer.cs @@ -35,7 +35,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -46,7 +46,7 @@ namespace Sunny.UI.Demo // // uiTransfer1 // - this.uiTransfer1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTransfer1.Font = new System.Drawing.Font("宋体", 12F); this.uiTransfer1.ItemsLeft.AddRange(new object[] { "1", "2", diff --git a/SunnyUI.Demo/Controls/FTreeView.Designer.cs b/SunnyUI.Demo/Controls/FTreeView.Designer.cs index 3cdbcbfc..6039e613 100644 --- a/SunnyUI.Demo/Controls/FTreeView.Designer.cs +++ b/SunnyUI.Demo/Controls/FTreeView.Designer.cs @@ -67,7 +67,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -81,7 +81,7 @@ namespace Sunny.UI.Demo // this.uiTreeView1.CheckBoxes = true; this.uiTreeView1.FillColor = System.Drawing.Color.White; - this.uiTreeView1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiTreeView1.Font = new System.Drawing.Font("宋体", 12F); this.uiTreeView1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.uiTreeView1.Location = new System.Drawing.Point(30, 89); this.uiTreeView1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); diff --git a/SunnyUI.Demo/FMain.Designer.cs b/SunnyUI.Demo/FMain.Designer.cs index c7b4dc24..e9c89a93 100644 --- a/SunnyUI.Demo/FMain.Designer.cs +++ b/SunnyUI.Demo/FMain.Designer.cs @@ -37,12 +37,12 @@ this.uiAvatar1 = new Sunny.UI.UIAvatar(); this.uiLogo1 = new Sunny.UI.UILogo(); this.uiPanel1 = new Sunny.UI.UIPanel(); + this.uiPanel4 = new Sunny.UI.UIPanel(); + this.uiPanel3 = new Sunny.UI.UIPanel(); + this.uiPanel2 = new Sunny.UI.UIPanel(); this.uiNavMenu1 = new Sunny.UI.UINavMenu(); this.uiTabControl1 = new Sunny.UI.UITabControl(); - this.uiPanel2 = new Sunny.UI.UIPanel(); - this.uiPanel3 = new Sunny.UI.UIPanel(); this.timer1 = new System.Windows.Forms.Timer(this.components); - this.uiPanel4 = new Sunny.UI.UIPanel(); this.uiContextMenuStrip1.SuspendLayout(); this.uiNavBar1.SuspendLayout(); this.uiPanel1.SuspendLayout(); @@ -51,31 +51,32 @@ // uiContextMenuStrip1 // this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); - this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F); - this.uiContextMenuStrip1.IsScaled = true; + this.uiContextMenuStrip1.Font = new System.Drawing.Font("宋体", 12F); this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.关于ToolStripMenuItem, this.关于ToolStripMenuItem1}); this.uiContextMenuStrip1.Name = "uiContextMenuStrip1"; - this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 56); + this.uiContextMenuStrip1.Size = new System.Drawing.Size(107, 48); // // 关于ToolStripMenuItem // this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem"; - this.关于ToolStripMenuItem.Size = new System.Drawing.Size(112, 26); + this.关于ToolStripMenuItem.Size = new System.Drawing.Size(106, 22); this.关于ToolStripMenuItem.Text = "主页"; this.关于ToolStripMenuItem.Click += new System.EventHandler(this.关于ToolStripMenuItem_Click); // // 关于ToolStripMenuItem1 // this.关于ToolStripMenuItem1.Name = "关于ToolStripMenuItem1"; - this.关于ToolStripMenuItem1.Size = new System.Drawing.Size(112, 26); + this.关于ToolStripMenuItem1.Size = new System.Drawing.Size(106, 22); this.关于ToolStripMenuItem1.Text = "关于"; this.关于ToolStripMenuItem1.Click += new System.EventHandler(this.关于ToolStripMenuItem1_Click); // // StyleManager // this.StyleManager.DPIScale = true; + this.StyleManager.GlobalFont = true; + this.StyleManager.GlobalFontName = "Tahoma"; // // uiNavBar1 // @@ -83,8 +84,8 @@ this.uiNavBar1.Controls.Add(this.uiAvatar1); this.uiNavBar1.Controls.Add(this.uiLogo1); this.uiNavBar1.Dock = System.Windows.Forms.DockStyle.Top; - this.uiNavBar1.DropMenuFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.uiNavBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNavBar1.DropMenuFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNavBar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNavBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.uiNavBar1.Location = new System.Drawing.Point(2, 36); this.uiNavBar1.MenuHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); @@ -99,7 +100,7 @@ // uiAvatar1 // this.uiAvatar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.uiAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiAvatar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiAvatar1.Location = new System.Drawing.Point(1016, 33); this.uiAvatar1.MinimumSize = new System.Drawing.Size(1, 1); this.uiAvatar1.Name = "uiAvatar1"; @@ -109,7 +110,7 @@ // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(8, 23); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); @@ -125,7 +126,7 @@ this.uiPanel1.Controls.Add(this.uiPanel3); this.uiPanel1.Controls.Add(this.uiPanel2); this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiPanel1.Location = new System.Drawing.Point(2, 734); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -137,12 +138,57 @@ this.uiPanel1.Text = null; this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; // + // uiPanel4 + // + this.uiPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.uiPanel4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel4.Location = new System.Drawing.Point(286, 0); + this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1); + this.uiPanel4.Name = "uiPanel4"; + this.uiPanel4.RadiusSides = Sunny.UI.UICornerRadiusSides.None; + this.uiPanel4.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Top; + this.uiPanel4.Size = new System.Drawing.Size(524, 32); + this.uiPanel4.TabIndex = 2; + this.uiPanel4.Text = null; + this.uiPanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; + // + // uiPanel3 + // + this.uiPanel3.Dock = System.Windows.Forms.DockStyle.Right; + this.uiPanel3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel3.Location = new System.Drawing.Point(810, 0); + this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1); + this.uiPanel3.Name = "uiPanel3"; + this.uiPanel3.RadiusSides = Sunny.UI.UICornerRadiusSides.None; + this.uiPanel3.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top))); + this.uiPanel3.Size = new System.Drawing.Size(286, 32); + this.uiPanel3.TabIndex = 1; + this.uiPanel3.Text = null; + this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; + // + // uiPanel2 + // + this.uiPanel2.Dock = System.Windows.Forms.DockStyle.Left; + this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel2.Location = new System.Drawing.Point(0, 0); + this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1); + this.uiPanel2.Name = "uiPanel2"; + this.uiPanel2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; + this.uiPanel2.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Top | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right))); + this.uiPanel2.Size = new System.Drawing.Size(286, 32); + this.uiPanel2.TabIndex = 0; + this.uiPanel2.Text = null; + this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; + // // uiNavMenu1 // this.uiNavMenu1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.uiNavMenu1.Dock = System.Windows.Forms.DockStyle.Left; this.uiNavMenu1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll; - this.uiNavMenu1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNavMenu1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiNavMenu1.FullRowSelect = true; this.uiNavMenu1.ItemHeight = 35; this.uiNavMenu1.Location = new System.Drawing.Point(2, 162); @@ -151,13 +197,13 @@ this.uiNavMenu1.ShowOneNode = true; this.uiNavMenu1.Size = new System.Drawing.Size(286, 572); this.uiNavMenu1.TabIndex = 4; - this.uiNavMenu1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiNavMenu1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // uiTabControl1 // this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTabControl1.Frame = this; this.uiTabControl1.ItemSize = new System.Drawing.Size(0, 1); this.uiTabControl1.Location = new System.Drawing.Point(288, 162); @@ -168,54 +214,12 @@ this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.uiTabControl1.TabIndex = 5; this.uiTabControl1.TabVisible = false; - this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - // - // uiPanel2 - // - this.uiPanel2.Dock = System.Windows.Forms.DockStyle.Left; - this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.uiPanel2.Location = new System.Drawing.Point(0, 0); - this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1); - this.uiPanel2.Name = "uiPanel2"; - this.uiPanel2.RadiusSides = Sunny.UI.UICornerRadiusSides.None; - this.uiPanel2.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Top | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right))); - this.uiPanel2.Size = new System.Drawing.Size(286, 32); - this.uiPanel2.TabIndex = 0; - this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; - // - // uiPanel3 - // - this.uiPanel3.Dock = System.Windows.Forms.DockStyle.Right; - this.uiPanel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.uiPanel3.Location = new System.Drawing.Point(810, 0); - this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1); - this.uiPanel3.Name = "uiPanel3"; - this.uiPanel3.RadiusSides = Sunny.UI.UICornerRadiusSides.None; - this.uiPanel3.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top))); - this.uiPanel3.Size = new System.Drawing.Size(286, 32); - this.uiPanel3.TabIndex = 1; - this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; + this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // - // uiPanel4 - // - this.uiPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.uiPanel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.uiPanel4.Location = new System.Drawing.Point(286, 0); - this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1); - this.uiPanel4.Name = "uiPanel4"; - this.uiPanel4.RadiusSides = Sunny.UI.UICornerRadiusSides.None; - this.uiPanel4.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Top; - this.uiPanel4.Size = new System.Drawing.Size(524, 32); - this.uiPanel4.TabIndex = 2; - this.uiPanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; - // // FMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; diff --git a/SunnyUI.Demo/Forms/FColorful.Designer.cs b/SunnyUI.Demo/Forms/FColorful.Designer.cs index 38cd74de..18dd4d64 100644 --- a/SunnyUI.Demo/Forms/FColorful.Designer.cs +++ b/SunnyUI.Demo/Forms/FColorful.Designer.cs @@ -42,19 +42,27 @@ namespace Sunny.UI.Demo this.uiLabel1 = new Sunny.UI.UILabel(); this.uiPanel11 = new Sunny.UI.UIPanel(); this.uiLabel2 = new Sunny.UI.UILabel(); + this.uiLine1 = new Sunny.UI.UILine(); + this.uiLine2 = new Sunny.UI.UILine(); + this.cbFont = new Sunny.UI.UIComboBox(); + this.uiLabel3 = new Sunny.UI.UILabel(); + this.uiLabel4 = new Sunny.UI.UILabel(); + this.uiSymbolButton1 = new Sunny.UI.UISymbolButton(); + this.uiTrackBar1 = new Sunny.UI.UITrackBar(); + this.uiLabel5 = new Sunny.UI.UILabel(); this.SuspendLayout(); // // uiPanel1 // this.uiPanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(190)))), ((int)(((byte)(172))))); - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel1.ForeColor = System.Drawing.Color.White; - this.uiPanel1.Location = new System.Drawing.Point(173, 56); + this.uiPanel1.Location = new System.Drawing.Point(170, 95); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel1.Name = "uiPanel1"; this.uiPanel1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(190)))), ((int)(((byte)(172))))); - this.uiPanel1.Size = new System.Drawing.Size(120, 100); + this.uiPanel1.Size = new System.Drawing.Size(120, 80); this.uiPanel1.Style = Sunny.UI.UIStyle.Custom; this.uiPanel1.StyleCustomMode = true; this.uiPanel1.TabIndex = 0; @@ -65,14 +73,14 @@ namespace Sunny.UI.Demo // uiPanel2 // this.uiPanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(0))))); - this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel2.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel2.ForeColor = System.Drawing.Color.White; - this.uiPanel2.Location = new System.Drawing.Point(323, 56); + this.uiPanel2.Location = new System.Drawing.Point(310, 95); this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel2.Name = "uiPanel2"; this.uiPanel2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(0))))); - this.uiPanel2.Size = new System.Drawing.Size(120, 100); + this.uiPanel2.Size = new System.Drawing.Size(120, 80); this.uiPanel2.Style = Sunny.UI.UIStyle.Custom; this.uiPanel2.StyleCustomMode = true; this.uiPanel2.TabIndex = 1; @@ -83,14 +91,14 @@ namespace Sunny.UI.Demo // uiPanel3 // this.uiPanel3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(190)))), ((int)(((byte)(60))))); - this.uiPanel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel3.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel3.ForeColor = System.Drawing.Color.White; - this.uiPanel3.Location = new System.Drawing.Point(473, 174); + this.uiPanel3.Location = new System.Drawing.Point(450, 192); this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel3.Name = "uiPanel3"; this.uiPanel3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(190)))), ((int)(((byte)(60))))); - this.uiPanel3.Size = new System.Drawing.Size(120, 100); + this.uiPanel3.Size = new System.Drawing.Size(120, 80); this.uiPanel3.Style = Sunny.UI.UIStyle.Custom; this.uiPanel3.StyleCustomMode = true; this.uiPanel3.TabIndex = 3; @@ -101,14 +109,14 @@ namespace Sunny.UI.Demo // uiPanel4 // this.uiPanel4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(100)))), ((int)(((byte)(80))))); - this.uiPanel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel4.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel4.ForeColor = System.Drawing.Color.White; - this.uiPanel4.Location = new System.Drawing.Point(623, 174); + this.uiPanel4.Location = new System.Drawing.Point(590, 192); this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel4.Name = "uiPanel4"; this.uiPanel4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(100)))), ((int)(((byte)(80))))); - this.uiPanel4.Size = new System.Drawing.Size(120, 100); + this.uiPanel4.Size = new System.Drawing.Size(120, 80); this.uiPanel4.Style = Sunny.UI.UIStyle.Custom; this.uiPanel4.StyleCustomMode = true; this.uiPanel4.TabIndex = 2; @@ -119,14 +127,14 @@ namespace Sunny.UI.Demo // uiPanel5 // this.uiPanel5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(98)))), ((int)(((byte)(161))))); - this.uiPanel5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel5.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel5.ForeColor = System.Drawing.Color.White; - this.uiPanel5.Location = new System.Drawing.Point(623, 56); + this.uiPanel5.Location = new System.Drawing.Point(590, 95); this.uiPanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel5.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel5.Name = "uiPanel5"; this.uiPanel5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(98)))), ((int)(((byte)(161))))); - this.uiPanel5.Size = new System.Drawing.Size(120, 100); + this.uiPanel5.Size = new System.Drawing.Size(120, 80); this.uiPanel5.Style = Sunny.UI.UIStyle.Custom; this.uiPanel5.StyleCustomMode = true; this.uiPanel5.TabIndex = 4; @@ -137,14 +145,14 @@ namespace Sunny.UI.Demo // uiPanel6 // this.uiPanel6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); - this.uiPanel6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel6.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel6.ForeColor = System.Drawing.Color.White; - this.uiPanel6.Location = new System.Drawing.Point(473, 56); + this.uiPanel6.Location = new System.Drawing.Point(450, 95); this.uiPanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel6.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel6.Name = "uiPanel6"; this.uiPanel6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(87)))), ((int)(((byte)(34))))); - this.uiPanel6.Size = new System.Drawing.Size(120, 100); + this.uiPanel6.Size = new System.Drawing.Size(120, 80); this.uiPanel6.Style = Sunny.UI.UIStyle.Custom; this.uiPanel6.StyleCustomMode = true; this.uiPanel6.TabIndex = 8; @@ -155,14 +163,14 @@ namespace Sunny.UI.Demo // uiPanel7 // this.uiPanel7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(126)))), ((int)(((byte)(164))))); - this.uiPanel7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel7.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel7.ForeColor = System.Drawing.Color.White; - this.uiPanel7.Location = new System.Drawing.Point(323, 174); + this.uiPanel7.Location = new System.Drawing.Point(310, 192); this.uiPanel7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel7.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel7.Name = "uiPanel7"; this.uiPanel7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(126)))), ((int)(((byte)(164))))); - this.uiPanel7.Size = new System.Drawing.Size(120, 100); + this.uiPanel7.Size = new System.Drawing.Size(120, 80); this.uiPanel7.Style = Sunny.UI.UIStyle.Custom; this.uiPanel7.StyleCustomMode = true; this.uiPanel7.TabIndex = 7; @@ -173,14 +181,14 @@ namespace Sunny.UI.Demo // uiPanel8 // this.uiPanel8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(188)))), ((int)(((byte)(212))))); - this.uiPanel8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel8.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel8.ForeColor = System.Drawing.Color.White; - this.uiPanel8.Location = new System.Drawing.Point(173, 174); + this.uiPanel8.Location = new System.Drawing.Point(170, 192); this.uiPanel8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel8.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel8.Name = "uiPanel8"; this.uiPanel8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(188)))), ((int)(((byte)(212))))); - this.uiPanel8.Size = new System.Drawing.Size(120, 100); + this.uiPanel8.Size = new System.Drawing.Size(120, 80); this.uiPanel8.Style = Sunny.UI.UIStyle.Custom; this.uiPanel8.StyleCustomMode = true; this.uiPanel8.TabIndex = 6; @@ -191,14 +199,14 @@ namespace Sunny.UI.Demo // uiPanel9 // this.uiPanel9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183))))); - this.uiPanel9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel9.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel9.ForeColor = System.Drawing.Color.White; - this.uiPanel9.Location = new System.Drawing.Point(23, 174); + this.uiPanel9.Location = new System.Drawing.Point(30, 192); this.uiPanel9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel9.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel9.Name = "uiPanel9"; this.uiPanel9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183))))); - this.uiPanel9.Size = new System.Drawing.Size(120, 100); + this.uiPanel9.Size = new System.Drawing.Size(120, 80); this.uiPanel9.Style = Sunny.UI.UIStyle.Custom; this.uiPanel9.StyleCustomMode = true; this.uiPanel9.TabIndex = 5; @@ -209,14 +217,14 @@ namespace Sunny.UI.Demo // uiPanel10 // this.uiPanel10.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136))))); - this.uiPanel10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel10.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel10.ForeColor = System.Drawing.Color.White; - this.uiPanel10.Location = new System.Drawing.Point(23, 56); + this.uiPanel10.Location = new System.Drawing.Point(30, 95); this.uiPanel10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel10.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel10.Name = "uiPanel10"; this.uiPanel10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136))))); - this.uiPanel10.Size = new System.Drawing.Size(120, 100); + this.uiPanel10.Size = new System.Drawing.Size(120, 80); this.uiPanel10.Style = Sunny.UI.UIStyle.Custom; this.uiPanel10.StyleCustomMode = true; this.uiPanel10.TabIndex = 9; @@ -226,8 +234,8 @@ namespace Sunny.UI.Demo // // uiLabel1 // - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); - this.uiLabel1.Location = new System.Drawing.Point(23, 297); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); + this.uiLabel1.Location = new System.Drawing.Point(30, 288); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(698, 23); this.uiLabel1.TabIndex = 10; @@ -237,14 +245,14 @@ namespace Sunny.UI.Demo // uiPanel11 // this.uiPanel11.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183))))); - this.uiPanel11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPanel11.Font = new System.Drawing.Font("宋体", 12F); this.uiPanel11.ForeColor = System.Drawing.Color.White; - this.uiPanel11.Location = new System.Drawing.Point(23, 340); + this.uiPanel11.Location = new System.Drawing.Point(30, 326); this.uiPanel11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel11.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel11.Name = "uiPanel11"; this.uiPanel11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(58)))), ((int)(((byte)(183))))); - this.uiPanel11.Size = new System.Drawing.Size(120, 100); + this.uiPanel11.Size = new System.Drawing.Size(120, 80); this.uiPanel11.Style = Sunny.UI.UIStyle.Custom; this.uiPanel11.StyleCustomMode = true; this.uiPanel11.TabIndex = 11; @@ -254,19 +262,123 @@ namespace Sunny.UI.Demo // // uiLabel2 // - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); - this.uiLabel2.Location = new System.Drawing.Point(23, 457); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); + this.uiLabel2.Location = new System.Drawing.Point(176, 383); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(172, 23); this.uiLabel2.TabIndex = 12; this.uiLabel2.Text = "RGB: 255, 255, 255 "; this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // + // uiLine1 + // + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiLine1.Location = new System.Drawing.Point(30, 430); + this.uiLine1.MinimumSize = new System.Drawing.Size(1, 1); + this.uiLine1.Name = "uiLine1"; + this.uiLine1.Size = new System.Drawing.Size(670, 29); + this.uiLine1.TabIndex = 13; + this.uiLine1.Text = "全局字体"; + this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // uiLine2 + // + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); + this.uiLine2.Location = new System.Drawing.Point(30, 55); + 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 = 78; + this.uiLine2.Text = "全局配色"; + this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbFont + // + this.cbFont.DataSource = null; + this.cbFont.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; + this.cbFont.FillColor = System.Drawing.Color.White; + this.cbFont.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.cbFont.Location = new System.Drawing.Point(101, 473); + this.cbFont.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.cbFont.MinimumSize = new System.Drawing.Size(63, 0); + this.cbFont.Name = "cbFont"; + this.cbFont.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); + this.cbFont.Size = new System.Drawing.Size(469, 29); + this.cbFont.TabIndex = 79; + this.cbFont.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.cbFont.Watermark = ""; + // + // uiLabel3 + // + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); + this.uiLabel3.Location = new System.Drawing.Point(30, 524); + this.uiLabel3.Name = "uiLabel3"; + this.uiLabel3.Size = new System.Drawing.Size(172, 23); + this.uiLabel3.TabIndex = 80; + this.uiLabel3.Text = "缩放"; + this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // uiLabel4 + // + this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F); + this.uiLabel4.Location = new System.Drawing.Point(30, 476); + this.uiLabel4.Name = "uiLabel4"; + this.uiLabel4.Size = new System.Drawing.Size(85, 23); + this.uiLabel4.TabIndex = 81; + this.uiLabel4.Text = "字体"; + this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // uiSymbolButton1 + // + this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.Location = new System.Drawing.Point(590, 473); + this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); + this.uiSymbolButton1.Name = "uiSymbolButton1"; + this.uiSymbolButton1.Size = new System.Drawing.Size(120, 80); + this.uiSymbolButton1.Symbol = 0; + this.uiSymbolButton1.TabIndex = 83; + this.uiSymbolButton1.Text = "设置字体"; + this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click); + // + // uiTrackBar1 + // + this.uiTrackBar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTrackBar1.Location = new System.Drawing.Point(101, 521); + this.uiTrackBar1.Maximum = 200; + this.uiTrackBar1.Minimum = 75; + this.uiTrackBar1.MinimumSize = new System.Drawing.Size(1, 1); + this.uiTrackBar1.Name = "uiTrackBar1"; + this.uiTrackBar1.Size = new System.Drawing.Size(389, 29); + this.uiTrackBar1.TabIndex = 84; + this.uiTrackBar1.Text = "uiTrackBar1"; + this.uiTrackBar1.Value = 100; + this.uiTrackBar1.ValueChanged += new System.EventHandler(this.uiTrackBar1_ValueChanged); + // + // uiLabel5 + // + this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F); + this.uiLabel5.Location = new System.Drawing.Point(511, 524); + this.uiLabel5.Name = "uiLabel5"; + this.uiLabel5.Size = new System.Drawing.Size(59, 23); + this.uiLabel5.TabIndex = 85; + this.uiLabel5.Text = "100"; + this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // FColorful // this.AllowShowTitle = true; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(776, 543); + this.ClientSize = new System.Drawing.Size(854, 596); + this.Controls.Add(this.uiLabel5); + this.Controls.Add(this.uiTrackBar1); + this.Controls.Add(this.uiSymbolButton1); + this.Controls.Add(this.cbFont); + this.Controls.Add(this.uiLabel4); + this.Controls.Add(this.uiLabel3); + this.Controls.Add(this.uiLine2); + this.Controls.Add(this.uiLine1); this.Controls.Add(this.uiLabel2); this.Controls.Add(this.uiPanel11); this.Controls.Add(this.uiLabel1); @@ -305,5 +417,13 @@ namespace Sunny.UI.Demo private UILabel uiLabel1; private UIPanel uiPanel11; private UILabel uiLabel2; + private UILine uiLine1; + private UILine uiLine2; + private UIComboBox cbFont; + private UILabel uiLabel3; + private UILabel uiLabel4; + private UISymbolButton uiSymbolButton1; + private UITrackBar uiTrackBar1; + private UILabel uiLabel5; } } \ No newline at end of file diff --git a/SunnyUI.Demo/Forms/FColorful.cs b/SunnyUI.Demo/Forms/FColorful.cs index eb12c793..67ebb10e 100644 --- a/SunnyUI.Demo/Forms/FColorful.cs +++ b/SunnyUI.Demo/Forms/FColorful.cs @@ -1,5 +1,6 @@ using System; using System.Drawing; +using System.Drawing.Text; namespace Sunny.UI.Demo { @@ -10,6 +11,14 @@ namespace Sunny.UI.Demo InitializeComponent(); uiPanel11.FillColor = uiPanel11.RectColor = RandomColor.GetColor(ColorScheme.Random, Luminosity.Bright); uiLabel2.Text = "RGB: " + uiPanel11.FillColor.R + ", " + uiPanel11.FillColor.G + ", " + uiPanel11.FillColor.B; + + InstalledFontCollection fonts = new InstalledFontCollection(); + foreach (FontFamily family in fonts.Families) + { + cbFont.Items.Add(family.Name); + } + + cbFont.SelectedIndex = cbFont.Items.IndexOf(SystemFonts.DefaultFont.Name); } private void uiPanel1_Click(object sender, System.EventArgs e) @@ -46,5 +55,20 @@ namespace Sunny.UI.Demo int b = Math.Abs(Math.Min(color.B - increase, max)); return Color.FromArgb(r, g, b); } + + private void uiSymbolButton1_Click(object sender, EventArgs e) + { + UIStyles.DPIScale = true; + UIStyles.GlobalFont = true; + UIStyles.GlobalFontName = cbFont.Text; + UIStyles.GlobalFontScale = uiTrackBar1.Value; + UIStyles.SetDPIScale(); + } + + private void uiTrackBar1_ValueChanged(object sender, EventArgs e) + { + uiLabel5.Text = uiTrackBar1.Value.ToString(); + UIStyles.GlobalFontScale = uiTrackBar1.Value; + } } } diff --git a/SunnyUI.Demo/Forms/FDialogs.Designer.cs b/SunnyUI.Demo/Forms/FDialogs.Designer.cs index 41b3d744..578201e4 100644 --- a/SunnyUI.Demo/Forms/FDialogs.Designer.cs +++ b/SunnyUI.Demo/Forms/FDialogs.Designer.cs @@ -75,7 +75,7 @@ this.btnError.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.btnError.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.btnError.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.btnError.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnError.Font = new System.Drawing.Font("宋体", 12F); this.btnError.Location = new System.Drawing.Point(600, 88); this.btnError.MinimumSize = new System.Drawing.Size(1, 1); this.btnError.Name = "btnError"; @@ -90,7 +90,7 @@ this.btnError.Symbol = 61532; this.btnError.TabIndex = 29; this.btnError.Text = "Error"; - this.btnError.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnError.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnError.Click += new System.EventHandler(this.btnError_Click); // // btnWarn @@ -101,7 +101,7 @@ this.btnWarn.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.btnWarn.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.btnWarn.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.btnWarn.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnWarn.Font = new System.Drawing.Font("宋体", 12F); this.btnWarn.Location = new System.Drawing.Point(486, 88); this.btnWarn.MinimumSize = new System.Drawing.Size(1, 1); this.btnWarn.Name = "btnWarn"; @@ -116,7 +116,7 @@ this.btnWarn.Symbol = 61553; this.btnWarn.TabIndex = 28; this.btnWarn.Text = "Warn"; - this.btnWarn.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnWarn.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnWarn.Click += new System.EventHandler(this.btnWarn_Click); // // btnSuccess @@ -127,7 +127,7 @@ this.btnSuccess.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.btnSuccess.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.btnSuccess.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.btnSuccess.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnSuccess.Font = new System.Drawing.Font("宋体", 12F); this.btnSuccess.Location = new System.Drawing.Point(372, 88); this.btnSuccess.MinimumSize = new System.Drawing.Size(1, 1); this.btnSuccess.Name = "btnSuccess"; @@ -142,13 +142,13 @@ this.btnSuccess.Symbol = 61528; this.btnSuccess.TabIndex = 27; this.btnSuccess.Text = "Success"; - this.btnSuccess.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSuccess.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnSuccess.Click += new System.EventHandler(this.btnSuccess_Click); // // btnAsk // this.btnAsk.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAsk.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnAsk.Font = new System.Drawing.Font("宋体", 12F); this.btnAsk.Location = new System.Drawing.Point(144, 88); this.btnAsk.MinimumSize = new System.Drawing.Size(1, 1); this.btnAsk.Name = "btnAsk"; @@ -158,13 +158,13 @@ this.btnAsk.Symbol = 61529; this.btnAsk.TabIndex = 26; this.btnAsk.Text = "Query"; - this.btnAsk.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAsk.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnAsk.Click += new System.EventHandler(this.btnAsk_Click); // // btnAuto // this.btnAuto.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAuto.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnAuto.Font = new System.Drawing.Font("宋体", 12F); this.btnAuto.Location = new System.Drawing.Point(30, 88); this.btnAuto.MinimumSize = new System.Drawing.Size(1, 1); this.btnAuto.Name = "btnAuto"; @@ -173,13 +173,13 @@ this.btnAuto.Symbol = 61732; this.btnAuto.TabIndex = 31; this.btnAuto.Text = "Auto"; - this.btnAuto.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAuto.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnAuto.Click += new System.EventHandler(this.btnAuto_Click); // // btnStatus2 // this.btnStatus2.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnStatus2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnStatus2.Font = new System.Drawing.Font("宋体", 12F); this.btnStatus2.Location = new System.Drawing.Point(30, 245); this.btnStatus2.MinimumSize = new System.Drawing.Size(1, 1); this.btnStatus2.Name = "btnStatus2"; @@ -188,7 +188,7 @@ this.btnStatus2.Symbol = 57595; this.btnStatus2.TabIndex = 36; this.btnStatus2.Text = "进度提示框"; - this.btnStatus2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnStatus2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnStatus2.Click += new System.EventHandler(this.btnStatus2_Click); // // btnInfo @@ -199,7 +199,7 @@ this.btnInfo.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(163)))), ((int)(((byte)(163))))); this.btnInfo.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); this.btnInfo.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112))))); - this.btnInfo.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnInfo.Font = new System.Drawing.Font("宋体", 12F); this.btnInfo.Location = new System.Drawing.Point(258, 88); this.btnInfo.MinimumSize = new System.Drawing.Size(1, 1); this.btnInfo.Name = "btnInfo"; @@ -214,13 +214,13 @@ this.btnInfo.Symbol = 61530; this.btnInfo.TabIndex = 37; this.btnInfo.Text = "Info"; - this.btnInfo.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnInfo.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnInfo.Click += new System.EventHandler(this.btnInfo_Click); // // btnPasswordInput // this.btnPasswordInput.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnPasswordInput.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnPasswordInput.Font = new System.Drawing.Font("宋体", 12F); this.btnPasswordInput.Location = new System.Drawing.Point(543, 166); this.btnPasswordInput.MinimumSize = new System.Drawing.Size(1, 1); this.btnPasswordInput.Name = "btnPasswordInput"; @@ -229,13 +229,13 @@ this.btnPasswordInput.Symbol = 61545; this.btnPasswordInput.TabIndex = 46; this.btnPasswordInput.Text = "密码输入框"; - this.btnPasswordInput.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnPasswordInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnPasswordInput.Click += new System.EventHandler(this.btnPasswordInput_Click); // // btnDoubleInput // this.btnDoubleInput.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnDoubleInput.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnDoubleInput.Font = new System.Drawing.Font("宋体", 12F); this.btnDoubleInput.Location = new System.Drawing.Point(372, 166); this.btnDoubleInput.MinimumSize = new System.Drawing.Size(1, 1); this.btnDoubleInput.Name = "btnDoubleInput"; @@ -244,13 +244,13 @@ this.btnDoubleInput.Symbol = 62022; this.btnDoubleInput.TabIndex = 45; this.btnDoubleInput.Text = "浮点数输入框"; - this.btnDoubleInput.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnDoubleInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnDoubleInput.Click += new System.EventHandler(this.btnDoubleInput_Click); // // btnIntInput // this.btnIntInput.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnIntInput.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnIntInput.Font = new System.Drawing.Font("宋体", 12F); this.btnIntInput.Location = new System.Drawing.Point(201, 166); this.btnIntInput.MinimumSize = new System.Drawing.Size(1, 1); this.btnIntInput.Name = "btnIntInput"; @@ -259,13 +259,13 @@ this.btnIntInput.Symbol = 62022; this.btnIntInput.TabIndex = 44; this.btnIntInput.Text = "整数输入框"; - this.btnIntInput.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnIntInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnIntInput.Click += new System.EventHandler(this.btnIntInput_Click); // // btnStringInput // this.btnStringInput.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnStringInput.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnStringInput.Font = new System.Drawing.Font("宋体", 12F); this.btnStringInput.Location = new System.Drawing.Point(30, 166); this.btnStringInput.MinimumSize = new System.Drawing.Size(1, 1); this.btnStringInput.Name = "btnStringInput"; @@ -274,12 +274,12 @@ this.btnStringInput.Symbol = 62022; this.btnStringInput.TabIndex = 43; this.btnStringInput.Text = "字符串输入框"; - this.btnStringInput.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnStringInput.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnStringInput.Click += new System.EventHandler(this.btnStringInput_Click); // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -290,7 +290,7 @@ // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 134); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -301,7 +301,7 @@ // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(30, 213); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -312,7 +312,7 @@ // // uiLine4 // - this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine4.Font = new System.Drawing.Font("宋体", 12F); this.uiLine4.Location = new System.Drawing.Point(543, 213); this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine4.Name = "uiLine4"; @@ -324,7 +324,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(543, 245); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -333,12 +333,12 @@ this.uiSymbolButton1.Symbol = 61655; this.uiSymbolButton1.TabIndex = 50; this.uiSymbolButton1.Text = "下拉选择框"; - this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click); // // uiLine5 // - this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine5.Font = new System.Drawing.Font("宋体", 12F); this.uiLine5.Location = new System.Drawing.Point(30, 292); this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine5.Name = "uiLine5"; @@ -350,7 +350,7 @@ // uiSymbolButton2 // this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton2.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton2.Location = new System.Drawing.Point(30, 324); this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton2.Name = "uiSymbolButton2"; @@ -360,7 +360,7 @@ this.uiSymbolButton2.Symbol = 61530; this.uiSymbolButton2.TabIndex = 57; this.uiSymbolButton2.Text = "Info"; - this.uiSymbolButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click); // // uiSymbolButton4 @@ -371,7 +371,7 @@ this.uiSymbolButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton4.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton4.Location = new System.Drawing.Point(372, 324); this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton4.Name = "uiSymbolButton4"; @@ -386,7 +386,7 @@ this.uiSymbolButton4.Symbol = 61532; this.uiSymbolButton4.TabIndex = 55; this.uiSymbolButton4.Text = "Error"; - this.uiSymbolButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton4.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton4.Click += new System.EventHandler(this.uiSymbolButton4_Click); // // uiSymbolButton5 @@ -397,7 +397,7 @@ this.uiSymbolButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiSymbolButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiSymbolButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiSymbolButton5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton5.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton5.Location = new System.Drawing.Point(258, 324); this.uiSymbolButton5.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton5.Name = "uiSymbolButton5"; @@ -412,7 +412,7 @@ this.uiSymbolButton5.Symbol = 61553; this.uiSymbolButton5.TabIndex = 54; this.uiSymbolButton5.Text = "Warn"; - this.uiSymbolButton5.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton5.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton5.Click += new System.EventHandler(this.uiSymbolButton5_Click); // // uiSymbolButton6 @@ -423,7 +423,7 @@ this.uiSymbolButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiSymbolButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiSymbolButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiSymbolButton6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton6.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton6.Location = new System.Drawing.Point(144, 324); this.uiSymbolButton6.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton6.Name = "uiSymbolButton6"; @@ -438,12 +438,12 @@ this.uiSymbolButton6.Symbol = 61528; this.uiSymbolButton6.TabIndex = 53; this.uiSymbolButton6.Text = "Success"; - this.uiSymbolButton6.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton6.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton6.Click += new System.EventHandler(this.uiSymbolButton6_Click); // // uiLine6 // - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(30, 450); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -455,7 +455,7 @@ // btnEN // this.btnEN.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnEN.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnEN.Font = new System.Drawing.Font("宋体", 12F); this.btnEN.Location = new System.Drawing.Point(144, 482); this.btnEN.MinimumSize = new System.Drawing.Size(1, 1); this.btnEN.Name = "btnEN"; @@ -464,13 +464,13 @@ this.btnEN.Symbol = 57571; this.btnEN.TabIndex = 61; this.btnEN.Text = "EN"; - this.btnEN.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnEN.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnEN.Click += new System.EventHandler(this.btnEN_Click); // // btnCH // this.btnCH.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnCH.Font = new System.Drawing.Font("微软雅黑", 12F); + this.btnCH.Font = new System.Drawing.Font("宋体", 12F); this.btnCH.Location = new System.Drawing.Point(30, 482); this.btnCH.MinimumSize = new System.Drawing.Size(1, 1); this.btnCH.Name = "btnCH"; @@ -480,12 +480,12 @@ this.btnCH.Symbol = 57571; this.btnCH.TabIndex = 60; this.btnCH.Text = "CH"; - this.btnCH.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnCH.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCH.Click += new System.EventHandler(this.btnCH_Click); // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine7.Font = new System.Drawing.Font("宋体", 12F); this.uiLine7.Location = new System.Drawing.Point(30, 371); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine7.Name = "uiLine7"; @@ -502,7 +502,7 @@ this.uiSymbolButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(115)))), ((int)(((byte)(115))))); this.uiSymbolButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.uiSymbolButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.uiSymbolButton7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton7.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton7.Location = new System.Drawing.Point(258, 403); this.uiSymbolButton7.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton7.Name = "uiSymbolButton7"; @@ -517,7 +517,7 @@ this.uiSymbolButton7.Symbol = 61532; this.uiSymbolButton7.TabIndex = 64; this.uiSymbolButton7.Text = "Error"; - this.uiSymbolButton7.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton7.Click += new System.EventHandler(this.uiSymbolButton7_Click); // // uiSymbolButton8 @@ -528,7 +528,7 @@ this.uiSymbolButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(175)))), ((int)(((byte)(83))))); this.uiSymbolButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); this.uiSymbolButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(124)))), ((int)(((byte)(32))))); - this.uiSymbolButton8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton8.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton8.Location = new System.Drawing.Point(144, 403); this.uiSymbolButton8.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton8.Name = "uiSymbolButton8"; @@ -543,7 +543,7 @@ this.uiSymbolButton8.Symbol = 61553; this.uiSymbolButton8.TabIndex = 63; this.uiSymbolButton8.Text = "Warn"; - this.uiSymbolButton8.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton8.Click += new System.EventHandler(this.uiSymbolButton8_Click); // // uiSymbolButton9 @@ -554,7 +554,7 @@ this.uiSymbolButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(203)))), ((int)(((byte)(83))))); this.uiSymbolButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); this.uiSymbolButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(152)))), ((int)(((byte)(32))))); - this.uiSymbolButton9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton9.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton9.Location = new System.Drawing.Point(30, 403); this.uiSymbolButton9.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton9.Name = "uiSymbolButton9"; @@ -569,12 +569,12 @@ this.uiSymbolButton9.Symbol = 61528; this.uiSymbolButton9.TabIndex = 62; this.uiSymbolButton9.Text = "Success"; - this.uiSymbolButton9.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton9.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton9.Click += new System.EventHandler(this.uiSymbolButton9_Click); // // uiLine8 // - this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine8.Font = new System.Drawing.Font("宋体", 12F); this.uiLine8.Location = new System.Drawing.Point(372, 371); this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine8.Name = "uiLine8"; @@ -586,7 +586,7 @@ // uiSymbolButton3 // this.uiSymbolButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton3.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton3.Location = new System.Drawing.Point(486, 403); this.uiSymbolButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton3.Name = "uiSymbolButton3"; @@ -595,13 +595,13 @@ this.uiSymbolButton3.Symbol = 62144; this.uiSymbolButton3.TabIndex = 68; this.uiSymbolButton3.Text = "Login"; - this.uiSymbolButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton3.Click += new System.EventHandler(this.uiSymbolButton3_Click); // // uiSymbolButton10 // this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton10.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton10.Location = new System.Drawing.Point(372, 403); this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton10.Name = "uiSymbolButton10"; @@ -610,13 +610,13 @@ this.uiSymbolButton10.Symbol = 61447; this.uiSymbolButton10.TabIndex = 67; this.uiSymbolButton10.Text = "Login"; - this.uiSymbolButton10.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton10.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton10.Click += new System.EventHandler(this.uiSymbolButton10_Click); // // uiSymbolButton11 // this.uiSymbolButton11.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton11.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton11.Location = new System.Drawing.Point(201, 245); this.uiSymbolButton11.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton11.Name = "uiSymbolButton11"; @@ -625,12 +625,12 @@ this.uiSymbolButton11.Symbol = 61806; this.uiSymbolButton11.TabIndex = 70; this.uiSymbolButton11.Text = "等待提示框"; - this.uiSymbolButton11.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton11.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton11.Click += new System.EventHandler(this.uiSymbolButton11_Click); // // uiLine9 // - this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine9.Font = new System.Drawing.Font("宋体", 12F); this.uiLine9.Location = new System.Drawing.Point(201, 213); this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine9.Name = "uiLine9"; @@ -641,7 +641,7 @@ // // uiLine10 // - this.uiLine10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine10.Font = new System.Drawing.Font("宋体", 12F); this.uiLine10.Location = new System.Drawing.Point(372, 450); this.uiLine10.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine10.Name = "uiLine10"; @@ -653,7 +653,7 @@ // uiSymbolButton13 // this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton13.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton13.Location = new System.Drawing.Point(372, 482); this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton13.Name = "uiSymbolButton13"; @@ -662,12 +662,12 @@ this.uiSymbolButton13.Symbol = 61717; this.uiSymbolButton13.TabIndex = 72; this.uiSymbolButton13.Text = "选择文件夹"; - this.uiSymbolButton13.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton13.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton13.Click += new System.EventHandler(this.uiSymbolButton13_Click); // // uiLine11 // - this.uiLine11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine11.Font = new System.Drawing.Font("宋体", 12F); this.uiLine11.Location = new System.Drawing.Point(372, 213); this.uiLine11.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine11.Name = "uiLine11"; @@ -679,7 +679,7 @@ // uiSymbolButton12 // this.uiSymbolButton12.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton12.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton12.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton12.Location = new System.Drawing.Point(372, 245); this.uiSymbolButton12.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton12.Name = "uiSymbolButton12"; @@ -688,7 +688,7 @@ this.uiSymbolButton12.Symbol = 61806; this.uiSymbolButton12.TabIndex = 77; this.uiSymbolButton12.Text = "等待提示框"; - this.uiSymbolButton12.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton12.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton12.Click += new System.EventHandler(this.uiSymbolButton12_Click); // // FDialogs diff --git a/SunnyUI.Demo/Forms/FEdit.Designer.cs b/SunnyUI.Demo/Forms/FEdit.Designer.cs index 7f0226e8..657925bf 100644 --- a/SunnyUI.Demo/Forms/FEdit.Designer.cs +++ b/SunnyUI.Demo/Forms/FEdit.Designer.cs @@ -54,7 +54,7 @@ this.edtName.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtName.EnterAsTab = true; this.edtName.FillColor = System.Drawing.Color.White; - this.edtName.Font = new System.Drawing.Font("微软雅黑", 12F); + this.edtName.Font = new System.Drawing.Font("宋体", 12F); this.edtName.Location = new System.Drawing.Point(150, 55); this.edtName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtName.Maximum = 2147483647D; @@ -67,7 +67,7 @@ // uiLabel2 // this.uiLabel2.AutoSize = true; - this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel2.Location = new System.Drawing.Point(56, 59); this.uiLabel2.Name = "uiLabel2"; this.uiLabel2.Size = new System.Drawing.Size(42, 21); @@ -78,7 +78,7 @@ // uiLabel3 // this.uiLabel3.AutoSize = true; - this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel3.Location = new System.Drawing.Point(56, 99); this.uiLabel3.Name = "uiLabel3"; this.uiLabel3.Size = new System.Drawing.Size(42, 21); @@ -90,7 +90,7 @@ // this.rbMale.Checked = true; this.rbMale.Cursor = System.Windows.Forms.Cursors.Hand; - this.rbMale.Font = new System.Drawing.Font("微软雅黑", 12F); + this.rbMale.Font = new System.Drawing.Font("宋体", 12F); this.rbMale.Location = new System.Drawing.Point(150, 95); this.rbMale.Name = "rbMale"; this.rbMale.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); @@ -101,7 +101,7 @@ // rbFemale // this.rbFemale.Cursor = System.Windows.Forms.Cursors.Hand; - this.rbFemale.Font = new System.Drawing.Font("微软雅黑", 12F); + this.rbFemale.Font = new System.Drawing.Font("宋体", 12F); this.rbFemale.Location = new System.Drawing.Point(238, 95); this.rbFemale.Name = "rbFemale"; this.rbFemale.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); @@ -113,7 +113,7 @@ // this.edtAge.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtAge.FillColor = System.Drawing.Color.White; - this.edtAge.Font = new System.Drawing.Font("微软雅黑", 12F); + this.edtAge.Font = new System.Drawing.Font("宋体", 12F); this.edtAge.Location = new System.Drawing.Point(150, 135); this.edtAge.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtAge.Maximum = 2147483647D; @@ -128,7 +128,7 @@ // uiLabel4 // this.uiLabel4.AutoSize = true; - this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel4.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel4.Location = new System.Drawing.Point(56, 139); this.uiLabel4.Name = "uiLabel4"; this.uiLabel4.Size = new System.Drawing.Size(42, 21); @@ -140,7 +140,7 @@ // this.cbDepartment.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.cbDepartment.FillColor = System.Drawing.Color.White; - this.cbDepartment.Font = new System.Drawing.Font("微软雅黑", 12F); + this.cbDepartment.Font = new System.Drawing.Font("宋体", 12F); this.cbDepartment.Items.AddRange(new object[] { "研发部", "采购部", @@ -162,7 +162,7 @@ // uiLabel5 // this.uiLabel5.AutoSize = true; - this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel5.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel5.Location = new System.Drawing.Point(56, 179); this.uiLabel5.Name = "uiLabel5"; this.uiLabel5.Size = new System.Drawing.Size(42, 21); @@ -173,7 +173,7 @@ // uiLabel6 // this.uiLabel6.AutoSize = true; - this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel6.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel6.Location = new System.Drawing.Point(56, 219); this.uiLabel6.Name = "uiLabel6"; this.uiLabel6.Size = new System.Drawing.Size(42, 21); @@ -185,7 +185,7 @@ // this.edtDate.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList; this.edtDate.FillColor = System.Drawing.Color.White; - this.edtDate.Font = new System.Drawing.Font("微软雅黑", 12F); + this.edtDate.Font = new System.Drawing.Font("宋体", 12F); this.edtDate.Location = new System.Drawing.Point(150, 215); this.edtDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtDate.MaxLength = 10; @@ -204,7 +204,7 @@ // this.edtAddress.Cursor = System.Windows.Forms.Cursors.IBeam; this.edtAddress.FillColor = System.Drawing.Color.White; - this.edtAddress.Font = new System.Drawing.Font("微软雅黑", 12F); + this.edtAddress.Font = new System.Drawing.Font("宋体", 12F); this.edtAddress.Location = new System.Drawing.Point(150, 254); this.edtAddress.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.edtAddress.Maximum = 2147483647D; @@ -217,7 +217,7 @@ // uiLabel1 // this.uiLabel1.AutoSize = true; - this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLabel1.Location = new System.Drawing.Point(56, 258); this.uiLabel1.Name = "uiLabel1"; this.uiLabel1.Size = new System.Drawing.Size(42, 21); diff --git a/SunnyUI.Demo/Forms/FEditor.Designer.cs b/SunnyUI.Demo/Forms/FEditor.Designer.cs index 2063901f..0071c517 100644 --- a/SunnyUI.Demo/Forms/FEditor.Designer.cs +++ b/SunnyUI.Demo/Forms/FEditor.Designer.cs @@ -37,7 +37,7 @@ // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -49,7 +49,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F); this.uiSymbolButton1.Location = new System.Drawing.Point(30, 184); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -63,7 +63,7 @@ // btnAdd // this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -76,7 +76,7 @@ // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -88,7 +88,7 @@ // btnEdit // this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; diff --git a/SunnyUI.Demo/Forms/FFrames.Designer.cs b/SunnyUI.Demo/Forms/FFrames.Designer.cs index e98bfa10..10a165b4 100644 --- a/SunnyUI.Demo/Forms/FFrames.Designer.cs +++ b/SunnyUI.Demo/Forms/FFrames.Designer.cs @@ -50,7 +50,7 @@ // btnAM // this.btnAM.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAM.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 234); @@ -65,7 +65,7 @@ // btnAHMF // this.btnAHMF.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAHMF.Font = new System.Drawing.Font("微软雅黑", 12F); + 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(398, 234); @@ -80,7 +80,7 @@ // btnHAMF // this.btnHAMF.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnHAMF.Font = new System.Drawing.Font("微软雅黑", 12F); + 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(582, 90); @@ -95,7 +95,7 @@ // btnHAM // this.btnHAM.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnHAM.Font = new System.Drawing.Font("微软雅黑", 12F); + 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(398, 90); @@ -110,7 +110,7 @@ // btnAHM // this.btnAHM.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAHM.Font = new System.Drawing.Font("微软雅黑", 12F); + 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(214, 234); @@ -125,7 +125,7 @@ // btnHMF // this.btnHMF.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnHMF.Font = new System.Drawing.Font("微软雅黑", 12F); + 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(214, 90); @@ -140,7 +140,7 @@ // btnHM // this.btnHM.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnHM.Font = new System.Drawing.Font("微软雅黑", 12F); + 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, 90); @@ -155,7 +155,7 @@ // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.LineDashStyle = Sunny.UI.UILineDashStyle.None; this.uiLine1.Location = new System.Drawing.Point(30, 55); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); @@ -167,7 +167,7 @@ // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.LineDashStyle = Sunny.UI.UILineDashStyle.None; this.uiLine2.Location = new System.Drawing.Point(30, 379); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); @@ -180,7 +180,7 @@ // uiSymbolButton1 // this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton1.Location = new System.Drawing.Point(30, 417); this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiSymbolButton1.Name = "uiSymbolButton1"; @@ -188,7 +188,7 @@ this.uiSymbolButton1.Symbol = 110; this.uiSymbolButton1.SymbolSize = 120; this.uiSymbolButton1.TabIndex = 80; - this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiSymbolButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click); // // FFrames diff --git a/SunnyUI.Demo/Forms/Frames/FCustomMain.Designer.cs b/SunnyUI.Demo/Forms/Frames/FCustomMain.Designer.cs index 24d50f29..573be38a 100644 --- a/SunnyUI.Demo/Forms/Frames/FCustomMain.Designer.cs +++ b/SunnyUI.Demo/Forms/Frames/FCustomMain.Designer.cs @@ -45,7 +45,7 @@ this.uiPanel1.Controls.Add(this.uiLogo1); this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.uiPanel1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiPanel1.Location = new System.Drawing.Point(1, 35); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -61,47 +61,47 @@ // this.uiButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton3.Location = new System.Drawing.Point(771, 71); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; this.uiButton3.Size = new System.Drawing.Size(100, 35); this.uiButton3.TabIndex = 4; this.uiButton3.Text = "uiButton3"; - this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton3.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click); // // uiButton2 // this.uiButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton2.Location = new System.Drawing.Point(654, 71); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; this.uiButton2.Size = new System.Drawing.Size(100, 35); this.uiButton2.TabIndex = 3; this.uiButton2.Text = "uiButton2"; - this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton2.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click); // // uiButton1 // this.uiButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.Location = new System.Drawing.Point(537, 71); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.Size = new System.Drawing.Size(100, 35); this.uiButton1.TabIndex = 2; this.uiButton1.Text = "uiButton1"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(5, 16); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); @@ -114,7 +114,7 @@ // this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTabControl1.ItemSize = new System.Drawing.Size(150, 40); this.uiTabControl1.Location = new System.Drawing.Point(1, 147); this.uiTabControl1.MainPage = ""; @@ -124,7 +124,7 @@ this.uiTabControl1.Size = new System.Drawing.Size(905, 419); this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.uiTabControl1.TabIndex = 1; - this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTabControl1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // FCustomMain // diff --git a/SunnyUI.Demo/Forms/Frames/FHeaderAsideMain.Designer.cs b/SunnyUI.Demo/Forms/Frames/FHeaderAsideMain.Designer.cs index 49cf0beb..663f55e2 100644 --- a/SunnyUI.Demo/Forms/Frames/FHeaderAsideMain.Designer.cs +++ b/SunnyUI.Demo/Forms/Frames/FHeaderAsideMain.Designer.cs @@ -46,7 +46,7 @@ // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(15, 15); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); diff --git a/SunnyUI.Demo/Forms/Frames/FHeaderAsideMainFooter.Designer.cs b/SunnyUI.Demo/Forms/Frames/FHeaderAsideMainFooter.Designer.cs index 6a6121d6..406fbec4 100644 --- a/SunnyUI.Demo/Forms/Frames/FHeaderAsideMainFooter.Designer.cs +++ b/SunnyUI.Demo/Forms/Frames/FHeaderAsideMainFooter.Designer.cs @@ -54,7 +54,7 @@ // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(15, 15); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); diff --git a/SunnyUI.Demo/Forms/Frames/FHeaderMain.Designer.cs b/SunnyUI.Demo/Forms/Frames/FHeaderMain.Designer.cs index bba6ebb3..83c816b1 100644 --- a/SunnyUI.Demo/Forms/Frames/FHeaderMain.Designer.cs +++ b/SunnyUI.Demo/Forms/Frames/FHeaderMain.Designer.cs @@ -53,7 +53,7 @@ // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(15, 15); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); diff --git a/SunnyUI.Demo/Forms/Frames/FHeaderMainFooter.Designer.cs b/SunnyUI.Demo/Forms/Frames/FHeaderMainFooter.Designer.cs index 040f300e..181e2d08 100644 --- a/SunnyUI.Demo/Forms/Frames/FHeaderMainFooter.Designer.cs +++ b/SunnyUI.Demo/Forms/Frames/FHeaderMainFooter.Designer.cs @@ -49,7 +49,7 @@ // // uiLogo1 // - this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLogo1.Font = new System.Drawing.Font("宋体", 12F); this.uiLogo1.Location = new System.Drawing.Point(15, 15); this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80); this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80); diff --git a/SunnyUI.Demo/Forms/Pages/FPage1.Designer.cs b/SunnyUI.Demo/Forms/Pages/FPage1.Designer.cs index 0e813e72..957260c6 100644 --- a/SunnyUI.Demo/Forms/Pages/FPage1.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FPage1.Designer.cs @@ -34,7 +34,7 @@ // 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.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.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Forms/Pages/FPage2.Designer.cs b/SunnyUI.Demo/Forms/Pages/FPage2.Designer.cs index d9dec6ce..183a3a3b 100644 --- a/SunnyUI.Demo/Forms/Pages/FPage2.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FPage2.Designer.cs @@ -34,7 +34,7 @@ // 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.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.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Forms/Pages/FPage3.Designer.cs b/SunnyUI.Demo/Forms/Pages/FPage3.Designer.cs index 0debc7c3..c9155af3 100644 --- a/SunnyUI.Demo/Forms/Pages/FPage3.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FPage3.Designer.cs @@ -34,7 +34,7 @@ // 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.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.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Forms/Pages/FTitlePage1.Designer.cs b/SunnyUI.Demo/Forms/Pages/FTitlePage1.Designer.cs index 2247192c..6f526b92 100644 --- a/SunnyUI.Demo/Forms/Pages/FTitlePage1.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FTitlePage1.Designer.cs @@ -34,7 +34,7 @@ // 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.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, 35); this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Forms/Pages/FTitlePage2.Designer.cs b/SunnyUI.Demo/Forms/Pages/FTitlePage2.Designer.cs index e9dcb250..346cd584 100644 --- a/SunnyUI.Demo/Forms/Pages/FTitlePage2.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FTitlePage2.Designer.cs @@ -34,7 +34,7 @@ // 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.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, 35); this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Forms/Pages/FTitlePage3.Designer.cs b/SunnyUI.Demo/Forms/Pages/FTitlePage3.Designer.cs index 6fa3ee97..370090d0 100644 --- a/SunnyUI.Demo/Forms/Pages/FTitlePage3.Designer.cs +++ b/SunnyUI.Demo/Forms/Pages/FTitlePage3.Designer.cs @@ -34,7 +34,7 @@ // 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.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, 35); this.uiSymbolLabel1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/Industrial/FLed.Designer.cs b/SunnyUI.Demo/Industrial/FLed.Designer.cs index a6354fca..509e2ac2 100644 --- a/SunnyUI.Demo/Industrial/FLed.Designer.cs +++ b/SunnyUI.Demo/Industrial/FLed.Designer.cs @@ -58,7 +58,7 @@ namespace Sunny.UI.Demo // // uiBattery6 // - this.uiBattery6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery6.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery6.Location = new System.Drawing.Point(301, 269); this.uiBattery6.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery6.Name = "uiBattery6"; @@ -68,7 +68,7 @@ namespace Sunny.UI.Demo // // uiBattery5 // - this.uiBattery5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery5.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery5.Location = new System.Drawing.Point(246, 269); this.uiBattery5.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery5.Name = "uiBattery5"; @@ -79,7 +79,7 @@ namespace Sunny.UI.Demo // // uiBattery4 // - this.uiBattery4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery4.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery4.Location = new System.Drawing.Point(192, 269); this.uiBattery4.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery4.Name = "uiBattery4"; @@ -90,7 +90,7 @@ namespace Sunny.UI.Demo // // uiBattery3 // - this.uiBattery3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery3.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery3.Location = new System.Drawing.Point(138, 269); this.uiBattery3.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery3.Name = "uiBattery3"; @@ -101,7 +101,7 @@ namespace Sunny.UI.Demo // // uiBattery2 // - this.uiBattery2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery2.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery2.Location = new System.Drawing.Point(84, 269); this.uiBattery2.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery2.Name = "uiBattery2"; @@ -112,7 +112,7 @@ namespace Sunny.UI.Demo // // uiBattery1 // - this.uiBattery1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiBattery1.Font = new System.Drawing.Font("宋体", 12F); this.uiBattery1.Location = new System.Drawing.Point(30, 269); this.uiBattery1.MinimumSize = new System.Drawing.Size(1, 1); this.uiBattery1.Name = "uiBattery1"; @@ -122,7 +122,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 233); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -133,7 +133,7 @@ namespace Sunny.UI.Demo // // uiLine7 // - this.uiLine7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine7.Font = new System.Drawing.Font("宋体", 12F); this.uiLine7.Location = new System.Drawing.Point(381, 55); this.uiLine7.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine7.Name = "uiLine7"; @@ -144,7 +144,7 @@ namespace Sunny.UI.Demo // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -180,7 +180,7 @@ namespace Sunny.UI.Demo // // uiSignal6 // - this.uiSignal6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal6.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal6.Location = new System.Drawing.Point(591, 259); this.uiSignal6.MinimumSize = new System.Drawing.Size(1, 1); this.uiSignal6.Name = "uiSignal6"; @@ -190,7 +190,7 @@ namespace Sunny.UI.Demo // // uiSignal5 // - this.uiSignal5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal5.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal5.Level = 4; this.uiSignal5.Location = new System.Drawing.Point(550, 259); this.uiSignal5.MinimumSize = new System.Drawing.Size(1, 1); @@ -201,7 +201,7 @@ namespace Sunny.UI.Demo // // uiSignal4 // - this.uiSignal4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal4.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal4.Level = 3; this.uiSignal4.Location = new System.Drawing.Point(509, 259); this.uiSignal4.MinimumSize = new System.Drawing.Size(1, 1); @@ -212,7 +212,7 @@ namespace Sunny.UI.Demo // // uiSignal3 // - this.uiSignal3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal3.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal3.Level = 2; this.uiSignal3.Location = new System.Drawing.Point(468, 259); this.uiSignal3.MinimumSize = new System.Drawing.Size(1, 1); @@ -223,7 +223,7 @@ namespace Sunny.UI.Demo // // uiSignal2 // - this.uiSignal2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal2.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal2.Level = 1; this.uiSignal2.Location = new System.Drawing.Point(427, 259); this.uiSignal2.MinimumSize = new System.Drawing.Size(1, 1); @@ -234,7 +234,7 @@ namespace Sunny.UI.Demo // // uiLine3 // - this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine3.Font = new System.Drawing.Font("宋体", 12F); this.uiLine3.Location = new System.Drawing.Point(381, 233); this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine3.Name = "uiLine3"; @@ -245,7 +245,7 @@ namespace Sunny.UI.Demo // // uiSignal1 // - this.uiSignal1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiSignal1.Font = new System.Drawing.Font("宋体", 12F); this.uiSignal1.Level = 0; this.uiSignal1.Location = new System.Drawing.Point(386, 259); this.uiSignal1.MinimumSize = new System.Drawing.Size(1, 1); @@ -257,7 +257,7 @@ namespace Sunny.UI.Demo // uiLedLabel4 // this.uiLedLabel4.BackColor = System.Drawing.Color.Black; - this.uiLedLabel4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLedLabel4.Font = new System.Drawing.Font("宋体", 12F); this.uiLedLabel4.ForeColor = System.Drawing.Color.Lime; this.uiLedLabel4.IntervalOn = 3; this.uiLedLabel4.Location = new System.Drawing.Point(517, 175); @@ -271,7 +271,7 @@ namespace Sunny.UI.Demo // // uiLedLabel3 // - this.uiLedLabel3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLedLabel3.Font = new System.Drawing.Font("宋体", 12F); this.uiLedLabel3.IntervalOn = 3; this.uiLedLabel3.Location = new System.Drawing.Point(336, 175); this.uiLedLabel3.MinimumSize = new System.Drawing.Size(1, 1); @@ -283,7 +283,7 @@ namespace Sunny.UI.Demo // // uiLedLabel2 // - this.uiLedLabel2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLedLabel2.Font = new System.Drawing.Font("宋体", 12F); this.uiLedLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiLedLabel2.Location = new System.Drawing.Point(189, 175); this.uiLedLabel2.MinimumSize = new System.Drawing.Size(1, 1); @@ -297,7 +297,7 @@ namespace Sunny.UI.Demo // // uiLedLabel1 // - this.uiLedLabel1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLedLabel1.Font = new System.Drawing.Font("宋体", 12F); this.uiLedLabel1.Location = new System.Drawing.Point(42, 175); this.uiLedLabel1.MinimumSize = new System.Drawing.Size(1, 1); this.uiLedLabel1.Name = "uiLedLabel1"; @@ -308,7 +308,7 @@ namespace Sunny.UI.Demo // // uiLedLabel // - this.uiLedLabel.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLedLabel.Font = new System.Drawing.Font("宋体", 12F); this.uiLedLabel.Location = new System.Drawing.Point(30, 139); this.uiLedLabel.MinimumSize = new System.Drawing.Size(16, 16); this.uiLedLabel.Name = "uiLedLabel"; diff --git a/SunnyUI.Demo/Industrial/FLight.Designer.cs b/SunnyUI.Demo/Industrial/FLight.Designer.cs index e2a2d19e..2a09bcae 100644 --- a/SunnyUI.Demo/Industrial/FLight.Designer.cs +++ b/SunnyUI.Demo/Industrial/FLight.Designer.cs @@ -78,7 +78,7 @@ namespace Sunny.UI.Demo // // uiLine8 // - this.uiLine8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine8.Font = new System.Drawing.Font("宋体", 12F); this.uiLine8.Location = new System.Drawing.Point(381, 55); this.uiLine8.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine8.Name = "uiLine8"; @@ -98,7 +98,7 @@ namespace Sunny.UI.Demo // uiLight4 // this.uiLight4.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.uiLight4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight4.Font = new System.Drawing.Font("宋体", 12F); this.uiLight4.Location = new System.Drawing.Point(72, 87); this.uiLight4.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight4.Name = "uiLight4"; @@ -115,7 +115,7 @@ namespace Sunny.UI.Demo // uiLight3 // this.uiLight3.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiLight3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight3.Font = new System.Drawing.Font("宋体", 12F); this.uiLight3.Location = new System.Drawing.Point(156, 87); this.uiLight3.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight3.Name = "uiLight3"; @@ -130,7 +130,7 @@ namespace Sunny.UI.Demo // uiLight2 // this.uiLight2.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiLight2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight2.Font = new System.Drawing.Font("宋体", 12F); this.uiLight2.Location = new System.Drawing.Point(114, 87); this.uiLight2.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight2.Name = "uiLight2"; @@ -144,7 +144,7 @@ namespace Sunny.UI.Demo // // uiLine2 // - this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine2.Font = new System.Drawing.Font("宋体", 12F); this.uiLine2.Location = new System.Drawing.Point(30, 55); this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine2.Name = "uiLine2"; @@ -156,7 +156,7 @@ namespace Sunny.UI.Demo // uiLight1 // this.uiLight1.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiLight1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight1.Font = new System.Drawing.Font("宋体", 12F); this.uiLight1.Location = new System.Drawing.Point(30, 87); this.uiLight1.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight1.Name = "uiLight1"; @@ -170,7 +170,7 @@ namespace Sunny.UI.Demo // uiToolTip1 // this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54))))); - this.uiToolTip1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiToolTip1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.uiToolTip1.OwnerDraw = true; // @@ -195,7 +195,7 @@ namespace Sunny.UI.Demo // uiLight5 // this.uiLight5.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.uiLight5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight5.Font = new System.Drawing.Font("宋体", 12F); this.uiLight5.Location = new System.Drawing.Point(114, 146); this.uiLight5.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight5.Name = "uiLight5"; @@ -211,7 +211,7 @@ namespace Sunny.UI.Demo // uiLight6 // this.uiLight6.CenterColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(248)))), ((int)(((byte)(232))))); - this.uiLight6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLight6.Font = new System.Drawing.Font("宋体", 12F); this.uiLight6.Location = new System.Drawing.Point(30, 146); this.uiLight6.MinimumSize = new System.Drawing.Size(1, 1); this.uiLight6.Name = "uiLight6"; diff --git a/SunnyUI.Demo/Industrial/FMeter.Designer.cs b/SunnyUI.Demo/Industrial/FMeter.Designer.cs index a5df7197..5ffc25b4 100644 --- a/SunnyUI.Demo/Industrial/FMeter.Designer.cs +++ b/SunnyUI.Demo/Industrial/FMeter.Designer.cs @@ -53,7 +53,7 @@ namespace Sunny.UI.Demo this.uiPanel1.Controls.Add(this.uiRoundMeter1); this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.uiPanel1.FillColor2 = System.Drawing.Color.CornflowerBlue; - this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiPanel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiPanel1.Location = new System.Drawing.Point(0, 35); this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); @@ -71,7 +71,7 @@ namespace Sunny.UI.Demo // uiAnalogMeter1 // this.uiAnalogMeter1.BackColor = System.Drawing.Color.Transparent; - this.uiAnalogMeter1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiAnalogMeter1.Font = new System.Drawing.Font("宋体", 12F); this.uiAnalogMeter1.Location = new System.Drawing.Point(381, 61); this.uiAnalogMeter1.MaxValue = 100D; this.uiAnalogMeter1.MinimumSize = new System.Drawing.Size(1, 1); @@ -88,7 +88,7 @@ namespace Sunny.UI.Demo // uiLine9 // this.uiLine9.BackColor = System.Drawing.Color.Transparent; - this.uiLine9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine9.Font = new System.Drawing.Font("宋体", 12F); this.uiLine9.Location = new System.Drawing.Point(381, 20); this.uiLine9.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine9.Name = "uiLine9"; @@ -105,7 +105,7 @@ namespace Sunny.UI.Demo this.uiRoundMeter2.BackColor = System.Drawing.Color.Transparent; this.uiRoundMeter2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter2.BackgroundImage"))); this.uiRoundMeter2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.uiRoundMeter2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundMeter2.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundMeter2.Location = new System.Drawing.Point(186, 56); this.uiRoundMeter2.MeterType = Sunny.UI.UIRoundMeter.TMeterType.Wind; this.uiRoundMeter2.MinimumSize = new System.Drawing.Size(1, 1); @@ -119,7 +119,7 @@ namespace Sunny.UI.Demo // uiLine6 // this.uiLine6.BackColor = System.Drawing.Color.Transparent; - this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine6.Font = new System.Drawing.Font("宋体", 12F); this.uiLine6.Location = new System.Drawing.Point(30, 20); this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine6.Name = "uiLine6"; @@ -136,7 +136,7 @@ namespace Sunny.UI.Demo this.uiRoundMeter1.BackColor = System.Drawing.Color.Transparent; this.uiRoundMeter1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("uiRoundMeter1.BackgroundImage"))); this.uiRoundMeter1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.uiRoundMeter1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiRoundMeter1.Font = new System.Drawing.Font("宋体", 12F); this.uiRoundMeter1.Location = new System.Drawing.Point(30, 56); this.uiRoundMeter1.MinimumSize = new System.Drawing.Size(1, 1); this.uiRoundMeter1.Name = "uiRoundMeter1"; @@ -149,7 +149,7 @@ namespace Sunny.UI.Demo // uiLine1 // this.uiLine1.BackColor = System.Drawing.Color.Transparent; - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiLine1.Font = new System.Drawing.Font("宋体", 12F); this.uiLine1.Location = new System.Drawing.Point(30, 276); this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16); this.uiLine1.Name = "uiLine1"; diff --git a/SunnyUI.Demo/Industrial/FPipe.designer.cs b/SunnyUI.Demo/Industrial/FPipe.designer.cs index 49b80115..50c7ea12 100644 --- a/SunnyUI.Demo/Industrial/FPipe.designer.cs +++ b/SunnyUI.Demo/Industrial/FPipe.designer.cs @@ -71,7 +71,7 @@ namespace Sunny.UI.Demo this.uiPipe3.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe3.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.uiPipe3.FlowSpeed = 10; - this.uiPipe3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe3.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe3.Location = new System.Drawing.Point(196, 194); this.uiPipe3.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe3.Name = "uiPipe3"; @@ -90,7 +90,7 @@ namespace Sunny.UI.Demo this.uiPipe4.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe4.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.uiPipe4.FlowSpeed = 10; - this.uiPipe4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe4.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe4.Location = new System.Drawing.Point(34, 63); this.uiPipe4.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe4.Name = "uiPipe4"; @@ -108,7 +108,7 @@ namespace Sunny.UI.Demo this.uiPipe2.BackColor = System.Drawing.Color.Transparent; this.uiPipe2.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.uiPipe2.FlowSpeed = 10; - this.uiPipe2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe2.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe2.Location = new System.Drawing.Point(48, 194); this.uiPipe2.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe2.Name = "uiPipe2"; @@ -127,7 +127,7 @@ namespace Sunny.UI.Demo this.uiPipe7.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe7.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe7.FlowSpeed = 10; - this.uiPipe7.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe7.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe7.Location = new System.Drawing.Point(451, 194); this.uiPipe7.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe7.Name = "uiPipe7"; @@ -146,7 +146,7 @@ namespace Sunny.UI.Demo this.uiPipe8.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe8.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe8.FlowSpeed = 10; - this.uiPipe8.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe8.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe8.Location = new System.Drawing.Point(289, 175); this.uiPipe8.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe8.Name = "uiPipe8"; @@ -164,7 +164,7 @@ namespace Sunny.UI.Demo this.uiPipe9.BackColor = System.Drawing.Color.Transparent; this.uiPipe9.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe9.FlowSpeed = 10; - this.uiPipe9.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe9.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe9.Location = new System.Drawing.Point(303, 194); this.uiPipe9.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe9.Name = "uiPipe9"; @@ -183,7 +183,7 @@ namespace Sunny.UI.Demo this.uiPipe10.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe10.FlowDirection = Sunny.UI.UIPipe.UIFlowDirection.Reverse; this.uiPipe10.FlowSpeed = 10; - this.uiPipe10.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe10.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe10.Location = new System.Drawing.Point(78, 251); this.uiPipe10.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe10.Name = "uiPipe10"; @@ -202,7 +202,7 @@ namespace Sunny.UI.Demo this.uiPipe11.FlowColor = System.Drawing.Color.SkyBlue; this.uiPipe11.FlowDirection = Sunny.UI.UIPipe.UIFlowDirection.Reverse; this.uiPipe11.FlowSpeed = 10; - this.uiPipe11.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe11.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe11.Location = new System.Drawing.Point(109, 295); this.uiPipe11.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe11.Name = "uiPipe11"; @@ -221,7 +221,7 @@ namespace Sunny.UI.Demo this.uiPipe12.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe12.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe12.FlowSpeed = 10; - this.uiPipe12.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe12.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe12.Location = new System.Drawing.Point(63, 251); this.uiPipe12.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe12.Name = "uiPipe12"; @@ -240,7 +240,7 @@ namespace Sunny.UI.Demo this.uiPipe1.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe1.FlowColor = System.Drawing.Color.SkyBlue; this.uiPipe1.FlowSpeed = 10; - this.uiPipe1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe1.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe1.Location = new System.Drawing.Point(94, 295); this.uiPipe1.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe1.Name = "uiPipe1"; @@ -259,7 +259,7 @@ namespace Sunny.UI.Demo this.uiPipe5.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe5.FlowColor = System.Drawing.Color.SkyBlue; this.uiPipe5.FlowSpeed = 10; - this.uiPipe5.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe5.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe5.Location = new System.Drawing.Point(716, 175); this.uiPipe5.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe5.Name = "uiPipe5"; @@ -280,7 +280,7 @@ namespace Sunny.UI.Demo this.uiPipe6.FlowInterval = 16; this.uiPipe6.FlowSize = 28; this.uiPipe6.FlowSpeed = 12; - this.uiPipe6.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe6.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe6.Location = new System.Drawing.Point(63, 384); this.uiPipe6.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe6.Name = "uiPipe6"; @@ -301,7 +301,7 @@ namespace Sunny.UI.Demo this.uiPipe13.FlowInterval = 16; this.uiPipe13.FlowSize = 28; this.uiPipe13.FlowSpeed = 12; - this.uiPipe13.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe13.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe13.Location = new System.Drawing.Point(77, 483); this.uiPipe13.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe13.Name = "uiPipe13"; @@ -322,7 +322,7 @@ namespace Sunny.UI.Demo this.uiPipe14.FlowInterval = 16; this.uiPipe14.FlowSize = 28; this.uiPipe14.FlowSpeed = 12; - this.uiPipe14.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe14.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe14.Location = new System.Drawing.Point(77, 524); this.uiPipe14.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe14.Name = "uiPipe14"; @@ -345,7 +345,7 @@ namespace Sunny.UI.Demo this.uiPipe15.FlowInterval = 16; this.uiPipe15.FlowSize = 28; this.uiPipe15.FlowSpeed = 12; - this.uiPipe15.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe15.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe15.Location = new System.Drawing.Point(374, 384); this.uiPipe15.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe15.Name = "uiPipe15"; @@ -367,7 +367,7 @@ namespace Sunny.UI.Demo this.uiPipe16.FlowInterval = 16; this.uiPipe16.FlowSize = 28; this.uiPipe16.FlowSpeed = 12; - this.uiPipe16.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe16.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.uiPipe16.Location = new System.Drawing.Point(536, 384); this.uiPipe16.MinimumSize = new System.Drawing.Size(1, 1); @@ -389,7 +389,7 @@ namespace Sunny.UI.Demo this.uiPipe17.FlowInterval = 16; this.uiPipe17.FlowSize = 28; this.uiPipe17.FlowSpeed = 12; - this.uiPipe17.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe17.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.uiPipe17.Location = new System.Drawing.Point(551, 451); this.uiPipe17.MinimumSize = new System.Drawing.Size(1, 1); @@ -412,7 +412,7 @@ namespace Sunny.UI.Demo this.uiPipe18.FlowInterval = 16; this.uiPipe18.FlowSize = 28; this.uiPipe18.FlowSpeed = 12; - this.uiPipe18.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe18.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.uiPipe18.Location = new System.Drawing.Point(716, 451); this.uiPipe18.MinimumSize = new System.Drawing.Size(1, 1); @@ -429,7 +429,7 @@ namespace Sunny.UI.Demo // uiValve1 // this.uiValve1.Active = true; - this.uiValve1.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiValve1.Font = new System.Drawing.Font("宋体", 12F); this.uiValve1.Location = new System.Drawing.Point(255, 122); this.uiValve1.MinimumSize = new System.Drawing.Size(1, 1); this.uiValve1.Name = "uiValve1"; @@ -447,7 +447,7 @@ namespace Sunny.UI.Demo this.uiPipe19.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe19.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.uiPipe19.FlowSpeed = 10; - this.uiPipe19.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe19.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe19.Location = new System.Drawing.Point(289, 63); this.uiPipe19.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe19.Name = "uiPipe19"; @@ -463,7 +463,7 @@ namespace Sunny.UI.Demo // this.uiValve2.Active = true; this.uiValve2.Direction = Sunny.UI.UIValve.UIValveDirection.Right; - this.uiValve2.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiValve2.Font = new System.Drawing.Font("宋体", 12F); this.uiValve2.Location = new System.Drawing.Point(706, 122); this.uiValve2.MinimumSize = new System.Drawing.Size(1, 1); this.uiValve2.Name = "uiValve2"; @@ -477,7 +477,7 @@ namespace Sunny.UI.Demo // this.uiValve3.Active = true; this.uiValve3.Direction = Sunny.UI.UIValve.UIValveDirection.Top; - this.uiValve3.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiValve3.Font = new System.Drawing.Font("宋体", 12F); this.uiValve3.Location = new System.Drawing.Point(94, 160); this.uiValve3.MinimumSize = new System.Drawing.Size(1, 1); this.uiValve3.Name = "uiValve3"; @@ -492,7 +492,7 @@ namespace Sunny.UI.Demo // this.uiValve4.Active = true; this.uiValve4.Direction = Sunny.UI.UIValve.UIValveDirection.Bottom; - this.uiValve4.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiValve4.Font = new System.Drawing.Font("宋体", 12F); this.uiValve4.Location = new System.Drawing.Point(186, 514); this.uiValve4.MinimumSize = new System.Drawing.Size(1, 1); this.uiValve4.Name = "uiValve4"; @@ -510,7 +510,7 @@ namespace Sunny.UI.Demo this.uiPipe20.BackColor = System.Drawing.Color.Transparent; this.uiPipe20.FlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.uiPipe20.FlowSpeed = 10; - this.uiPipe20.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe20.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe20.Location = new System.Drawing.Point(124, 194); this.uiPipe20.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe20.Name = "uiPipe20"; @@ -529,7 +529,7 @@ namespace Sunny.UI.Demo this.uiPipe21.Direction = Sunny.UI.UILine.LineDirection.Vertical; this.uiPipe21.FlowColor = System.Drawing.Color.SkyBlue; this.uiPipe21.FlowSpeed = 10; - this.uiPipe21.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe21.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe21.Location = new System.Drawing.Point(716, 63); this.uiPipe21.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe21.Name = "uiPipe21"; @@ -549,7 +549,7 @@ namespace Sunny.UI.Demo this.uiPipe22.FlowInterval = 16; this.uiPipe22.FlowSize = 28; this.uiPipe22.FlowSpeed = 12; - this.uiPipe22.Font = new System.Drawing.Font("微软雅黑", 12F); + this.uiPipe22.Font = new System.Drawing.Font("宋体", 12F); this.uiPipe22.Location = new System.Drawing.Point(242, 524); this.uiPipe22.MinimumSize = new System.Drawing.Size(1, 1); this.uiPipe22.Name = "uiPipe22"; diff --git a/SunnyUI.Demo/Industrial/FSwitch.Designer.cs b/SunnyUI.Demo/Industrial/FSwitch.Designer.cs index 0e3a3b77..a1599fa8 100644 --- a/SunnyUI.Demo/Industrial/FSwitch.Designer.cs +++ b/SunnyUI.Demo/Industrial/FSwitch.Designer.cs @@ -35,7 +35,7 @@ // // uiLine1 // - this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F); + 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"; @@ -46,7 +46,7 @@ // // uiTurnSwitch1 // - this.uiTurnSwitch1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTurnSwitch1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTurnSwitch1.Location = new System.Drawing.Point(33, 96); this.uiTurnSwitch1.MinimumSize = new System.Drawing.Size(1, 1); this.uiTurnSwitch1.Name = "uiTurnSwitch1"; @@ -60,7 +60,7 @@ this.uiTurnSwitch2.ActiveAngle = 0; this.uiTurnSwitch2.BackInnerSize = 60; this.uiTurnSwitch2.BackSize = 80; - this.uiTurnSwitch2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTurnSwitch2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiTurnSwitch2.InActiveAngle = 90; this.uiTurnSwitch2.InActiveColor = System.Drawing.Color.Fuchsia; this.uiTurnSwitch2.Location = new System.Drawing.Point(216, 96); diff --git a/SunnyUI.Demo/SunnyUI.Demo.csproj b/SunnyUI.Demo/SunnyUI.Demo.csproj index 170bbbb3..e46da40b 100644 --- a/SunnyUI.Demo/SunnyUI.Demo.csproj +++ b/SunnyUI.Demo/SunnyUI.Demo.csproj @@ -41,11 +41,11 @@ app.manifest - - ..\packages\SunnyUI.3.4.2\lib\net472\SunnyUI.dll + + ..\packages\SunnyUI.3.5.0\lib\net472\SunnyUI.dll - - ..\packages\SunnyUI.Common.3.4.0\lib\net472\SunnyUI.Common.dll + + ..\packages\SunnyUI.Common.3.5.0\lib\net472\SunnyUI.Common.dll @@ -133,6 +133,12 @@ FMain.cs + + Form + + + FColorful.cs + Form @@ -369,12 +375,6 @@ - - Form - - - FColorful.cs - Form @@ -418,6 +418,9 @@ FMain.cs + + FColorful.cs + FCustomMain.cs @@ -545,9 +548,6 @@ Resources.resx True - - FColorful.cs - FCommon.cs diff --git a/SunnyUI.Demo/Units/FCommon.Designer.cs b/SunnyUI.Demo/Units/FCommon.Designer.cs index 75eef903..59c68216 100644 --- a/SunnyUI.Demo/Units/FCommon.Designer.cs +++ b/SunnyUI.Demo/Units/FCommon.Designer.cs @@ -36,19 +36,19 @@ namespace Sunny.UI.Demo // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; - this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.Location = new System.Drawing.Point(30, 60); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.Size = new System.Drawing.Size(100, 35); this.uiButton1.TabIndex = 0; this.uiButton1.Text = "Mapper"; - this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiButton1.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // // uiMiniPagination1 // - this.uiMiniPagination1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiMiniPagination1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiMiniPagination1.Location = new System.Drawing.Point(43, 149); this.uiMiniPagination1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiMiniPagination1.MinimumSize = new System.Drawing.Size(1, 1); diff --git a/SunnyUI.Demo/packages.config b/SunnyUI.Demo/packages.config index 682522f2..1443793c 100644 --- a/SunnyUI.Demo/packages.config +++ b/SunnyUI.Demo/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/SunnyUI/SunnyUI.csproj b/SunnyUI/SunnyUI.csproj index 1e163c88..af5826e0 100644 --- a/SunnyUI/SunnyUI.csproj +++ b/SunnyUI/SunnyUI.csproj @@ -9,7 +9,7 @@ SunnyUI.Net 是基于.Net Framework 4.0~4.8、.Net6、.Net7 框架的 C# WinForm 开源控件库、工具类库、扩展类库、多页面开发框架。 CopyRight © SunnyUI.Net 2012-2023 GPL-3.0-only - 3.4.2.0 + 3.5.0.0 ShenYonghua SunnyUI.Net SunnyUI @@ -20,7 +20,7 @@ False D:\MyDocuments\Key\SunnyUI.pfx False - True + False False README.md @@ -77,7 +77,7 @@ - +