* 重构主题配色代码
This commit is contained in:
parent
1ab06414ae
commit
519f5e9e09
Binary file not shown.
Binary file not shown.
133
SunnyUI.Demo/Controls/FButton.Designer.cs
generated
133
SunnyUI.Demo/Controls/FButton.Designer.cs
generated
@ -118,9 +118,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton26
|
// uiSymbolButton26
|
||||||
//
|
//
|
||||||
this.uiSymbolButton26.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton26.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton26.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton26.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton26.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Image = global::Sunny.UI.Demo.Properties.Resources.save;
|
||||||
this.uiSymbolButton26.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiSymbolButton26.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@ -128,9 +125,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiSymbolButton26.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton26.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton26.Name = "uiSymbolButton26";
|
this.uiSymbolButton26.Name = "uiSymbolButton26";
|
||||||
this.uiSymbolButton26.Padding = new System.Windows.Forms.Padding(5, 0, 10, 0);
|
this.uiSymbolButton26.Padding = new System.Windows.Forms.Padding(5, 0, 10, 0);
|
||||||
this.uiSymbolButton26.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton26.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton26.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton26.Size = new System.Drawing.Size(100, 35);
|
this.uiSymbolButton26.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiSymbolButton26.Style = Sunny.UI.UIStyle.Custom;
|
this.uiSymbolButton26.Style = Sunny.UI.UIStyle.Custom;
|
||||||
this.uiSymbolButton26.StyleCustomMode = true;
|
this.uiSymbolButton26.StyleCustomMode = true;
|
||||||
@ -144,9 +138,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton25
|
// uiSymbolButton25
|
||||||
//
|
//
|
||||||
this.uiSymbolButton25.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton25.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton25.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton25.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton25.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Image = global::Sunny.UI.Demo.Properties.Resources.relationship;
|
||||||
this.uiSymbolButton25.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.uiSymbolButton25.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
@ -154,9 +145,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiSymbolButton25.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton25.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton25.Name = "uiSymbolButton25";
|
this.uiSymbolButton25.Name = "uiSymbolButton25";
|
||||||
this.uiSymbolButton25.Padding = new System.Windows.Forms.Padding(10, 0, 5, 0);
|
this.uiSymbolButton25.Padding = new System.Windows.Forms.Padding(10, 0, 5, 0);
|
||||||
this.uiSymbolButton25.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton25.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton25.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton25.Size = new System.Drawing.Size(100, 35);
|
this.uiSymbolButton25.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiSymbolButton25.Style = Sunny.UI.UIStyle.Custom;
|
this.uiSymbolButton25.Style = Sunny.UI.UIStyle.Custom;
|
||||||
this.uiSymbolButton25.StyleCustomMode = true;
|
this.uiSymbolButton25.StyleCustomMode = true;
|
||||||
@ -229,9 +217,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiLine5
|
// uiLine5
|
||||||
//
|
//
|
||||||
this.uiLine5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine5.Location = new System.Drawing.Point(388, 397);
|
this.uiLine5.Location = new System.Drawing.Point(388, 397);
|
||||||
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine5.Name = "uiLine5";
|
this.uiLine5.Name = "uiLine5";
|
||||||
@ -253,9 +239,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiLine4
|
// uiLine4
|
||||||
//
|
//
|
||||||
this.uiLine4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine4.Location = new System.Drawing.Point(30, 397);
|
this.uiLine4.Location = new System.Drawing.Point(30, 397);
|
||||||
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine4.Name = "uiLine4";
|
this.uiLine4.Name = "uiLine4";
|
||||||
@ -280,17 +264,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton24
|
// uiSymbolButton24
|
||||||
//
|
//
|
||||||
this.uiSymbolButton24.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton24.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton24.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton24.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton24.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(654, 345);
|
||||||
this.uiSymbolButton24.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton24.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton24.Name = "uiSymbolButton24";
|
this.uiSymbolButton24.Name = "uiSymbolButton24";
|
||||||
this.uiSymbolButton24.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.RightTop | Sunny.UI.UICornerRadiusSides.RightBottom)));
|
this.uiSymbolButton24.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.RightTop | Sunny.UI.UICornerRadiusSides.RightBottom)));
|
||||||
this.uiSymbolButton24.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton24.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton24.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton24.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Top | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
|
this.uiSymbolButton24.RectSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)(((System.Windows.Forms.ToolStripStatusLabelBorderSides.Top | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
|
||||||
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
|
| System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
|
||||||
this.uiSymbolButton24.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton24.Size = new System.Drawing.Size(46, 35);
|
||||||
@ -301,17 +279,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton23
|
// uiSymbolButton23
|
||||||
//
|
//
|
||||||
this.uiSymbolButton23.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton23.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton23.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton23.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton23.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(608, 345);
|
||||||
this.uiSymbolButton23.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton23.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton23.Name = "uiSymbolButton23";
|
this.uiSymbolButton23.Name = "uiSymbolButton23";
|
||||||
this.uiSymbolButton23.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton23.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton23.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton23.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton23.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton23.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton23.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton23.Symbol = 61544;
|
this.uiSymbolButton23.Symbol = 61544;
|
||||||
this.uiSymbolButton23.TabIndex = 102;
|
this.uiSymbolButton23.TabIndex = 102;
|
||||||
@ -320,17 +292,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton22
|
// uiSymbolButton22
|
||||||
//
|
//
|
||||||
this.uiSymbolButton22.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton22.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton22.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton22.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton22.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(562, 345);
|
||||||
this.uiSymbolButton22.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton22.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton22.Name = "uiSymbolButton22";
|
this.uiSymbolButton22.Name = "uiSymbolButton22";
|
||||||
this.uiSymbolButton22.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton22.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton22.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton22.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton22.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton22.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton22.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton22.Symbol = 61508;
|
this.uiSymbolButton22.Symbol = 61508;
|
||||||
this.uiSymbolButton22.TabIndex = 101;
|
this.uiSymbolButton22.TabIndex = 101;
|
||||||
@ -339,17 +305,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton19
|
// uiSymbolButton19
|
||||||
//
|
//
|
||||||
this.uiSymbolButton19.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton19.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton19.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton19.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton19.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(516, 345);
|
||||||
this.uiSymbolButton19.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton19.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton19.Name = "uiSymbolButton19";
|
this.uiSymbolButton19.Name = "uiSymbolButton19";
|
||||||
this.uiSymbolButton19.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.LeftTop | Sunny.UI.UICornerRadiusSides.LeftBottom)));
|
this.uiSymbolButton19.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.LeftTop | Sunny.UI.UICornerRadiusSides.LeftBottom)));
|
||||||
this.uiSymbolButton19.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton19.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton19.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton19.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton19.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton19.Symbol = 61543;
|
this.uiSymbolButton19.Symbol = 61543;
|
||||||
this.uiSymbolButton19.TabIndex = 100;
|
this.uiSymbolButton19.TabIndex = 100;
|
||||||
@ -358,17 +318,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton20
|
// uiSymbolButton20
|
||||||
//
|
//
|
||||||
this.uiSymbolButton20.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton20.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton20.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton20.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton20.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(352, 345);
|
||||||
this.uiSymbolButton20.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton20.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton20.Name = "uiSymbolButton20";
|
this.uiSymbolButton20.Name = "uiSymbolButton20";
|
||||||
this.uiSymbolButton20.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.RightTop | Sunny.UI.UICornerRadiusSides.RightBottom)));
|
this.uiSymbolButton20.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.RightTop | Sunny.UI.UICornerRadiusSides.RightBottom)));
|
||||||
this.uiSymbolButton20.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton20.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton20.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton20.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton20.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton20.Symbol = 61522;
|
this.uiSymbolButton20.Symbol = 61522;
|
||||||
this.uiSymbolButton20.TabIndex = 99;
|
this.uiSymbolButton20.TabIndex = 99;
|
||||||
@ -377,17 +331,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton21
|
// uiSymbolButton21
|
||||||
//
|
//
|
||||||
this.uiSymbolButton21.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton21.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton21.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton21.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton21.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(306, 345);
|
||||||
this.uiSymbolButton21.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton21.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton21.Name = "uiSymbolButton21";
|
this.uiSymbolButton21.Name = "uiSymbolButton21";
|
||||||
this.uiSymbolButton21.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton21.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton21.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton21.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton21.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton21.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton21.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton21.Symbol = 61520;
|
this.uiSymbolButton21.Symbol = 61520;
|
||||||
this.uiSymbolButton21.TabIndex = 98;
|
this.uiSymbolButton21.TabIndex = 98;
|
||||||
@ -396,17 +344,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton13
|
// uiSymbolButton13
|
||||||
//
|
//
|
||||||
this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton13.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton13.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton13.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton13.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(260, 345);
|
||||||
this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton13.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton13.Name = "uiSymbolButton13";
|
this.uiSymbolButton13.Name = "uiSymbolButton13";
|
||||||
this.uiSymbolButton13.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton13.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton13.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton13.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton13.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton13.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton13.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton13.Symbol = 61518;
|
this.uiSymbolButton13.Symbol = 61518;
|
||||||
this.uiSymbolButton13.TabIndex = 97;
|
this.uiSymbolButton13.TabIndex = 97;
|
||||||
@ -415,17 +357,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton14
|
// uiSymbolButton14
|
||||||
//
|
//
|
||||||
this.uiSymbolButton14.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton14.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton14.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton14.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton14.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(214, 345);
|
||||||
this.uiSymbolButton14.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton14.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton14.Name = "uiSymbolButton14";
|
this.uiSymbolButton14.Name = "uiSymbolButton14";
|
||||||
this.uiSymbolButton14.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton14.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton14.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton14.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton14.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton14.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton14.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton14.Symbol = 61514;
|
this.uiSymbolButton14.Symbol = 61514;
|
||||||
this.uiSymbolButton14.TabIndex = 96;
|
this.uiSymbolButton14.TabIndex = 96;
|
||||||
@ -434,17 +370,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton15
|
// uiSymbolButton15
|
||||||
//
|
//
|
||||||
this.uiSymbolButton15.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton15.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton15.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton15.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton15.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(168, 345);
|
||||||
this.uiSymbolButton15.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton15.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton15.Name = "uiSymbolButton15";
|
this.uiSymbolButton15.Name = "uiSymbolButton15";
|
||||||
this.uiSymbolButton15.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton15.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton15.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton15.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton15.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton15.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton15.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton15.Symbol = 61513;
|
this.uiSymbolButton15.Symbol = 61513;
|
||||||
this.uiSymbolButton15.TabIndex = 95;
|
this.uiSymbolButton15.TabIndex = 95;
|
||||||
@ -453,17 +383,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton16
|
// uiSymbolButton16
|
||||||
//
|
//
|
||||||
this.uiSymbolButton16.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton16.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton16.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton16.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton16.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(122, 345);
|
||||||
this.uiSymbolButton16.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton16.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton16.Name = "uiSymbolButton16";
|
this.uiSymbolButton16.Name = "uiSymbolButton16";
|
||||||
this.uiSymbolButton16.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton16.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton16.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton16.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton16.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton16.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton16.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton16.Symbol = 61517;
|
this.uiSymbolButton16.Symbol = 61517;
|
||||||
this.uiSymbolButton16.TabIndex = 94;
|
this.uiSymbolButton16.TabIndex = 94;
|
||||||
@ -472,17 +396,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton17
|
// uiSymbolButton17
|
||||||
//
|
//
|
||||||
this.uiSymbolButton17.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton17.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton17.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton17.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton17.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(76, 345);
|
||||||
this.uiSymbolButton17.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton17.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton17.Name = "uiSymbolButton17";
|
this.uiSymbolButton17.Name = "uiSymbolButton17";
|
||||||
this.uiSymbolButton17.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
this.uiSymbolButton17.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
||||||
this.uiSymbolButton17.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton17.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton17.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton17.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton17.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton17.Symbol = 61516;
|
this.uiSymbolButton17.Symbol = 61516;
|
||||||
this.uiSymbolButton17.TabIndex = 93;
|
this.uiSymbolButton17.TabIndex = 93;
|
||||||
@ -491,17 +409,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton18
|
// uiSymbolButton18
|
||||||
//
|
//
|
||||||
this.uiSymbolButton18.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton18.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton18.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton18.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton18.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(30, 345);
|
||||||
this.uiSymbolButton18.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton18.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton18.Name = "uiSymbolButton18";
|
this.uiSymbolButton18.Name = "uiSymbolButton18";
|
||||||
this.uiSymbolButton18.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.LeftTop | Sunny.UI.UICornerRadiusSides.LeftBottom)));
|
this.uiSymbolButton18.RadiusSides = ((Sunny.UI.UICornerRadiusSides)((Sunny.UI.UICornerRadiusSides.LeftTop | Sunny.UI.UICornerRadiusSides.LeftBottom)));
|
||||||
this.uiSymbolButton18.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton18.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton18.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton18.Size = new System.Drawing.Size(46, 35);
|
this.uiSymbolButton18.Size = new System.Drawing.Size(46, 35);
|
||||||
this.uiSymbolButton18.Symbol = 61515;
|
this.uiSymbolButton18.Symbol = 61515;
|
||||||
this.uiSymbolButton18.TabIndex = 92;
|
this.uiSymbolButton18.TabIndex = 92;
|
||||||
@ -509,9 +421,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiLine3
|
// uiLine3
|
||||||
//
|
//
|
||||||
this.uiLine3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine3.Location = new System.Drawing.Point(30, 315);
|
this.uiLine3.Location = new System.Drawing.Point(30, 315);
|
||||||
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine3.Name = "uiLine3";
|
this.uiLine3.Name = "uiLine3";
|
||||||
@ -601,9 +511,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton10
|
// uiSymbolButton10
|
||||||
//
|
//
|
||||||
this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton10.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton10.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton10.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton10.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiSymbolButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiSymbolButton10.ForeSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton10.ForeSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton10.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
|
this.uiSymbolButton10.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||||
@ -612,8 +519,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton10.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton10.Name = "uiSymbolButton10";
|
this.uiSymbolButton10.Name = "uiSymbolButton10";
|
||||||
this.uiSymbolButton10.Padding = new System.Windows.Forms.Padding(6, 9, 0, 0);
|
this.uiSymbolButton10.Padding = new System.Windows.Forms.Padding(6, 9, 0, 0);
|
||||||
this.uiSymbolButton10.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton10.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton10.RectSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton10.RectSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton10.Size = new System.Drawing.Size(35, 35);
|
this.uiSymbolButton10.Size = new System.Drawing.Size(35, 35);
|
||||||
this.uiSymbolButton10.Style = Sunny.UI.UIStyle.Custom;
|
this.uiSymbolButton10.Style = Sunny.UI.UIStyle.Custom;
|
||||||
@ -755,16 +660,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton4
|
// uiSymbolButton4
|
||||||
//
|
//
|
||||||
this.uiSymbolButton4.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton4.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiSymbolButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiSymbolButton4.ForeSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton4.ForeSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton4.Location = new System.Drawing.Point(258, 215);
|
this.uiSymbolButton4.Location = new System.Drawing.Point(258, 215);
|
||||||
this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton4.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton4.Name = "uiSymbolButton4";
|
this.uiSymbolButton4.Name = "uiSymbolButton4";
|
||||||
this.uiSymbolButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton4.RectSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton4.RectSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton4.Size = new System.Drawing.Size(100, 35);
|
this.uiSymbolButton4.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiSymbolButton4.Style = Sunny.UI.UIStyle.Custom;
|
this.uiSymbolButton4.Style = Sunny.UI.UIStyle.Custom;
|
||||||
@ -801,16 +701,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiSymbolButton1
|
// uiSymbolButton1
|
||||||
//
|
//
|
||||||
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiSymbolButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiSymbolButton1.ForeSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton1.ForeSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 215);
|
this.uiSymbolButton1.Location = new System.Drawing.Point(30, 215);
|
||||||
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiSymbolButton1.Name = "uiSymbolButton1";
|
this.uiSymbolButton1.Name = "uiSymbolButton1";
|
||||||
this.uiSymbolButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiSymbolButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiSymbolButton1.RectSelectedColor = System.Drawing.Color.Empty;
|
this.uiSymbolButton1.RectSelectedColor = System.Drawing.Color.Empty;
|
||||||
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 35);
|
this.uiSymbolButton1.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiSymbolButton1.Style = Sunny.UI.UIStyle.Custom;
|
this.uiSymbolButton1.Style = Sunny.UI.UIStyle.Custom;
|
||||||
@ -821,9 +716,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiLine2
|
// uiLine2
|
||||||
//
|
//
|
||||||
this.uiLine2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
|
||||||
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, 185);
|
this.uiLine2.Location = new System.Drawing.Point(30, 185);
|
||||||
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine2.Name = "uiLine2";
|
this.uiLine2.Name = "uiLine2";
|
||||||
@ -834,9 +727,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiLine1
|
// uiLine1
|
||||||
//
|
//
|
||||||
this.uiLine1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
|
||||||
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.Location = new System.Drawing.Point(30, 55);
|
||||||
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine1.Name = "uiLine1";
|
this.uiLine1.Name = "uiLine1";
|
||||||
@ -944,21 +835,12 @@ namespace Sunny.UI.Demo
|
|||||||
// uiButton17
|
// uiButton17
|
||||||
//
|
//
|
||||||
this.uiButton17.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiButton17.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiButton17.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton17.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton17.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton17.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiButton17.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiButton17.ForeSelectedColor = System.Drawing.Color.Empty;
|
|
||||||
this.uiButton17.Location = new System.Drawing.Point(144, 135);
|
this.uiButton17.Location = new System.Drawing.Point(144, 135);
|
||||||
this.uiButton17.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiButton17.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiButton17.Name = "uiButton17";
|
this.uiButton17.Name = "uiButton17";
|
||||||
this.uiButton17.Radius = 35;
|
this.uiButton17.Radius = 35;
|
||||||
this.uiButton17.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton17.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton17.RectSelectedColor = System.Drawing.Color.Empty;
|
|
||||||
this.uiButton17.Size = new System.Drawing.Size(100, 35);
|
this.uiButton17.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiButton17.Style = Sunny.UI.UIStyle.Custom;
|
|
||||||
this.uiButton17.StyleCustomMode = true;
|
|
||||||
this.uiButton17.TabIndex = 72;
|
this.uiButton17.TabIndex = 72;
|
||||||
this.uiButton17.Text = "Blue";
|
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)));
|
||||||
@ -966,17 +848,11 @@ namespace Sunny.UI.Demo
|
|||||||
// uiButton18
|
// uiButton18
|
||||||
//
|
//
|
||||||
this.uiButton18.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiButton18.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiButton18.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton18.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton18.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
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.Location = new System.Drawing.Point(30, 135);
|
||||||
this.uiButton18.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiButton18.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiButton18.Name = "uiButton18";
|
this.uiButton18.Name = "uiButton18";
|
||||||
this.uiButton18.Radius = 35;
|
this.uiButton18.Radius = 35;
|
||||||
this.uiButton18.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton18.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton18.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton18.Size = new System.Drawing.Size(100, 35);
|
this.uiButton18.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiButton18.TabIndex = 71;
|
this.uiButton18.TabIndex = 71;
|
||||||
this.uiButton18.Text = "Round";
|
this.uiButton18.Text = "Round";
|
||||||
@ -1081,22 +957,13 @@ namespace Sunny.UI.Demo
|
|||||||
// uiButton2
|
// uiButton2
|
||||||
//
|
//
|
||||||
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiButton2.ForeSelectedColor = System.Drawing.Color.Empty;
|
|
||||||
this.uiButton2.Location = new System.Drawing.Point(144, 85);
|
this.uiButton2.Location = new System.Drawing.Point(144, 85);
|
||||||
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiButton2.Name = "uiButton2";
|
this.uiButton2.Name = "uiButton2";
|
||||||
this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
|
|
||||||
this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(204)))));
|
|
||||||
this.uiButton2.RectSelectedColor = System.Drawing.Color.Empty;
|
|
||||||
this.uiButton2.ShowFocusLine = true;
|
this.uiButton2.ShowFocusLine = true;
|
||||||
this.uiButton2.ShowTips = true;
|
this.uiButton2.ShowTips = true;
|
||||||
this.uiButton2.Size = new System.Drawing.Size(100, 35);
|
this.uiButton2.Size = new System.Drawing.Size(100, 35);
|
||||||
this.uiButton2.Style = Sunny.UI.UIStyle.Custom;
|
|
||||||
this.uiButton2.StyleCustomMode = true;
|
|
||||||
this.uiButton2.TabIndex = 60;
|
this.uiButton2.TabIndex = 60;
|
||||||
this.uiButton2.Text = "Blue";
|
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)));
|
||||||
|
80
SunnyUI.Demo/Controls/FPanel.Designer.cs
generated
80
SunnyUI.Demo/Controls/FPanel.Designer.cs
generated
@ -34,12 +34,12 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
|
this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
|
||||||
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
|
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
|
||||||
this.uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
|
this.uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
|
||||||
this.uiButton1 = new Sunny.UI.UIButton();
|
this.uiButton4 = new Sunny.UI.UIButton();
|
||||||
|
this.uiButton3 = new Sunny.UI.UIButton();
|
||||||
this.uiButton2 = new Sunny.UI.UIButton();
|
this.uiButton2 = new Sunny.UI.UIButton();
|
||||||
|
this.uiButton1 = new Sunny.UI.UIButton();
|
||||||
this.uiLine1 = new Sunny.UI.UILine();
|
this.uiLine1 = new Sunny.UI.UILine();
|
||||||
this.uiLine2 = new Sunny.UI.UILine();
|
this.uiLine2 = new Sunny.UI.UILine();
|
||||||
this.uiButton3 = new Sunny.UI.UIButton();
|
|
||||||
this.uiButton4 = new Sunny.UI.UIButton();
|
|
||||||
this.uiTableLayoutPanel1.SuspendLayout();
|
this.uiTableLayoutPanel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@ -58,7 +58,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiTitlePanel2
|
// uiTitlePanel2
|
||||||
//
|
//
|
||||||
this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiTitlePanel2.ForeColor = System.Drawing.Color.White;
|
|
||||||
this.uiTitlePanel2.Location = new System.Drawing.Point(331, 285);
|
this.uiTitlePanel2.Location = new System.Drawing.Point(331, 285);
|
||||||
this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
@ -86,7 +85,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiTitlePanel1
|
// uiTitlePanel1
|
||||||
//
|
//
|
||||||
this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiTitlePanel1.ForeColor = System.Drawing.Color.White;
|
|
||||||
this.uiTitlePanel1.Location = new System.Drawing.Point(30, 285);
|
this.uiTitlePanel1.Location = new System.Drawing.Point(30, 285);
|
||||||
this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
@ -117,17 +115,31 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiTableLayoutPanel1.TabIndex = 10;
|
this.uiTableLayoutPanel1.TabIndex = 10;
|
||||||
this.uiTableLayoutPanel1.TagString = null;
|
this.uiTableLayoutPanel1.TagString = null;
|
||||||
//
|
//
|
||||||
// uiButton1
|
// uiButton4
|
||||||
//
|
//
|
||||||
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.uiButton1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.uiButton4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiButton1.Location = new System.Drawing.Point(3, 3);
|
this.uiButton4.Location = new System.Drawing.Point(267, 3);
|
||||||
this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiButton1.Name = "uiButton1";
|
this.uiButton4.Name = "uiButton4";
|
||||||
this.uiButton1.Size = new System.Drawing.Size(82, 35);
|
this.uiButton4.Size = new System.Drawing.Size(84, 35);
|
||||||
this.uiButton1.TabIndex = 0;
|
this.uiButton4.TabIndex = 5;
|
||||||
this.uiButton1.Text = "uiButton1";
|
this.uiButton4.Text = "uiButton4";
|
||||||
|
this.uiButton4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
//
|
||||||
|
// 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.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)));
|
||||||
//
|
//
|
||||||
// uiButton2
|
// uiButton2
|
||||||
//
|
//
|
||||||
@ -140,6 +152,20 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiButton2.Size = new System.Drawing.Size(82, 35);
|
this.uiButton2.Size = new System.Drawing.Size(82, 35);
|
||||||
this.uiButton2.TabIndex = 1;
|
this.uiButton2.TabIndex = 1;
|
||||||
this.uiButton2.Text = "uiButton2";
|
this.uiButton2.Text = "uiButton2";
|
||||||
|
this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
//
|
||||||
|
// 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.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)));
|
||||||
//
|
//
|
||||||
// uiLine1
|
// uiLine1
|
||||||
//
|
//
|
||||||
@ -163,30 +189,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLine2.Text = "UIPanel";
|
this.uiLine2.Text = "UIPanel";
|
||||||
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// 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.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";
|
|
||||||
//
|
|
||||||
// uiButton4
|
|
||||||
//
|
|
||||||
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.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";
|
|
||||||
//
|
|
||||||
// FPanel
|
// FPanel
|
||||||
//
|
//
|
||||||
this.AllowShowTitle = true;
|
this.AllowShowTitle = true;
|
||||||
|
56
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
56
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
@ -54,21 +54,14 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox6
|
// uiTextBox6
|
||||||
//
|
//
|
||||||
this.uiTextBox6.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox6.ButtonWidth = 100;
|
this.uiTextBox6.ButtonWidth = 100;
|
||||||
this.uiTextBox6.Cursor = System.Windows.Forms.Cursors.IBeam;
|
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.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.Location = new System.Drawing.Point(117, 167);
|
||||||
this.uiTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTextBox6.Maximum = 2147483647D;
|
|
||||||
this.uiTextBox6.Minimum = -2147483648D;
|
|
||||||
this.uiTextBox6.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTextBox6.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiTextBox6.Name = "uiTextBox6";
|
this.uiTextBox6.Name = "uiTextBox6";
|
||||||
this.uiTextBox6.Padding = new System.Windows.Forms.Padding(5);
|
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.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox6.Symbol = 61461;
|
this.uiTextBox6.Symbol = 61461;
|
||||||
this.uiTextBox6.TabIndex = 2;
|
this.uiTextBox6.TabIndex = 2;
|
||||||
@ -77,22 +70,15 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox5
|
// uiTextBox5
|
||||||
//
|
//
|
||||||
this.uiTextBox5.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox5.ButtonWidth = 100;
|
this.uiTextBox5.ButtonWidth = 100;
|
||||||
this.uiTextBox5.Cursor = System.Windows.Forms.Cursors.IBeam;
|
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.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.Icon = global::Sunny.UI.Demo.Properties.Resources.Home_32x32;
|
||||||
this.uiTextBox5.Location = new System.Drawing.Point(117, 128);
|
this.uiTextBox5.Location = new System.Drawing.Point(117, 128);
|
||||||
this.uiTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTextBox5.Maximum = 2147483647D;
|
|
||||||
this.uiTextBox5.Minimum = -2147483648D;
|
|
||||||
this.uiTextBox5.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTextBox5.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiTextBox5.Name = "uiTextBox5";
|
this.uiTextBox5.Name = "uiTextBox5";
|
||||||
this.uiTextBox5.Padding = new System.Windows.Forms.Padding(5);
|
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.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox5.TabIndex = 1;
|
this.uiTextBox5.TabIndex = 1;
|
||||||
this.uiTextBox5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiTextBox5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@ -100,22 +86,15 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox4
|
// uiTextBox4
|
||||||
//
|
//
|
||||||
this.uiTextBox4.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox4.ButtonWidth = 100;
|
this.uiTextBox4.ButtonWidth = 100;
|
||||||
this.uiTextBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
|
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.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.Location = new System.Drawing.Point(30, 325);
|
||||||
this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTextBox4.Maximum = 2147483647D;
|
|
||||||
this.uiTextBox4.Minimum = -2147483648D;
|
|
||||||
this.uiTextBox4.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTextBox4.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiTextBox4.Multiline = true;
|
this.uiTextBox4.Multiline = true;
|
||||||
this.uiTextBox4.Name = "uiTextBox4";
|
this.uiTextBox4.Name = "uiTextBox4";
|
||||||
this.uiTextBox4.Padding = new System.Windows.Forms.Padding(5);
|
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.ShowScrollBar = true;
|
this.uiTextBox4.ShowScrollBar = true;
|
||||||
this.uiTextBox4.Size = new System.Drawing.Size(308, 226);
|
this.uiTextBox4.Size = new System.Drawing.Size(308, 226);
|
||||||
this.uiTextBox4.TabIndex = 5;
|
this.uiTextBox4.TabIndex = 5;
|
||||||
@ -128,7 +107,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine3
|
// uiLine3
|
||||||
//
|
//
|
||||||
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine3.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine3.Location = new System.Drawing.Point(388, 286);
|
this.uiLine3.Location = new System.Drawing.Point(388, 286);
|
||||||
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine3.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine3.Name = "uiLine3";
|
this.uiLine3.Name = "uiLine3";
|
||||||
@ -140,7 +118,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine2
|
// 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, 286);
|
this.uiLine2.Location = new System.Drawing.Point(30, 286);
|
||||||
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine2.Name = "uiLine2";
|
this.uiLine2.Name = "uiLine2";
|
||||||
@ -151,10 +128,7 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiRichTextBox1
|
// uiRichTextBox1
|
||||||
//
|
//
|
||||||
this.uiRichTextBox1.AutoWordSelection = true;
|
|
||||||
this.uiRichTextBox1.BackColor = System.Drawing.Color.White;
|
|
||||||
this.uiRichTextBox1.FillColor = System.Drawing.Color.White;
|
this.uiRichTextBox1.FillColor = System.Drawing.Color.White;
|
||||||
this.uiRichTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
|
|
||||||
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.Location = new System.Drawing.Point(388, 325);
|
||||||
this.uiRichTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiRichTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
@ -167,12 +141,10 @@ namespace Sunny.UI.Demo
|
|||||||
": https://github.com/yhuse/SunnyUI\nSunnyUI.Net 系列文章目录\n欢迎交流,QQ群: 56829229 (SunnyU" +
|
": https://github.com/yhuse/SunnyUI\nSunnyUI.Net 系列文章目录\n欢迎交流,QQ群: 56829229 (SunnyU" +
|
||||||
"I技术交流群),请给源码项目点个Star吧!!!";
|
"I技术交流群),请给源码项目点个Star吧!!!";
|
||||||
this.uiRichTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
this.uiRichTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
this.uiRichTextBox1.WordWrap = true;
|
|
||||||
//
|
//
|
||||||
// uiLine5
|
// uiLine5
|
||||||
//
|
//
|
||||||
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine5.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine5.Location = new System.Drawing.Point(388, 132);
|
this.uiLine5.Location = new System.Drawing.Point(388, 132);
|
||||||
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine5.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine5.Name = "uiLine5";
|
this.uiLine5.Name = "uiLine5";
|
||||||
@ -184,7 +156,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine4
|
// uiLine4
|
||||||
//
|
//
|
||||||
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine4.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine4.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine4.Location = new System.Drawing.Point(388, 55);
|
this.uiLine4.Location = new System.Drawing.Point(388, 55);
|
||||||
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine4.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine4.Name = "uiLine4";
|
this.uiLine4.Name = "uiLine4";
|
||||||
@ -196,7 +167,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine1
|
// 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.Location = new System.Drawing.Point(30, 55);
|
||||||
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine1.Name = "uiLine1";
|
this.uiLine1.Name = "uiLine1";
|
||||||
@ -207,8 +177,6 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiDoubleUpDown1
|
// 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.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.Location = new System.Drawing.Point(388, 167);
|
||||||
this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
@ -233,22 +201,15 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox3
|
// uiTextBox3
|
||||||
//
|
//
|
||||||
this.uiTextBox3.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox3.ButtonWidth = 100;
|
this.uiTextBox3.ButtonWidth = 100;
|
||||||
this.uiTextBox3.CanEmpty = true;
|
this.uiTextBox3.CanEmpty = true;
|
||||||
this.uiTextBox3.Cursor = System.Windows.Forms.Cursors.IBeam;
|
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.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.Location = new System.Drawing.Point(117, 245);
|
||||||
this.uiTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiTextBox3.Maximum = 2147483647D;
|
|
||||||
this.uiTextBox3.Minimum = -2147483648D;
|
|
||||||
this.uiTextBox3.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTextBox3.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiTextBox3.Name = "uiTextBox3";
|
this.uiTextBox3.Name = "uiTextBox3";
|
||||||
this.uiTextBox3.Padding = new System.Windows.Forms.Padding(5);
|
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.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox3.TabIndex = 4;
|
this.uiTextBox3.TabIndex = 4;
|
||||||
this.uiTextBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiTextBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
@ -268,15 +229,11 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox2
|
// uiTextBox2
|
||||||
//
|
//
|
||||||
this.uiTextBox2.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox2.ButtonWidth = 100;
|
this.uiTextBox2.ButtonWidth = 100;
|
||||||
this.uiTextBox2.CanEmpty = true;
|
this.uiTextBox2.CanEmpty = true;
|
||||||
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
|
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||||
this.uiTextBox2.DoubleValue = 5D;
|
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.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.IntValue = 5;
|
||||||
this.uiTextBox2.Location = new System.Drawing.Point(117, 206);
|
this.uiTextBox2.Location = new System.Drawing.Point(117, 206);
|
||||||
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
@ -285,7 +242,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiTextBox2.Name = "uiTextBox2";
|
this.uiTextBox2.Name = "uiTextBox2";
|
||||||
this.uiTextBox2.Padding = new System.Windows.Forms.Padding(5);
|
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.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox2.TabIndex = 3;
|
this.uiTextBox2.TabIndex = 3;
|
||||||
this.uiTextBox2.Text = "5";
|
this.uiTextBox2.Text = "5";
|
||||||
@ -306,8 +262,6 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiIntegerUpDown1
|
// 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.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiIntegerUpDown1.Location = new System.Drawing.Point(388, 89);
|
this.uiIntegerUpDown1.Location = new System.Drawing.Point(388, 89);
|
||||||
this.uiIntegerUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiIntegerUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
@ -329,19 +283,12 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTextBox1
|
// uiTextBox1
|
||||||
//
|
//
|
||||||
this.uiTextBox1.ButtonSymbolOffset = new System.Drawing.Point(0, 1);
|
|
||||||
this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
|
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.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.Location = new System.Drawing.Point(117, 89);
|
||||||
this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
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.MinimumSize = new System.Drawing.Size(1, 16);
|
||||||
this.uiTextBox1.Name = "uiTextBox1";
|
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.ShowButton = true;
|
||||||
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
|
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox1.TabIndex = 52;
|
this.uiTextBox1.TabIndex = 52;
|
||||||
@ -353,7 +300,6 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine6
|
// uiLine6
|
||||||
//
|
//
|
||||||
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine6.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine6.LineDashStyle = Sunny.UI.UILineDashStyle.None;
|
|
||||||
this.uiLine6.Location = new System.Drawing.Point(388, 211);
|
this.uiLine6.Location = new System.Drawing.Point(388, 211);
|
||||||
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
|
this.uiLine6.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
this.uiLine6.Name = "uiLine6";
|
this.uiLine6.Name = "uiLine6";
|
||||||
@ -364,7 +310,6 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiipTextBox1
|
// uiipTextBox1
|
||||||
//
|
//
|
||||||
this.uiipTextBox1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
|
|
||||||
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.Location = new System.Drawing.Point(388, 245);
|
||||||
this.uiipTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiipTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
@ -374,7 +319,6 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiipTextBox1.Size = new System.Drawing.Size(150, 29);
|
this.uiipTextBox1.Size = new System.Drawing.Size(150, 29);
|
||||||
this.uiipTextBox1.TabIndex = 55;
|
this.uiipTextBox1.TabIndex = 55;
|
||||||
this.uiipTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
this.uiipTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
this.uiipTextBox1.Value = null;
|
|
||||||
//
|
//
|
||||||
// FTextBox
|
// FTextBox
|
||||||
//
|
//
|
||||||
|
1
SunnyUI.Demo/Controls/FTreeView.Designer.cs
generated
1
SunnyUI.Demo/Controls/FTreeView.Designer.cs
generated
@ -81,7 +81,6 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
// uiTreeView1
|
// uiTreeView1
|
||||||
//
|
//
|
||||||
this.uiTreeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
||||||
this.uiTreeView1.CheckBoxes = true;
|
this.uiTreeView1.CheckBoxes = true;
|
||||||
this.uiTreeView1.FillColor = System.Drawing.Color.White;
|
this.uiTreeView1.FillColor = System.Drawing.Color.White;
|
||||||
this.uiTreeView1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiTreeView1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
|
@ -85,6 +85,8 @@ namespace Sunny.UI.Demo
|
|||||||
option.AddComboCheckedListBox("checkedList", "选择", checkedItems, "CCC");
|
option.AddComboCheckedListBox("checkedList", "选择", checkedItems, "CCC");
|
||||||
|
|
||||||
UIEditForm frm = new UIEditForm(option);
|
UIEditForm frm = new UIEditForm(option);
|
||||||
|
frm.ReSetDPIScale();
|
||||||
|
frm.Style = UIStyles.Style;
|
||||||
frm.CheckedData += Frm_CheckedData;
|
frm.CheckedData += Frm_CheckedData;
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
ColorTable.SetStyleColor(uiColor);
|
ColorTable.SetStyleColor(uiColor);
|
||||||
BackColor = uiColor.ContextMenuColor;
|
BackColor = uiColor.ContextMenuColor;
|
||||||
|
ForeColor = uiColor.ContextMenuForeColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Version { get; }
|
public string Version { get; }
|
||||||
|
@ -56,6 +56,7 @@ namespace Sunny.UI
|
|||||||
VBar.ForeColor = UIColor.Blue;
|
VBar.ForeColor = UIColor.Blue;
|
||||||
VBar.StyleCustomMode = true;
|
VBar.StyleCustomMode = true;
|
||||||
VBar.ValueChanged += VBarValueChanged;
|
VBar.ValueChanged += VBarValueChanged;
|
||||||
|
VBar.ShowLeftLine = true;
|
||||||
|
|
||||||
HBar.Parent = this;
|
HBar.Parent = this;
|
||||||
HBar.Visible = false;
|
HBar.Visible = false;
|
||||||
@ -89,11 +90,6 @@ namespace Sunny.UI
|
|||||||
//标题行行高,与OnColumnAdded事件配合
|
//标题行行高,与OnColumnAdded事件配合
|
||||||
ColumnHeadersHeight = 32;
|
ColumnHeadersHeight = 32;
|
||||||
|
|
||||||
//数据行行高
|
|
||||||
// RowTemplate.Height = 29;
|
|
||||||
// RowTemplate.MinimumHeight = 29;
|
|
||||||
// AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None;
|
|
||||||
|
|
||||||
//设置奇偶数行颜色
|
//设置奇偶数行颜色
|
||||||
StripeEvenColor = UIColor.White;
|
StripeEvenColor = UIColor.White;
|
||||||
StripeOddColor = UIColor.LightBlue;
|
StripeOddColor = UIColor.LightBlue;
|
||||||
@ -351,17 +347,6 @@ namespace Sunny.UI
|
|||||||
protected override void OnMouseWheel(MouseEventArgs e)
|
protected override void OnMouseWheel(MouseEventArgs e)
|
||||||
{
|
{
|
||||||
base.OnMouseWheel(e);
|
base.OnMouseWheel(e);
|
||||||
/*if (VBar.Visible)
|
|
||||||
{
|
|
||||||
if (e.Delta > 10)
|
|
||||||
{
|
|
||||||
VBar.SetValue(VBar.Value - VBar.Maximum / 20);
|
|
||||||
}
|
|
||||||
else if (e.Delta < -10)
|
|
||||||
{
|
|
||||||
VBar.SetValue(VBar.Value + VBar.Maximum / 20);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if (VBar.Visible && ScrollMode == UIDataGridViewScrollMode.Page)
|
if (VBar.Visible && ScrollMode == UIDataGridViewScrollMode.Page)
|
||||||
{
|
{
|
||||||
@ -524,6 +509,8 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
public void SetStyleColor(UIBaseStyle uiColor)
|
public void SetStyleColor(UIBaseStyle uiColor)
|
||||||
{
|
{
|
||||||
|
BackgroundColor = uiColor.PlainColor;
|
||||||
|
|
||||||
//列头部颜色
|
//列头部颜色
|
||||||
ColumnHeadersDefaultCellStyle.BackColor = uiColor.GridTitleColor;
|
ColumnHeadersDefaultCellStyle.BackColor = uiColor.GridTitleColor;
|
||||||
ColumnHeadersDefaultCellStyle.ForeColor = uiColor.GridTitleForeColor;
|
ColumnHeadersDefaultCellStyle.ForeColor = uiColor.GridTitleForeColor;
|
||||||
@ -531,31 +518,32 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
//行头部颜色
|
//行头部颜色
|
||||||
RowHeadersDefaultCellStyle.BackColor = uiColor.PlainColor;
|
RowHeadersDefaultCellStyle.BackColor = uiColor.PlainColor;
|
||||||
RowHeadersDefaultCellStyle.ForeColor = UIFontColor.Primary;
|
RowHeadersDefaultCellStyle.ForeColor = uiColor.GridForeColor;
|
||||||
RowHeadersDefaultCellStyle.SelectionBackColor = uiColor.RectColor;
|
RowHeadersDefaultCellStyle.SelectionBackColor = uiColor.RectColor;
|
||||||
RowHeadersDefaultCellStyle.SelectionForeColor = Color.White;
|
RowHeadersDefaultCellStyle.SelectionForeColor = uiColor.GridForeColor;
|
||||||
|
|
||||||
//数据单元格选中颜色
|
//数据单元格选中颜色
|
||||||
DefaultCellStyle.SelectionBackColor = uiColor.GridSelectedColor;
|
DefaultCellStyle.SelectionBackColor = uiColor.GridSelectedColor;
|
||||||
DefaultCellStyle.SelectionForeColor = uiColor.GridSelectedForeColor;
|
DefaultCellStyle.SelectionForeColor = uiColor.GridSelectedForeColor;
|
||||||
DefaultCellStyle.BackColor = uiColor.GridStripeEvenColor;
|
DefaultCellStyle.BackColor = uiColor.GridStripeEvenColor;
|
||||||
DefaultCellStyle.ForeColor = UIFontColor.Primary;
|
DefaultCellStyle.ForeColor = uiColor.GridForeColor;
|
||||||
|
|
||||||
//数据行选中颜色
|
//数据行选中颜色
|
||||||
RowsDefaultCellStyle.SelectionBackColor = uiColor.GridSelectedColor;
|
RowsDefaultCellStyle.SelectionBackColor = uiColor.GridSelectedColor;
|
||||||
RowsDefaultCellStyle.SelectionForeColor = uiColor.GridSelectedForeColor;
|
RowsDefaultCellStyle.SelectionForeColor = uiColor.GridSelectedForeColor;
|
||||||
RowsDefaultCellStyle.ForeColor = UIFontColor.Primary;
|
RowsDefaultCellStyle.ForeColor = uiColor.GridForeColor;
|
||||||
|
|
||||||
GridColor = uiColor.GridLineColor;
|
GridColor = uiColor.GridLineColor;
|
||||||
RectColor = uiColor.RectColor;
|
RectColor = uiColor.RectColor;
|
||||||
RowsDefaultCellStyle.BackColor = UIColor.White;
|
RowsDefaultCellStyle.BackColor = uiColor.GridStripeEvenColor;
|
||||||
AlternatingRowsDefaultCellStyle.BackColor = UIColor.LightBlue;
|
AlternatingRowsDefaultCellStyle.BackColor = uiColor.GridStripeOddColor;
|
||||||
|
|
||||||
StripeEvenColor = uiColor.GridStripeEvenColor;
|
StripeEvenColor = uiColor.GridStripeEvenColor;
|
||||||
StripeOddColor = uiColor.GridStripeOddColor;
|
StripeOddColor = uiColor.GridStripeOddColor;
|
||||||
|
|
||||||
HBar.FillColor = VBar.FillColor = uiColor.GridStripeOddColor;
|
HBar.FillColor = VBar.FillColor = uiColor.GridBarFillColor;
|
||||||
HBar.ForeColor = VBar.ForeColor = uiColor.PrimaryColor;
|
HBar.ForeColor = VBar.ForeColor = uiColor.GridBarForeColor;
|
||||||
|
VBar.RectColor = uiColor.RectColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -40,8 +40,9 @@ namespace Sunny.UI
|
|||||||
RadiusSides = UICornerRadiusSides.None;
|
RadiusSides = UICornerRadiusSides.None;
|
||||||
|
|
||||||
Font = UIFontColor.Font();
|
Font = UIFontColor.Font();
|
||||||
foreColor = UIFontColor.Primary;
|
foreColor = UIStyles.Blue.DataGridViewFooterForeColor;
|
||||||
fillColor = UIColor.LightBlue;
|
fillColor = UIStyles.Blue.PlainColor;
|
||||||
|
rectColor = UIStyles.Blue.RectColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
private UIDataGridView dgv;
|
private UIDataGridView dgv;
|
||||||
@ -95,11 +96,6 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
if (dgv != null && dgv.ColumnCount > 0 && dgv.RowCount > 0)
|
if (dgv != null && dgv.ColumnCount > 0 && dgv.RowCount > 0)
|
||||||
{
|
{
|
||||||
if (dgv.ShowGridLine)
|
|
||||||
{
|
|
||||||
//g.DrawLine(dgv.GridColor, 0, 0, 0, Height);
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (DataGridViewColumn column in dgv.Columns)
|
foreach (DataGridViewColumn column in dgv.Columns)
|
||||||
{
|
{
|
||||||
Rectangle rect = dgv.GetCellDisplayRectangle(column.Index, 0, false);
|
Rectangle rect = dgv.GetCellDisplayRectangle(column.Index, 0, false);
|
||||||
@ -110,8 +106,6 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
g.DrawLine(dgv.GridColor, rect.Left - minleft, 0, rect.Left - minleft, Height);
|
g.DrawLine(dgv.GridColor, rect.Left - minleft, 0, rect.Left - minleft, Height);
|
||||||
g.DrawLine(dgv.GridColor, rect.Right - minleft, 0, rect.Right - minleft, Height);
|
g.DrawLine(dgv.GridColor, rect.Right - minleft, 0, rect.Right - minleft, Height);
|
||||||
//g.DrawLine(dgv.GridColor, rect.Left - minleft, 0, rect.Right - minleft, 0);
|
|
||||||
//g.DrawLine(dgv.GridColor, rect.Left - minleft, Height - 1, rect.Right - minleft, Height - 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
string str = this[column.Name];
|
string str = this[column.Name];
|
||||||
@ -164,8 +158,6 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -173,10 +165,9 @@ namespace Sunny.UI
|
|||||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||||
{
|
{
|
||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
foreColor = UIFontColor.Primary;
|
foreColor = uiColor.DataGridViewFooterForeColor;
|
||||||
fillColor = uiColor.PlainColor;
|
fillColor = uiColor.PlainColor;
|
||||||
|
rectColor = uiColor.RectColor;
|
||||||
Invalidate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -251,30 +251,19 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||||
{
|
{
|
||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
Panel.BackColor = uiColor.PlainColor;
|
Panel.BackColor = uiColor.PlainColor;
|
||||||
|
|
||||||
|
HBar.FillColor = VBar.FillColor = uiColor.FlowLayoutPanelBarFillColor;
|
||||||
|
scrollBarColor = HBar.ForeColor = VBar.ForeColor = uiColor.FlowLayoutPanelBarForeColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void AfterSetFillColor(Color color)
|
protected override void AfterSetFillColor(Color color)
|
||||||
{
|
{
|
||||||
base.AfterSetFillColor(color);
|
base.AfterSetFillColor(color);
|
||||||
Panel.BackColor = color;
|
Panel.BackColor = color;
|
||||||
VBar.FillColor = color;
|
|
||||||
HBar.FillColor = color;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void AfterSetForeColor(Color color)
|
|
||||||
{
|
|
||||||
base.AfterSetForeColor(color);
|
|
||||||
|
|
||||||
if (!StyleCustomMode)
|
|
||||||
{
|
|
||||||
scrollBarColor = color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Color scrollBarColor = Color.FromArgb(80, 160, 255);
|
private Color scrollBarColor = Color.FromArgb(80, 160, 255);
|
||||||
|
44
SunnyUI/Controls/UIImageListBox.Designer.cs
generated
44
SunnyUI/Controls/UIImageListBox.Designer.cs
generated
@ -1,44 +0,0 @@
|
|||||||
namespace Sunny.UI
|
|
||||||
{
|
|
||||||
partial class UIImageListBox
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 必需的设计器变量。
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 清理所有正在使用的资源。
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var item in Items)
|
|
||||||
{
|
|
||||||
if (item is ImageListItem imageItem)
|
|
||||||
imageItem.Dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region 组件设计器生成的代码
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 设计器支持所需的方法 - 不要修改
|
|
||||||
/// 使用代码编辑器修改此方法的内容。
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
components = new System.ComponentModel.Container();
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
@ -41,10 +41,8 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
public UIImageListBox()
|
public UIImageListBox()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
|
||||||
SetStyleFlags(true, false);
|
SetStyleFlags(true, false);
|
||||||
ShowText = false;
|
ShowText = false;
|
||||||
|
|
||||||
Padding = new Padding(2);
|
Padding = new Padding(2);
|
||||||
|
|
||||||
bar.ValueChanged += Bar_ValueChanged;
|
bar.ValueChanged += Bar_ValueChanged;
|
||||||
@ -69,11 +67,11 @@ namespace Sunny.UI
|
|||||||
listbox.MouseMove += Listbox_MouseMove;
|
listbox.MouseMove += Listbox_MouseMove;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Control ExToolTipControl()
|
public Control ExToolTipControl()
|
||||||
{
|
{
|
||||||
return listbox;
|
return listbox;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int IndexFromPoint(Point p)
|
public int IndexFromPoint(Point p)
|
||||||
{
|
{
|
||||||
return listbox.IndexFromPoint(p);
|
return listbox.IndexFromPoint(p);
|
||||||
@ -91,11 +89,6 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
listbox.BackColor = color;
|
listbox.BackColor = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bar != null)
|
|
||||||
{
|
|
||||||
bar.FillColor = color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Listbox_MouseMove(object sender, MouseEventArgs e)
|
private void Listbox_MouseMove(object sender, MouseEventArgs e)
|
||||||
@ -207,10 +200,10 @@ namespace Sunny.UI
|
|||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
if (bar != null)
|
if (bar != null)
|
||||||
{
|
{
|
||||||
bar.ForeColor = uiColor.PrimaryColor;
|
bar.ForeColor = uiColor.ListBarForeColor;
|
||||||
bar.HoverColor = uiColor.ButtonFillHoverColor;
|
bar.HoverColor = uiColor.ButtonFillHoverColor;
|
||||||
bar.PressColor = uiColor.ButtonFillPressColor;
|
bar.PressColor = uiColor.ButtonFillPressColor;
|
||||||
bar.FillColor = Color.White;
|
bar.FillColor = uiColor.ListBarFillColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
hoverColor = uiColor.ListItemHoverColor;
|
hoverColor = uiColor.ListItemHoverColor;
|
||||||
@ -218,10 +211,11 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
listbox.HoverColor = hoverColor;
|
listbox.HoverColor = hoverColor;
|
||||||
listbox.SetStyleColor(uiColor);
|
listbox.SetStyleColor(uiColor);
|
||||||
listbox.BackColor = Color.White;
|
listbox.BackColor = uiColor.ListBackColor;
|
||||||
|
listbox.ForeColor = uiColor.ListForeColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
fillColor = Color.White;
|
fillColor = uiColor.ListBackColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int LastCount;
|
private int LastCount;
|
||||||
@ -246,11 +240,6 @@ namespace Sunny.UI
|
|||||||
Padding = new Padding(Math.Max(2, value / 2));
|
Padding = new Padding(Math.Max(2, value / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnPaintFill(Graphics g, GraphicsPath path)
|
|
||||||
{
|
|
||||||
g.Clear(Color.White);
|
|
||||||
}
|
|
||||||
|
|
||||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
||||||
[Localizable(true)]
|
[Localizable(true)]
|
||||||
[Editor("System.Windows.Forms.Design.ListControlStringCollectionEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
|
[Editor("System.Windows.Forms.Design.ListControlStringCollectionEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
|
||||||
|
@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
@ -395,10 +395,10 @@ namespace Sunny.UI
|
|||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
if (bar != null)
|
if (bar != null)
|
||||||
{
|
{
|
||||||
bar.ForeColor = uiColor.PrimaryColor;
|
bar.ForeColor = uiColor.ListBarForeColor;
|
||||||
bar.HoverColor = uiColor.ButtonFillHoverColor;
|
bar.HoverColor = uiColor.ButtonFillHoverColor;
|
||||||
bar.PressColor = uiColor.ButtonFillPressColor;
|
bar.PressColor = uiColor.ButtonFillPressColor;
|
||||||
bar.FillColor = Color.White;
|
bar.FillColor = uiColor.ListBarFillColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
hoverColor = uiColor.ListItemHoverColor;
|
hoverColor = uiColor.ListItemHoverColor;
|
||||||
@ -406,10 +406,11 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
listbox.HoverColor = hoverColor;
|
listbox.HoverColor = hoverColor;
|
||||||
listbox.SetStyleColor(uiColor);
|
listbox.SetStyleColor(uiColor);
|
||||||
listbox.BackColor = Color.White;
|
listbox.BackColor = uiColor.ListBackColor;
|
||||||
|
listbox.ForeColor = uiColor.ListForeColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
fillColor = Color.White;
|
fillColor = uiColor.ListBackColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void AfterSetFillColor(Color color)
|
protected override void AfterSetFillColor(Color color)
|
||||||
@ -419,11 +420,6 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
listbox.BackColor = color;
|
listbox.BackColor = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bar != null)
|
|
||||||
{
|
|
||||||
bar.FillColor = color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void AfterSetForeColor(Color color)
|
protected override void AfterSetForeColor(Color color)
|
||||||
|
@ -901,12 +901,12 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
button.SetStyleColor(uiColor);
|
button.SetStyleColor(uiColor);
|
||||||
button.FillColor = uiColor.PlainColor;
|
button.FillColor = uiColor.PlainColor;
|
||||||
button.SymbolColor = button.ForeColor = uiColor.RectColor;
|
button.SymbolColor = button.ForeColor = uiColor.PaginationForeColor;
|
||||||
button.FillSelectedColor = uiColor.ButtonFillColor;
|
button.FillSelectedColor = uiColor.ButtonFillColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
btnSelect.FillColor = uiColor.PlainColor;
|
btnSelect.FillColor = uiColor.PlainColor;
|
||||||
btnSelect.ForeColor = uiColor.RectColor;
|
btnSelect.ForeColor = uiColor.PaginationForeColor;
|
||||||
btnSelect.FillSelectedColor = uiColor.ButtonFillColor;
|
btnSelect.FillSelectedColor = uiColor.ButtonFillColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -560,8 +560,12 @@ namespace Sunny.UI
|
|||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
UIStyleHelper.SetChildUIStyle(this, style);
|
UIStyleHelper.SetChildUIStyle(this, style);
|
||||||
|
|
||||||
UIBaseStyle uiColor = UIStyles.GetStyleColor(style);
|
if (!style.IsCustom())
|
||||||
if (!uiColor.IsCustom()) SetStyleColor(uiColor);
|
{
|
||||||
|
SetStyleColor(style.Colors());
|
||||||
|
Invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
_style = style;
|
_style = style;
|
||||||
this.ResumeLayout();
|
this.ResumeLayout();
|
||||||
}
|
}
|
||||||
@ -580,7 +584,6 @@ namespace Sunny.UI
|
|||||||
fillReadOnlyColor = uiColor.FillDisableColor;
|
fillReadOnlyColor = uiColor.FillDisableColor;
|
||||||
rectReadOnlyColor = uiColor.RectDisableColor;
|
rectReadOnlyColor = uiColor.RectDisableColor;
|
||||||
foreReadOnlyColor = uiColor.ForeDisableColor;
|
foreReadOnlyColor = uiColor.ForeDisableColor;
|
||||||
Invalidate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -173,6 +173,21 @@ namespace Sunny.UI
|
|||||||
DrawUpDownArrow(e.Graphics, up_state, GetUpRect(), true);
|
DrawUpDownArrow(e.Graphics, up_state, GetUpRect(), true);
|
||||||
DrawUpDownArrow(e.Graphics, down_state, GetDownRect(), false);
|
DrawUpDownArrow(e.Graphics, down_state, GetDownRect(), false);
|
||||||
DrawValueBar(e.Graphics, value_state);
|
DrawValueBar(e.Graphics, value_state);
|
||||||
|
if (ShowLeftLine)
|
||||||
|
{
|
||||||
|
e.Graphics.DrawLine(RectColor, 0, 0, 0, Height);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool showLeftLine;
|
||||||
|
[DefaultValue(false)]
|
||||||
|
public bool ShowLeftLine
|
||||||
|
{
|
||||||
|
get => showLeftLine; set
|
||||||
|
{
|
||||||
|
showLeftLine = value;
|
||||||
|
Invalidate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawValueBar(Graphics g, DrawItemState state)
|
private void DrawValueBar(Graphics g, DrawItemState state)
|
||||||
@ -452,6 +467,17 @@ namespace Sunny.UI
|
|||||||
set => SetForeColor(value);
|
set => SetForeColor(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 字体颜色
|
||||||
|
/// </summary>
|
||||||
|
[Description("字体颜色"), Category("SunnyUI")]
|
||||||
|
[DefaultValue(typeof(Color), "80, 160, 255")]
|
||||||
|
public Color RectColor
|
||||||
|
{
|
||||||
|
get => rectColor;
|
||||||
|
set => SetRectColor(value);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 填充颜色,当值为背景色或透明色或空值则不填充
|
/// 填充颜色,当值为背景色或透明色或空值则不填充
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -135,6 +135,8 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
Color color = Enabled ? TitleColor : UIDisableColor.Fill;
|
Color color = Enabled ? TitleColor : UIDisableColor.Fill;
|
||||||
g.FillPath(color, path);
|
g.FillPath(color, path);
|
||||||
|
if (Height > TitleHeight)
|
||||||
|
g.DrawLine(RectColor, 0, TitleHeight, Width, TitleHeight);
|
||||||
|
|
||||||
color = Enabled ? TitleForeColor : UIFontColor.Regular;
|
color = Enabled ? TitleForeColor : UIFontColor.Regular;
|
||||||
SizeF sf = g.MeasureString(Text, Font);
|
SizeF sf = g.MeasureString(Text, Font);
|
||||||
|
@ -86,7 +86,6 @@ namespace Sunny.UI
|
|||||||
set => view.TreeNodeStateSync = value;
|
set => view.TreeNodeStateSync = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void View_AfterLabelEdit(object sender, NodeLabelEditEventArgs e)
|
private void View_AfterLabelEdit(object sender, NodeLabelEditEventArgs e)
|
||||||
{
|
{
|
||||||
AfterLabelEdit?.Invoke(this, e);
|
AfterLabelEdit?.Invoke(this, e);
|
||||||
@ -163,20 +162,20 @@ namespace Sunny.UI
|
|||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
if (view != null)
|
if (view != null)
|
||||||
{
|
{
|
||||||
view.SelectedForeColor = UIColor.White;
|
view.SelectedForeColor = uiColor.TreeViewForeColor;
|
||||||
view.FillColor = view.BackColor = fillColor = UIColor.White;
|
view.FillColor = view.BackColor = fillColor = uiColor.TreeViewBackColor;
|
||||||
|
|
||||||
rectColor = uiColor.RectColor;
|
rectColor = uiColor.RectColor;
|
||||||
view.SelectedColor = uiColor.TreeViewSelectedColor;
|
view.SelectedColor = uiColor.TreeViewSelectedColor;
|
||||||
view.ForeColor = foreColor = UIFontColor.Primary;
|
view.ForeColor = foreColor = uiColor.TreeViewForeColor;
|
||||||
view.HoverColor = uiColor.TreeViewHoverColor;
|
view.HoverColor = uiColor.TreeViewHoverColor;
|
||||||
|
LineColor = uiColor.TreeViewLineColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Bar != null)
|
if (Bar != null)
|
||||||
{
|
{
|
||||||
Bar.FillColor = UIColor.White;
|
Bar.FillColor = uiColor.TreeViewBarFillColor;
|
||||||
|
Bar.ForeColor = uiColor.TreeViewBarForeColor;
|
||||||
Bar.ForeColor = uiColor.PrimaryColor;
|
|
||||||
Bar.HoverColor = uiColor.ButtonFillHoverColor;
|
Bar.HoverColor = uiColor.ButtonFillHoverColor;
|
||||||
Bar.PressColor = uiColor.ButtonFillPressColor;
|
Bar.PressColor = uiColor.ButtonFillPressColor;
|
||||||
}
|
}
|
||||||
|
@ -918,6 +918,7 @@ namespace Sunny.UI
|
|||||||
if (ShowTitle)
|
if (ShowTitle)
|
||||||
{
|
{
|
||||||
e.Graphics.FillRectangle(titleColor, 0, 0, Width, TitleHeight);
|
e.Graphics.FillRectangle(titleColor, 0, 0, Width, TitleHeight);
|
||||||
|
e.Graphics.DrawLine(RectColor, 0, titleHeight, Width, titleHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ShowRect)
|
if (ShowRect)
|
||||||
@ -1235,9 +1236,9 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
public virtual void SetStyleColor(UIBaseStyle uiColor)
|
public virtual void SetStyleColor(UIBaseStyle uiColor)
|
||||||
{
|
{
|
||||||
controlBoxForeColor = UIStyles.Blue.FormControlBoxForeColor;
|
controlBoxForeColor = uiColor.FormControlBoxForeColor;
|
||||||
controlBoxFillHoverColor = UIStyles.Blue.FormControlBoxFillHoverColor;
|
controlBoxFillHoverColor = uiColor.FormControlBoxFillHoverColor;
|
||||||
ControlBoxCloseFillHoverColor = UIStyles.Blue.FormControlBoxCloseFillHoverColor;
|
ControlBoxCloseFillHoverColor = uiColor.FormControlBoxCloseFillHoverColor;
|
||||||
rectColor = uiColor.FormRectColor;
|
rectColor = uiColor.FormRectColor;
|
||||||
foreColor = uiColor.FormForeColor;
|
foreColor = uiColor.FormForeColor;
|
||||||
BackColor = uiColor.FormBackColor;
|
BackColor = uiColor.FormBackColor;
|
||||||
|
@ -109,6 +109,7 @@ namespace Sunny.UI
|
|||||||
//ContextMenu
|
//ContextMenu
|
||||||
public virtual Color ContextMenuColor { get; protected set; }
|
public virtual Color ContextMenuColor { get; protected set; }
|
||||||
public virtual Color ContextMenuSelectedColor { get; protected set; }
|
public virtual Color ContextMenuSelectedColor { get; protected set; }
|
||||||
|
public virtual Color ContextMenuForeColor { get; protected set; }
|
||||||
|
|
||||||
//ScrollBar
|
//ScrollBar
|
||||||
public virtual Color ScrollBarFillColor { get; protected set; }
|
public virtual Color ScrollBarFillColor { get; protected set; }
|
||||||
@ -180,10 +181,19 @@ namespace Sunny.UI
|
|||||||
public virtual Color ListItemSelectBackColor { get; protected set; }
|
public virtual Color ListItemSelectBackColor { get; protected set; }
|
||||||
public virtual Color ListItemSelectForeColor { get; protected set; }
|
public virtual Color ListItemSelectForeColor { get; protected set; }
|
||||||
public virtual Color ListItemHoverColor { get; protected set; }
|
public virtual Color ListItemHoverColor { get; protected set; }
|
||||||
|
public virtual Color ListBarFillColor { get; protected set; }
|
||||||
|
public virtual Color ListBarForeColor { get; protected set; }
|
||||||
|
public virtual Color ListBackColor { get; protected set; }
|
||||||
|
public virtual Color ListForeColor { get; protected set; }
|
||||||
|
|
||||||
//TreeView
|
//TreeView
|
||||||
public virtual Color TreeViewSelectedColor { get; protected set; }
|
public virtual Color TreeViewSelectedColor { get; protected set; }
|
||||||
public virtual Color TreeViewHoverColor { get; protected set; }
|
public virtual Color TreeViewHoverColor { get; protected set; }
|
||||||
|
public virtual Color TreeViewBarFillColor { get; protected set; }
|
||||||
|
public virtual Color TreeViewBarForeColor { get; protected set; }
|
||||||
|
public virtual Color TreeViewForeColor { get; protected set; }
|
||||||
|
public virtual Color TreeViewBackColor { get; protected set; }
|
||||||
|
public virtual Color TreeViewLineColor { get; protected set; }
|
||||||
|
|
||||||
//TextBox
|
//TextBox
|
||||||
public virtual Color EditorBackColor { get; protected set; }
|
public virtual Color EditorBackColor { get; protected set; }
|
||||||
@ -196,6 +206,19 @@ namespace Sunny.UI
|
|||||||
public virtual Color GridLineColor { get; protected set; }
|
public virtual Color GridLineColor { get; protected set; }
|
||||||
public virtual Color GridTitleColor { get; protected set; }
|
public virtual Color GridTitleColor { get; protected set; }
|
||||||
public virtual Color GridTitleForeColor { get; protected set; }
|
public virtual Color GridTitleForeColor { get; protected set; }
|
||||||
|
public virtual Color GridForeColor { get; protected set; }
|
||||||
|
public virtual Color GridBarFillColor { get; protected set; }
|
||||||
|
public virtual Color GridBarForeColor { get; protected set; }
|
||||||
|
|
||||||
|
//DataGridViewFooter
|
||||||
|
public virtual Color DataGridViewFooterForeColor { get; protected set; }
|
||||||
|
|
||||||
|
//Pagination
|
||||||
|
public virtual Color PaginationForeColor { get; protected set; }
|
||||||
|
|
||||||
|
//FlowLayoutPanel
|
||||||
|
public virtual Color FlowLayoutPanelBarFillColor { get; protected set; }
|
||||||
|
public virtual Color FlowLayoutPanelBarForeColor { get; protected set; }
|
||||||
|
|
||||||
protected virtual void Init(Color color, UIStyle style, Color foreColor)
|
protected virtual void Init(Color color, UIStyle style, Color foreColor)
|
||||||
{
|
{
|
||||||
@ -216,11 +239,14 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
GridSelectedColor = colors[3];
|
GridSelectedColor = colors[3];
|
||||||
GridSelectedForeColor = UIFontColor.Primary;
|
GridSelectedForeColor = UIFontColor.Primary;
|
||||||
GridStripeEvenColor = foreColor;
|
GridStripeEvenColor = Color.White;
|
||||||
GridStripeOddColor = PlainColor;
|
GridStripeOddColor = PlainColor;
|
||||||
GridLineColor = PrimaryColor;
|
GridLineColor = PrimaryColor;
|
||||||
GridTitleColor = PrimaryColor;
|
GridTitleColor = PrimaryColor;
|
||||||
GridTitleForeColor = foreColor;
|
GridTitleForeColor = foreColor;
|
||||||
|
GridForeColor = UIFontColor.Primary;
|
||||||
|
GridBarFillColor = PlainColor;
|
||||||
|
GridBarForeColor = PrimaryColor;
|
||||||
|
|
||||||
FormTitleColor = PrimaryColor;
|
FormTitleColor = PrimaryColor;
|
||||||
FormTitleForeColor = foreColor;
|
FormTitleForeColor = foreColor;
|
||||||
@ -293,6 +319,7 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
ContextMenuColor = PlainColor;
|
ContextMenuColor = PlainColor;
|
||||||
ContextMenuSelectedColor = PrimaryColor;
|
ContextMenuSelectedColor = PrimaryColor;
|
||||||
|
ContextMenuForeColor = UIFontColor.Primary;
|
||||||
|
|
||||||
ScrollBarFillColor = PlainColor;
|
ScrollBarFillColor = PlainColor;
|
||||||
ScrollBarForeColor = PrimaryColor;
|
ScrollBarForeColor = PrimaryColor;
|
||||||
@ -330,13 +357,29 @@ namespace Sunny.UI
|
|||||||
ListItemSelectBackColor = PrimaryColor;
|
ListItemSelectBackColor = PrimaryColor;
|
||||||
ListItemSelectForeColor = PlainColor;
|
ListItemSelectForeColor = PlainColor;
|
||||||
ListItemHoverColor = colors[3];
|
ListItemHoverColor = colors[3];
|
||||||
|
ListBarFillColor = PlainColor;
|
||||||
|
ListBarForeColor = PrimaryColor;
|
||||||
|
ListBackColor = Color.White;
|
||||||
|
ListForeColor = UIFontColor.Primary;
|
||||||
|
|
||||||
TreeViewSelectedColor = PrimaryColor;
|
TreeViewSelectedColor = PrimaryColor;
|
||||||
TreeViewHoverColor = colors[3];
|
TreeViewHoverColor = colors[3];
|
||||||
|
TreeViewBarFillColor = PlainColor;
|
||||||
|
TreeViewBarForeColor = PrimaryColor;
|
||||||
|
TreeViewForeColor = UIFontColor.Primary;
|
||||||
|
TreeViewBackColor = Color.White;
|
||||||
|
TreeViewLineColor = UIFontColor.Primary;
|
||||||
|
|
||||||
EditorBackColor = UIColor.White;
|
EditorBackColor = UIColor.White;
|
||||||
|
|
||||||
NavMenuMenuSelectedColor = PrimaryColor;
|
NavMenuMenuSelectedColor = PrimaryColor;
|
||||||
|
|
||||||
|
DataGridViewFooterForeColor = UIFontColor.Primary;
|
||||||
|
|
||||||
|
PaginationForeColor = PrimaryColor;
|
||||||
|
|
||||||
|
FlowLayoutPanelBarFillColor = PlainColor;
|
||||||
|
FlowLayoutPanelBarForeColor = PrimaryColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void LoadFromFile()
|
public virtual void LoadFromFile()
|
||||||
@ -429,7 +472,100 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
public UIDarkBlueStyle()
|
public UIDarkBlueStyle()
|
||||||
{
|
{
|
||||||
base.Init(UIColor.DarkBlue, UIStyle.DarkBlue, Color.White);
|
base.Init(UIColor.Blue, UIStyle.DarkBlue, Color.White);
|
||||||
|
|
||||||
|
PrimaryColor = UIColor.DarkBlue;
|
||||||
|
RectColor = Color.FromArgb(18, 58, 92);
|
||||||
|
PlainColor = UIColor.DarkBlue;
|
||||||
|
Color ForeColor = Color.White;
|
||||||
|
|
||||||
|
Color[] colors = Color.White.GradientColors(PrimaryColor, 16);
|
||||||
|
Color[] colors1 = PrimaryColor.GradientColors(Color.Black, 16);
|
||||||
|
|
||||||
|
FormTitleColor = colors1[2];
|
||||||
|
FormTitleForeColor = ForeColor;
|
||||||
|
FormForeColor = ForeColor;
|
||||||
|
FormRectColor = RectColor;
|
||||||
|
FormControlBoxFillHoverColor = colors[12];
|
||||||
|
FormControlBoxCloseFillHoverColor = UIColor.Red;
|
||||||
|
FormBackColor = PrimaryColor;
|
||||||
|
FormControlBoxForeColor = ForeColor;
|
||||||
|
|
||||||
|
PageBackColor = PlainColor;
|
||||||
|
PageRectColor = PrimaryColor;
|
||||||
|
PageForeColor = ForeColor;
|
||||||
|
PageTitleFillColor = Color.FromArgb(76, 76, 76);
|
||||||
|
PageTitleForeColor = ForeColor;
|
||||||
|
|
||||||
|
AvatarFillColor = Color.Silver;
|
||||||
|
AvatarForeColor = PrimaryColor;
|
||||||
|
|
||||||
|
LabelForeColor = ForeColor;
|
||||||
|
|
||||||
|
LineForeColor = ForeColor;
|
||||||
|
LineFillColor = PlainColor;
|
||||||
|
LineRectColor = ForeColor;
|
||||||
|
|
||||||
|
CheckBoxForeColor = ForeColor;
|
||||||
|
|
||||||
|
ContextMenuColor = Color.FromArgb(18, 58, 92);
|
||||||
|
ContextMenuSelectedColor = Color.FromArgb(80, 160, 255);
|
||||||
|
ContextMenuForeColor = ForeColor;
|
||||||
|
|
||||||
|
PanelForeColor = ForeColor;
|
||||||
|
PanelRectColor = RectColor;
|
||||||
|
PanelFillColor = PlainColor;
|
||||||
|
PanelFillColor2 = PlainColor;
|
||||||
|
PanelTitleColor = FormTitleColor;
|
||||||
|
PanelTitleForeColor = ForeColor;
|
||||||
|
|
||||||
|
TrackBarFillColor = PlainColor;
|
||||||
|
TrackBarForeColor = UIColor.Blue;
|
||||||
|
TrackBarRectColor = UIColor.Blue;
|
||||||
|
TrackDisableColor = Color.Silver;
|
||||||
|
|
||||||
|
BreadcrumbUnSelectedColor = Color.Silver;
|
||||||
|
|
||||||
|
ImageButtonForeColor = ForeColor;
|
||||||
|
|
||||||
|
BatteryFillColor = PrimaryColor;
|
||||||
|
|
||||||
|
DataGridViewFooterForeColor = ForeColor;
|
||||||
|
|
||||||
|
GridSelectedColor = colors[13];
|
||||||
|
GridSelectedForeColor = ForeColor;
|
||||||
|
GridStripeEvenColor = PlainColor;
|
||||||
|
GridStripeOddColor = PlainColor;
|
||||||
|
GridLineColor = RectColor;
|
||||||
|
GridTitleColor = Color.FromArgb(16, 45, 92);
|
||||||
|
GridTitleForeColor = ForeColor;
|
||||||
|
GridForeColor = ForeColor;
|
||||||
|
GridBarFillColor = PlainColor;
|
||||||
|
GridBarForeColor = ForeColor;
|
||||||
|
|
||||||
|
TreeViewSelectedColor = PrimaryColor;
|
||||||
|
TreeViewHoverColor = colors[13];
|
||||||
|
TreeViewBarFillColor = PlainColor;
|
||||||
|
TreeViewBarForeColor = ForeColor;
|
||||||
|
TreeViewForeColor = ForeColor;
|
||||||
|
TreeViewBackColor = PlainColor;
|
||||||
|
TreeViewLineColor = ForeColor;
|
||||||
|
|
||||||
|
PaginationForeColor = ForeColor;
|
||||||
|
|
||||||
|
FlowLayoutPanelBarFillColor = PlainColor;
|
||||||
|
FlowLayoutPanelBarForeColor = ForeColor;
|
||||||
|
|
||||||
|
ListItemSelectBackColor = UIColor.Blue;
|
||||||
|
ListItemSelectForeColor = ForeColor;
|
||||||
|
ListItemHoverColor = colors[13];
|
||||||
|
ListBarFillColor = PlainColor;
|
||||||
|
ListBarForeColor = ForeColor;
|
||||||
|
ListBackColor = PlainColor;
|
||||||
|
ListForeColor = ForeColor;
|
||||||
|
|
||||||
|
ScrollBarFillColor = PlainColor;
|
||||||
|
ScrollBarForeColor = ForeColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user