更新了Symbol

This commit is contained in:
Sunny 2022-02-26 10:53:40 +08:00
parent b9edbe0524
commit a6b6da2629
7 changed files with 27 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@ -54,11 +54,12 @@ namespace Sunny.UI.Demo
//
// uiTextBox6
//
this.uiTextBox6.ButtonSymbol = 61761;
this.uiTextBox6.ButtonWidth = 100;
this.uiTextBox6.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox6.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox6.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox6.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
this.uiTextBox6.Location = new System.Drawing.Point(117, 167);
this.uiTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox6.Maximum = 2147483647D;
@ -66,6 +67,7 @@ namespace Sunny.UI.Demo
this.uiTextBox6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox6.Name = "uiTextBox6";
this.uiTextBox6.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox6.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox6.Size = new System.Drawing.Size(221, 29);
this.uiTextBox6.Symbol = 61461;
this.uiTextBox6.TabIndex = 2;
@ -74,11 +76,12 @@ namespace Sunny.UI.Demo
//
// uiTextBox5
//
this.uiTextBox5.ButtonSymbol = 61761;
this.uiTextBox5.ButtonWidth = 100;
this.uiTextBox5.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox5.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox5.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox5.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
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);
@ -87,6 +90,7 @@ namespace Sunny.UI.Demo
this.uiTextBox5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox5.Name = "uiTextBox5";
this.uiTextBox5.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox5.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox5.Size = new System.Drawing.Size(221, 29);
this.uiTextBox5.TabIndex = 1;
this.uiTextBox5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
@ -94,11 +98,12 @@ namespace Sunny.UI.Demo
//
// uiTextBox4
//
this.uiTextBox4.ButtonSymbol = 61761;
this.uiTextBox4.ButtonWidth = 100;
this.uiTextBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox4.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox4.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox4.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
this.uiTextBox4.Location = new System.Drawing.Point(30, 325);
this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox4.Maximum = 2147483647D;
@ -107,6 +112,7 @@ namespace Sunny.UI.Demo
this.uiTextBox4.Multiline = true;
this.uiTextBox4.Name = "uiTextBox4";
this.uiTextBox4.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox4.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox4.Size = new System.Drawing.Size(308, 226);
this.uiTextBox4.TabIndex = 5;
this.uiTextBox4.Text = "Blog: https://www.cnblogs.com/yhuse\r\nGitee: https://gitee.com/yhuse/SunnyUI\r\nGitH" +
@ -196,6 +202,7 @@ namespace Sunny.UI.Demo
//
// uiDoubleUpDown1
//
this.uiDoubleUpDown1.ButtonWidth = 29;
this.uiDoubleUpDown1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
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);
@ -221,12 +228,13 @@ namespace Sunny.UI.Demo
//
// uiTextBox3
//
this.uiTextBox3.ButtonSymbol = 61761;
this.uiTextBox3.ButtonWidth = 100;
this.uiTextBox3.CanEmpty = true;
this.uiTextBox3.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox3.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox3.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTextBox3.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
this.uiTextBox3.Location = new System.Drawing.Point(117, 245);
this.uiTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox3.Maximum = 2147483647D;
@ -234,6 +242,7 @@ namespace Sunny.UI.Demo
this.uiTextBox3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox3.Name = "uiTextBox3";
this.uiTextBox3.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox3.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox3.Size = new System.Drawing.Size(221, 29);
this.uiTextBox3.TabIndex = 4;
this.uiTextBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
@ -253,13 +262,14 @@ namespace Sunny.UI.Demo
//
// uiTextBox2
//
this.uiTextBox2.ButtonSymbol = 61761;
this.uiTextBox2.ButtonWidth = 100;
this.uiTextBox2.CanEmpty = true;
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox2.DoubleValue = 5D;
this.uiTextBox2.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox2.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiTextBox2.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
this.uiTextBox2.IntValue = 5;
this.uiTextBox2.Location = new System.Drawing.Point(117, 206);
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
@ -268,6 +278,7 @@ namespace Sunny.UI.Demo
this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTextBox2.Name = "uiTextBox2";
this.uiTextBox2.Padding = new System.Windows.Forms.Padding(5);
this.uiTextBox2.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox2.Size = new System.Drawing.Size(221, 29);
this.uiTextBox2.TabIndex = 3;
this.uiTextBox2.Text = "5";
@ -288,6 +299,7 @@ namespace Sunny.UI.Demo
//
// uiIntegerUpDown1
//
this.uiIntegerUpDown1.ButtonWidth = 29;
this.uiIntegerUpDown1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiIntegerUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.uiIntegerUpDown1.Location = new System.Drawing.Point(388, 89);
@ -310,16 +322,19 @@ namespace Sunny.UI.Demo
//
// uiTextBox1
//
this.uiTextBox1.ButtonSymbol = 61761;
this.uiTextBox1.ButtonSymbol = 361761;
this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiTextBox1.FillReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.uiTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTextBox1.ForeReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(103)))));
this.uiTextBox1.Location = new System.Drawing.Point(117, 89);
this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTextBox1.Maximum = 2147483647D;
this.uiTextBox1.Minimum = -2147483648D;
this.uiTextBox1.MinimumSize = new System.Drawing.Size(1, 16);
this.uiTextBox1.Name = "uiTextBox1";
this.uiTextBox1.RectReadOnlyColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(178)))), ((int)(((byte)(181)))));
this.uiTextBox1.ShowButton = true;
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
this.uiTextBox1.TabIndex = 52;

View File

@ -210,7 +210,6 @@ namespace Sunny.UI
//
this.edtFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edtFilter.ButtonSymbol = 61761;
this.edtFilter.Cursor = System.Windows.Forms.Cursors.IBeam;
this.edtFilter.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.edtFilter.Location = new System.Drawing.Point(17, 10);

View File

@ -644,7 +644,6 @@ namespace Sunny.UI
//
// edtPage
//
this.edtPage.ButtonSymbol = 61761;
this.edtPage.Cursor = System.Windows.Forms.Cursors.IBeam;
this.edtPage.DoubleValue = 10D;
this.edtPage.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));

View File

@ -91,7 +91,8 @@ namespace Sunny.UI
btn.Parent = this;
btn.Visible = false;
btn.Text = "";
btn.Symbol = 61761;
btn.Symbol = 361761;
btn.SymbolOffset = new Point(0, 1);
btn.Top = 1;
btn.Height = 25;
btn.Width = 29;
@ -1170,7 +1171,7 @@ namespace Sunny.UI
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Editor("Sunny.UI.UIImagePropertyEditor, " + AssemblyRefEx.SystemDesign, typeof(UITypeEditor))]
[DefaultValue(0)]
[DefaultValue(361761)]
[Description("按钮字体图标"), Category("SunnyUI")]
public int ButtonSymbol
{

View File

@ -102,7 +102,7 @@
this.Panel.MinimumSize = new System.Drawing.Size(1, 1);
this.Panel.Name = "Panel";
this.Panel.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.Panel.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
this.Panel.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
this.Panel.Size = new System.Drawing.Size(1034, 55);
this.Panel.TabIndex = 1;
@ -132,7 +132,7 @@
this.uiSymbolButton3.Name = "uiSymbolButton3";
this.uiSymbolButton3.ShowFocusColor = true;
this.uiSymbolButton3.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton3.Symbol = 61544;
this.uiSymbolButton3.Symbol = 361544;
this.uiSymbolButton3.TabIndex = 2;
this.uiSymbolButton3.Text = "删除";
//
@ -158,7 +158,7 @@
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.ShowFocusColor = true;
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 35);
this.uiSymbolButton1.Symbol = 61543;
this.uiSymbolButton1.Symbol = 361543;
this.uiSymbolButton1.TabIndex = 0;
this.uiSymbolButton1.Text = "增加";
//