* 更新一些控件的字体图标
This commit is contained in:
parent
dc503f0eea
commit
42c453820c
@ -456,6 +456,7 @@ namespace Sunny.UI
|
||||
btnOK.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
|
||||
btnOK.Size = new Size(95, 26);
|
||||
btnOK.Style = UIStyle.Custom;
|
||||
btnOK.SymbolOffset = new Point(0, 1);
|
||||
btnOK.TabIndex = 12;
|
||||
btnOK.Text = "确定";
|
||||
btnOK.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||
@ -471,7 +472,8 @@ namespace Sunny.UI
|
||||
btnCancel.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
|
||||
btnCancel.Size = new Size(95, 26);
|
||||
btnCancel.Style = UIStyle.Custom;
|
||||
btnCancel.Symbol = 61453;
|
||||
btnCancel.Symbol = 361453;
|
||||
btnCancel.SymbolOffset = new Point(0, 1);
|
||||
btnCancel.TabIndex = 13;
|
||||
btnCancel.Text = "取消";
|
||||
btnCancel.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/******************************************************************************
|
||||
/******************************************************************************
|
||||
* SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
|
||||
* CopyRight (C) 2012-2025 ShenYongHua(沈永华).
|
||||
* QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
|
||||
@ -102,11 +102,11 @@ namespace Sunny.UI
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle5 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle11 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle12 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle13 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle14 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle dataGridViewCellStyle15 = new DataGridViewCellStyle();
|
||||
panel = new UIPanel();
|
||||
btnCancel = new UISymbolButton();
|
||||
btnOK = new UISymbolButton();
|
||||
@ -159,9 +159,11 @@ namespace Sunny.UI
|
||||
btnCancel.Size = new System.Drawing.Size(80, 29);
|
||||
btnCancel.Style = UIStyle.Custom;
|
||||
btnCancel.StyleCustomMode = true;
|
||||
btnCancel.Symbol = 61453;
|
||||
btnCancel.Symbol = 361453;
|
||||
btnCancel.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnCancel.TabIndex = 1;
|
||||
btnCancel.Text = "取消";
|
||||
btnCancel.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||||
btnCancel.Click += btnCancel_Click;
|
||||
//
|
||||
// btnOK
|
||||
@ -173,33 +175,35 @@ namespace Sunny.UI
|
||||
btnOK.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
btnOK.Name = "btnOK";
|
||||
btnOK.Size = new System.Drawing.Size(80, 29);
|
||||
btnOK.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnOK.TabIndex = 0;
|
||||
btnOK.Text = "确定";
|
||||
btnOK.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||||
btnOK.Click += btnOK_Click;
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(243, 249, 255);
|
||||
dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(243, 249, 255);
|
||||
dataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridView.BackgroundColor = System.Drawing.Color.FromArgb(243, 249, 255);
|
||||
dataGridView.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
|
||||
dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle12.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = DataGridViewTriState.True;
|
||||
dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(220, 236, 255);
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False;
|
||||
dataGridView.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle13.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(220, 236, 255);
|
||||
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle13.WrapMode = DataGridViewTriState.False;
|
||||
dataGridView.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
dataGridView.Dock = DockStyle.Fill;
|
||||
dataGridView.EnableHeadersVisualStyles = false;
|
||||
dataGridView.Font = new System.Drawing.Font("宋体", 12F);
|
||||
@ -207,19 +211,19 @@ namespace Sunny.UI
|
||||
dataGridView.Location = new System.Drawing.Point(0, 44);
|
||||
dataGridView.MultiSelect = false;
|
||||
dataGridView.Name = "dataGridView";
|
||||
dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(243, 249, 255);
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle4.WrapMode = DataGridViewTriState.True;
|
||||
dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(220, 236, 255);
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle14.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(243, 249, 255);
|
||||
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F);
|
||||
dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(80, 160, 255);
|
||||
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle14.WrapMode = DataGridViewTriState.True;
|
||||
dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle14;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle15.ForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(220, 236, 255);
|
||||
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.Color.FromArgb(48, 48, 48);
|
||||
dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle15;
|
||||
dataGridView.SelectedIndex = -1;
|
||||
dataGridView.Size = new System.Drawing.Size(569, 245);
|
||||
dataGridView.TabIndex = 3;
|
||||
@ -252,10 +256,12 @@ namespace Sunny.UI
|
||||
btnClear.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
btnClear.Name = "btnClear";
|
||||
btnClear.Size = new System.Drawing.Size(80, 29);
|
||||
btnClear.Symbol = 61666;
|
||||
btnClear.Symbol = 361666;
|
||||
btnClear.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnClear.SymbolSize = 22;
|
||||
btnClear.TabIndex = 2;
|
||||
btnClear.Text = "清除";
|
||||
btnClear.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||||
btnClear.Click += btnClear_Click;
|
||||
//
|
||||
// btnSearch
|
||||
@ -267,9 +273,11 @@ namespace Sunny.UI
|
||||
btnSearch.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
btnSearch.Name = "btnSearch";
|
||||
btnSearch.Size = new System.Drawing.Size(80, 29);
|
||||
btnSearch.Symbol = 61442;
|
||||
btnSearch.Symbol = 361442;
|
||||
btnSearch.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnSearch.TabIndex = 1;
|
||||
btnSearch.Text = "搜索";
|
||||
btnSearch.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||||
btnSearch.Click += btnSearch_Click;
|
||||
//
|
||||
// edtFilter
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
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
|
||||
|
@ -78,6 +78,7 @@ namespace Sunny.UI
|
||||
treeView.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
treeView.Name = "treeView";
|
||||
treeView.RadiusSides = UICornerRadiusSides.None;
|
||||
treeView.ScrollBarStyleInherited = false;
|
||||
treeView.ShowText = false;
|
||||
treeView.Size = new System.Drawing.Size(250, 176);
|
||||
treeView.TabIndex = 0;
|
||||
@ -129,6 +130,7 @@ namespace Sunny.UI
|
||||
btnCancel.Size = new System.Drawing.Size(80, 29);
|
||||
btnCancel.StyleCustomMode = true;
|
||||
btnCancel.Symbol = 361453;
|
||||
btnCancel.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnCancel.SymbolSize = 22;
|
||||
btnCancel.TabIndex = 1;
|
||||
btnCancel.Text = "取消";
|
||||
@ -144,6 +146,7 @@ namespace Sunny.UI
|
||||
btnOK.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
btnOK.Name = "btnOK";
|
||||
btnOK.Size = new System.Drawing.Size(80, 29);
|
||||
btnOK.SymbolOffset = new System.Drawing.Point(0, 1);
|
||||
btnOK.SymbolSize = 22;
|
||||
btnOK.TabIndex = 0;
|
||||
btnOK.Text = "确定";
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
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
|
||||
|
@ -270,7 +270,7 @@ namespace Sunny.UI
|
||||
tabPage3.Controls.Add(p3);
|
||||
tabPage3.Location = new Point(0, 40);
|
||||
tabPage3.Name = "tabPage3";
|
||||
tabPage3.Size = new Size(461, 277);
|
||||
tabPage3.Size = new Size(200, 60);
|
||||
tabPage3.TabIndex = 2;
|
||||
tabPage3.Text = "tabPage3";
|
||||
tabPage3.UseVisualStyleBackColor = true;
|
||||
@ -285,7 +285,7 @@ namespace Sunny.UI
|
||||
p3.MinimumSize = new Size(1, 1);
|
||||
p3.Name = "p3";
|
||||
p3.RadiusSides = UICornerRadiusSides.None;
|
||||
p3.Size = new Size(461, 277);
|
||||
p3.Size = new Size(200, 60);
|
||||
p3.Style = UIStyle.Custom;
|
||||
p3.TabIndex = 2;
|
||||
p3.Text = null;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user