V3.2.1
This commit is contained in:
parent
839099490a
commit
1a0aee96a3
Binary file not shown.
Binary file not shown.
12520
SunnyUI.Demo/Bin/SunnyUI.xml
Normal file
12520
SunnyUI.Demo/Bin/SunnyUI.xml
Normal file
File diff suppressed because it is too large
Load Diff
61
SunnyUI.Demo/Controls/FAvatar.Designer.cs
generated
61
SunnyUI.Demo/Controls/FAvatar.Designer.cs
generated
@ -47,6 +47,8 @@ namespace Sunny.UI.Demo
|
|||||||
this.更改密码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.更改密码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.uiLine2 = new Sunny.UI.UILine();
|
||||||
|
this.uiGifAvatar1 = new Sunny.UI.UIGifAvatar();
|
||||||
this.uiContextMenuStrip1.SuspendLayout();
|
this.uiContextMenuStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@ -60,6 +62,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel5.TabIndex = 36;
|
this.uiLabel5.TabIndex = 36;
|
||||||
this.uiLabel5.Text = "文字";
|
this.uiLabel5.Text = "文字";
|
||||||
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLabel6
|
// uiLabel6
|
||||||
//
|
//
|
||||||
@ -71,6 +74,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel6.TabIndex = 35;
|
this.uiLabel6.TabIndex = 35;
|
||||||
this.uiLabel6.Text = "图标";
|
this.uiLabel6.Text = "图标";
|
||||||
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiAvatar5
|
// uiAvatar5
|
||||||
//
|
//
|
||||||
@ -84,6 +88,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar5.Size = new System.Drawing.Size(60, 60);
|
this.uiAvatar5.Size = new System.Drawing.Size(60, 60);
|
||||||
this.uiAvatar5.TabIndex = 34;
|
this.uiAvatar5.TabIndex = 34;
|
||||||
this.uiAvatar5.Text = "Avatar";
|
this.uiAvatar5.Text = "Avatar";
|
||||||
|
this.uiAvatar5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiAvatar6
|
// uiAvatar6
|
||||||
//
|
//
|
||||||
@ -97,6 +102,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar6.SymbolSize = 48;
|
this.uiAvatar6.SymbolSize = 48;
|
||||||
this.uiAvatar6.TabIndex = 33;
|
this.uiAvatar6.TabIndex = 33;
|
||||||
this.uiAvatar6.Text = "uiAvatar6";
|
this.uiAvatar6.Text = "uiAvatar6";
|
||||||
|
this.uiAvatar6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLine1
|
// uiLine1
|
||||||
//
|
//
|
||||||
@ -108,6 +114,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLine1.TabIndex = 32;
|
this.uiLine1.TabIndex = 32;
|
||||||
this.uiLine1.Text = "UIAvatar";
|
this.uiLine1.Text = "UIAvatar";
|
||||||
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLine1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLine1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLabel4
|
// uiLabel4
|
||||||
//
|
//
|
||||||
@ -119,6 +126,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel4.TabIndex = 31;
|
this.uiLabel4.TabIndex = 31;
|
||||||
this.uiLabel4.Text = "左键菜单";
|
this.uiLabel4.Text = "左键菜单";
|
||||||
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLabel3
|
// uiLabel3
|
||||||
//
|
//
|
||||||
@ -130,6 +138,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel3.TabIndex = 30;
|
this.uiLabel3.TabIndex = 30;
|
||||||
this.uiLabel3.Text = "文字";
|
this.uiLabel3.Text = "文字";
|
||||||
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLabel2
|
// uiLabel2
|
||||||
//
|
//
|
||||||
@ -141,6 +150,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel2.TabIndex = 29;
|
this.uiLabel2.TabIndex = 29;
|
||||||
this.uiLabel2.Text = "图标";
|
this.uiLabel2.Text = "图标";
|
||||||
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiLabel1
|
// uiLabel1
|
||||||
//
|
//
|
||||||
@ -152,6 +162,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLabel1.TabIndex = 28;
|
this.uiLabel1.TabIndex = 28;
|
||||||
this.uiLabel1.Text = "图片";
|
this.uiLabel1.Text = "图片";
|
||||||
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiAvatar4
|
// uiAvatar4
|
||||||
//
|
//
|
||||||
@ -164,6 +175,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar4.Symbol = 61715;
|
this.uiAvatar4.Symbol = 61715;
|
||||||
this.uiAvatar4.TabIndex = 27;
|
this.uiAvatar4.TabIndex = 27;
|
||||||
this.uiAvatar4.Text = "uiAvatar4";
|
this.uiAvatar4.Text = "uiAvatar4";
|
||||||
|
this.uiAvatar4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
this.uiAvatar4.Click += new System.EventHandler(this.uiAvatar4_Click);
|
this.uiAvatar4.Click += new System.EventHandler(this.uiAvatar4_Click);
|
||||||
//
|
//
|
||||||
// uiAvatar3
|
// uiAvatar3
|
||||||
@ -177,6 +189,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar3.Size = new System.Drawing.Size(60, 60);
|
this.uiAvatar3.Size = new System.Drawing.Size(60, 60);
|
||||||
this.uiAvatar3.TabIndex = 26;
|
this.uiAvatar3.TabIndex = 26;
|
||||||
this.uiAvatar3.Text = "Avatar";
|
this.uiAvatar3.Text = "Avatar";
|
||||||
|
this.uiAvatar3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiAvatar2
|
// uiAvatar2
|
||||||
//
|
//
|
||||||
@ -190,6 +203,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar2.Size = new System.Drawing.Size(60, 60);
|
this.uiAvatar2.Size = new System.Drawing.Size(60, 60);
|
||||||
this.uiAvatar2.TabIndex = 25;
|
this.uiAvatar2.TabIndex = 25;
|
||||||
this.uiAvatar2.Text = "uiAvatar2";
|
this.uiAvatar2.Text = "uiAvatar2";
|
||||||
|
this.uiAvatar2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiAvatar1
|
// uiAvatar1
|
||||||
//
|
//
|
||||||
@ -202,9 +216,11 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiAvatar1.SymbolSize = 48;
|
this.uiAvatar1.SymbolSize = 48;
|
||||||
this.uiAvatar1.TabIndex = 24;
|
this.uiAvatar1.TabIndex = 24;
|
||||||
this.uiAvatar1.Text = "uiAvatar1";
|
this.uiAvatar1.Text = "uiAvatar1";
|
||||||
|
this.uiAvatar1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// uiContextMenuStrip1
|
// uiContextMenuStrip1
|
||||||
//
|
//
|
||||||
|
this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||||
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.设置ToolStripMenuItem,
|
this.设置ToolStripMenuItem,
|
||||||
@ -213,36 +229,63 @@ namespace Sunny.UI.Demo
|
|||||||
this.退出ToolStripMenuItem});
|
this.退出ToolStripMenuItem});
|
||||||
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
|
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
|
||||||
this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 88);
|
this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 88);
|
||||||
|
this.uiContextMenuStrip1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
// 设置ToolStripMenuItem
|
// 设置ToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.设置ToolStripMenuItem.Name = "设置ToolStripMenuItem";
|
this.设置ToolStripMenuItem.Name = "设置ToolStripMenuItem";
|
||||||
this.设置ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
this.设置ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
|
||||||
this.设置ToolStripMenuItem.Text = "设置";
|
this.设置ToolStripMenuItem.Text = "设置";
|
||||||
//
|
//
|
||||||
// 更改密码ToolStripMenuItem
|
// 更改密码ToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.更改密码ToolStripMenuItem.Name = "更改密码ToolStripMenuItem";
|
this.更改密码ToolStripMenuItem.Name = "更改密码ToolStripMenuItem";
|
||||||
this.更改密码ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
this.更改密码ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
|
||||||
this.更改密码ToolStripMenuItem.Text = "密码";
|
this.更改密码ToolStripMenuItem.Text = "密码";
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6);
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(109, 6);
|
||||||
//
|
//
|
||||||
// 退出ToolStripMenuItem
|
// 退出ToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
||||||
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
|
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
|
||||||
this.退出ToolStripMenuItem.Text = "退出";
|
this.退出ToolStripMenuItem.Text = "退出";
|
||||||
//
|
//
|
||||||
// FAvatar1
|
// uiLine2
|
||||||
|
//
|
||||||
|
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
|
this.uiLine2.Location = new System.Drawing.Point(30, 307);
|
||||||
|
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
|
this.uiLine2.Name = "uiLine2";
|
||||||
|
this.uiLine2.Size = new System.Drawing.Size(670, 20);
|
||||||
|
this.uiLine2.TabIndex = 37;
|
||||||
|
this.uiLine2.Text = "UIGifAvatar";
|
||||||
|
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
|
//
|
||||||
|
// uiGifAvatar1
|
||||||
|
//
|
||||||
|
this.uiGifAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.uiGifAvatar1.Image = global::Sunny.UI.Demo.Properties.Resources.Tom;
|
||||||
|
this.uiGifAvatar1.Location = new System.Drawing.Point(30, 340);
|
||||||
|
this.uiGifAvatar1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
|
this.uiGifAvatar1.Name = "uiGifAvatar1";
|
||||||
|
this.uiGifAvatar1.ShowScore = true;
|
||||||
|
this.uiGifAvatar1.Size = new System.Drawing.Size(128, 128);
|
||||||
|
this.uiGifAvatar1.TabIndex = 38;
|
||||||
|
this.uiGifAvatar1.Text = "uiGifAvatar1";
|
||||||
|
this.uiGifAvatar1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
|
//
|
||||||
|
// FAvatar
|
||||||
//
|
//
|
||||||
this.AllowShowTitle = true;
|
this.AllowShowTitle = true;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
this.ClientSize = new System.Drawing.Size(800, 489);
|
||||||
|
this.Controls.Add(this.uiGifAvatar1);
|
||||||
|
this.Controls.Add(this.uiLine2);
|
||||||
this.Controls.Add(this.uiLabel5);
|
this.Controls.Add(this.uiLabel5);
|
||||||
this.Controls.Add(this.uiLabel6);
|
this.Controls.Add(this.uiLabel6);
|
||||||
this.Controls.Add(this.uiAvatar5);
|
this.Controls.Add(this.uiAvatar5);
|
||||||
@ -256,7 +299,7 @@ namespace Sunny.UI.Demo
|
|||||||
this.Controls.Add(this.uiAvatar3);
|
this.Controls.Add(this.uiAvatar3);
|
||||||
this.Controls.Add(this.uiAvatar2);
|
this.Controls.Add(this.uiAvatar2);
|
||||||
this.Controls.Add(this.uiAvatar1);
|
this.Controls.Add(this.uiAvatar1);
|
||||||
this.Name = "FAvatar1";
|
this.Name = "FAvatar";
|
||||||
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
|
this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
|
||||||
this.ShowTitle = true;
|
this.ShowTitle = true;
|
||||||
this.Symbol = 61447;
|
this.Symbol = 61447;
|
||||||
@ -287,5 +330,7 @@ namespace Sunny.UI.Demo
|
|||||||
private System.Windows.Forms.ToolStripMenuItem 更改密码ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 更改密码ToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
||||||
|
private UILine uiLine2;
|
||||||
|
private UIGifAvatar uiGifAvatar1;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -7,6 +7,18 @@
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Init()
|
||||||
|
{
|
||||||
|
base.Init();
|
||||||
|
uiGifAvatar1.Active = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Final()
|
||||||
|
{
|
||||||
|
base.Final();
|
||||||
|
uiGifAvatar1.Active = false;
|
||||||
|
}
|
||||||
|
|
||||||
private void uiAvatar4_Click(object sender, System.EventArgs e)
|
private void uiAvatar4_Click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
uiContextMenuStrip1.Show(uiAvatar4, 0, uiAvatar4.Height);
|
uiContextMenuStrip1.Show(uiAvatar4, 0, uiAvatar4.Height);
|
||||||
|
@ -120,4 +120,7 @@
|
|||||||
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>44</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
40
SunnyUI.Demo/Controls/FOther.Designer.cs
generated
40
SunnyUI.Demo/Controls/FOther.Designer.cs
generated
@ -41,6 +41,8 @@ namespace Sunny.UI.Demo
|
|||||||
this.uiLine1 = new Sunny.UI.UILine();
|
this.uiLine1 = new Sunny.UI.UILine();
|
||||||
this.uiVerificationCode1 = new Sunny.UI.UIVerificationCode();
|
this.uiVerificationCode1 = new Sunny.UI.UIVerificationCode();
|
||||||
this.uiVerificationCode2 = new Sunny.UI.UIVerificationCode();
|
this.uiVerificationCode2 = new Sunny.UI.UIVerificationCode();
|
||||||
|
this.uiCalendar1 = new Sunny.UI.UICalendar();
|
||||||
|
this.uiLine2 = new Sunny.UI.UILine();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// uiLabel3
|
// uiLabel3
|
||||||
@ -144,7 +146,7 @@ namespace Sunny.UI.Demo
|
|||||||
// uiLine1
|
// uiLine1
|
||||||
//
|
//
|
||||||
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiLine1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.uiLine1.Location = new System.Drawing.Point(30, 187);
|
this.uiLine1.Location = new System.Drawing.Point(381, 187);
|
||||||
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";
|
||||||
this.uiLine1.Size = new System.Drawing.Size(319, 20);
|
this.uiLine1.Size = new System.Drawing.Size(319, 20);
|
||||||
@ -156,7 +158,7 @@ namespace Sunny.UI.Demo
|
|||||||
// uiVerificationCode1
|
// uiVerificationCode1
|
||||||
//
|
//
|
||||||
this.uiVerificationCode1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.uiVerificationCode1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.uiVerificationCode1.Location = new System.Drawing.Point(30, 225);
|
this.uiVerificationCode1.Location = new System.Drawing.Point(381, 225);
|
||||||
this.uiVerificationCode1.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiVerificationCode1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiVerificationCode1.Name = "uiVerificationCode1";
|
this.uiVerificationCode1.Name = "uiVerificationCode1";
|
||||||
this.uiVerificationCode1.Size = new System.Drawing.Size(100, 35);
|
this.uiVerificationCode1.Size = new System.Drawing.Size(100, 35);
|
||||||
@ -167,18 +169,48 @@ namespace Sunny.UI.Demo
|
|||||||
//
|
//
|
||||||
this.uiVerificationCode2.CodeLength = 6;
|
this.uiVerificationCode2.CodeLength = 6;
|
||||||
this.uiVerificationCode2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.uiVerificationCode2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.uiVerificationCode2.Location = new System.Drawing.Point(148, 225);
|
this.uiVerificationCode2.Location = new System.Drawing.Point(499, 225);
|
||||||
this.uiVerificationCode2.MinimumSize = new System.Drawing.Size(1, 1);
|
this.uiVerificationCode2.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
this.uiVerificationCode2.Name = "uiVerificationCode2";
|
this.uiVerificationCode2.Name = "uiVerificationCode2";
|
||||||
this.uiVerificationCode2.Size = new System.Drawing.Size(140, 35);
|
this.uiVerificationCode2.Size = new System.Drawing.Size(140, 35);
|
||||||
this.uiVerificationCode2.TabIndex = 82;
|
this.uiVerificationCode2.TabIndex = 82;
|
||||||
this.uiVerificationCode2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
this.uiVerificationCode2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
//
|
//
|
||||||
|
// uiCalendar1
|
||||||
|
//
|
||||||
|
this.uiCalendar1.Date = new System.DateTime(2022, 7, 3, 0, 0, 0, 0);
|
||||||
|
this.uiCalendar1.FillColor = System.Drawing.Color.White;
|
||||||
|
this.uiCalendar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.uiCalendar1.Location = new System.Drawing.Point(30, 225);
|
||||||
|
this.uiCalendar1.MinimumSize = new System.Drawing.Size(240, 180);
|
||||||
|
this.uiCalendar1.Name = "uiCalendar1";
|
||||||
|
this.uiCalendar1.PrimaryColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||||
|
this.uiCalendar1.Size = new System.Drawing.Size(319, 240);
|
||||||
|
this.uiCalendar1.TabIndex = 83;
|
||||||
|
this.uiCalendar1.Text = "uiCalendar1";
|
||||||
|
this.uiCalendar1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
this.uiCalendar1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
|
this.uiCalendar1.OnDateTimeChanged += new Sunny.UI.OnDateTimeChanged(this.uiCalendar1_OnDateTimeChanged);
|
||||||
|
//
|
||||||
|
// uiLine2
|
||||||
|
//
|
||||||
|
this.uiLine2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
|
this.uiLine2.Location = new System.Drawing.Point(30, 187);
|
||||||
|
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
||||||
|
this.uiLine2.Name = "uiLine2";
|
||||||
|
this.uiLine2.Size = new System.Drawing.Size(319, 20);
|
||||||
|
this.uiLine2.TabIndex = 84;
|
||||||
|
this.uiLine2.Text = "UIVerificationCode";
|
||||||
|
this.uiLine2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
this.uiLine2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
|
||||||
|
//
|
||||||
// FOther
|
// FOther
|
||||||
//
|
//
|
||||||
this.AllowShowTitle = true;
|
this.AllowShowTitle = true;
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||||
|
this.Controls.Add(this.uiLine2);
|
||||||
|
this.Controls.Add(this.uiCalendar1);
|
||||||
this.Controls.Add(this.uiVerificationCode2);
|
this.Controls.Add(this.uiVerificationCode2);
|
||||||
this.Controls.Add(this.uiVerificationCode1);
|
this.Controls.Add(this.uiVerificationCode1);
|
||||||
this.Controls.Add(this.uiLine1);
|
this.Controls.Add(this.uiLine1);
|
||||||
@ -211,5 +243,7 @@ namespace Sunny.UI.Demo
|
|||||||
private UILine uiLine1;
|
private UILine uiLine1;
|
||||||
private UIVerificationCode uiVerificationCode1;
|
private UIVerificationCode uiVerificationCode1;
|
||||||
private UIVerificationCode uiVerificationCode2;
|
private UIVerificationCode uiVerificationCode2;
|
||||||
|
private UICalendar uiCalendar1;
|
||||||
|
private UILine uiLine2;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -9,5 +9,10 @@
|
|||||||
uiToolTip1.SetToolTip(uiLabel3, "赠人玫瑰手有余香" + '\n' + "赠人玫瑰手有余香",
|
uiToolTip1.SetToolTip(uiLabel3, "赠人玫瑰手有余香" + '\n' + "赠人玫瑰手有余香",
|
||||||
"SunnyUI", 61530, 32, UIColor.Green);
|
"SunnyUI", 61530, 32, UIColor.Green);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void uiCalendar1_OnDateTimeChanged(object sender, UIDateTimeArgs e)
|
||||||
|
{
|
||||||
|
ShowInfoTip(uiCalendar1.Date.DateString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -120,4 +120,7 @@
|
|||||||
<metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||||
//通过使用 "*",如下所示:
|
//通过使用 "*",如下所示:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("3.2.0.0")]
|
[assembly: AssemblyVersion("3.2.1.0")]
|
||||||
[assembly: AssemblyFileVersion("3.2.0.0")]
|
[assembly: AssemblyFileVersion("3.2.1.0")]
|
||||||
|
10
SunnyUI.Demo/Properties/Resources.Designer.cs
generated
10
SunnyUI.Demo/Properties/Resources.Designer.cs
generated
@ -630,6 +630,16 @@ namespace Sunny.UI.Demo.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap Tom {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("Tom", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -262,6 +262,9 @@
|
|||||||
<data name="SunnyUISmall" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="SunnyUISmall" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\SunnyUISmall.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\SunnyUISmall.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Tom" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Tom.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="udinese" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="udinese" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\udinese.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\udinese.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
BIN
SunnyUI.Demo/Resources/Tom.gif
Normal file
BIN
SunnyUI.Demo/Resources/Tom.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 702 KiB |
@ -38,8 +38,8 @@
|
|||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="SunnyUI, Version=3.2.0.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL">
|
<Reference Include="SunnyUI, Version=3.2.1.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SunnyUI.3.2.0\lib\net40\SunnyUI.dll</HintPath>
|
<HintPath>..\packages\SunnyUI.3.2.1\lib\net40\SunnyUI.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SunnyUI.Common, Version=3.2.0.0, Culture=neutral, PublicKeyToken=5a271fb7ba597231, processorArchitecture=MSIL">
|
<Reference Include="SunnyUI.Common, Version=3.2.0.0, Culture=neutral, PublicKeyToken=5a271fb7ba597231, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SunnyUI.Common.3.2.0\lib\net40\SunnyUI.Common.dll</HintPath>
|
<HintPath>..\packages\SunnyUI.Common.3.2.0\lib\net40\SunnyUI.Common.dll</HintPath>
|
||||||
@ -718,6 +718,7 @@
|
|||||||
<None Include="Resources\8.png" />
|
<None Include="Resources\8.png" />
|
||||||
<None Include="Resources\9.png" />
|
<None Include="Resources\9.png" />
|
||||||
<None Include="Resources\Home_32x32.png" />
|
<None Include="Resources\Home_32x32.png" />
|
||||||
|
<None Include="Resources\Tom.gif" />
|
||||||
<Content Include="SunnyUI.ico" />
|
<Content Include="SunnyUI.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="SunnyUI" version="3.2.0" targetFramework="net40" />
|
<package id="SunnyUI" version="3.2.1" targetFramework="net40" />
|
||||||
<package id="SunnyUI.Common" version="3.2.0" targetFramework="net40" />
|
<package id="SunnyUI.Common" version="3.2.0" targetFramework="net40" />
|
||||||
</packages>
|
</packages>
|
@ -31,7 +31,7 @@ namespace Sunny.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本
|
/// 版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string Version = "SunnyUI.Net V3.2.0";
|
public const string Version = "SunnyUI.Net V3.2.1";
|
||||||
|
|
||||||
public const int EditorMinHeight = 20;
|
public const int EditorMinHeight = 20;
|
||||||
public const int EditorMaxHeight = 60;
|
public const int EditorMaxHeight = 60;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<Description>SunnyUI.Net 是基于.Net Framework 4.0~4.8、.Net 6 框架的 C# WinForm 开源控件库、工具类库、扩展类库、多页面开发框架。</Description>
|
<Description>SunnyUI.Net 是基于.Net Framework 4.0~4.8、.Net 6 框架的 C# WinForm 开源控件库、工具类库、扩展类库、多页面开发框架。</Description>
|
||||||
<Copyright>CopyRight © SunnyUI.Net 2012-2022</Copyright>
|
<Copyright>CopyRight © SunnyUI.Net 2012-2022</Copyright>
|
||||||
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
||||||
<Version>3.2.0</Version>
|
<Version>3.2.1</Version>
|
||||||
<Authors>ShenYonghua</Authors>
|
<Authors>ShenYonghua</Authors>
|
||||||
<Company>SunnyUI.Net</Company>
|
<Company>SunnyUI.Net</Company>
|
||||||
<PackageId>SunnyUI</PackageId>
|
<PackageId>SunnyUI</PackageId>
|
||||||
@ -17,11 +17,11 @@
|
|||||||
<RepositoryUrl>https://gitee.com/yhuse/SunnyUI</RepositoryUrl>
|
<RepositoryUrl>https://gitee.com/yhuse/SunnyUI</RepositoryUrl>
|
||||||
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
|
||||||
<PackageIcon>SunnyUI.png</PackageIcon>
|
<PackageIcon>SunnyUI.png</PackageIcon>
|
||||||
<SignAssembly>False</SignAssembly>
|
<SignAssembly>True</SignAssembly>
|
||||||
<AssemblyOriginatorKeyFile>D:\MyDocuments\SunnyUI.pfx</AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>D:\MyDocuments\SunnyUI.pfx</AssemblyOriginatorKeyFile>
|
||||||
<DelaySign>False</DelaySign>
|
<DelaySign>False</DelaySign>
|
||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
<GenerateDocumentationFile>False</GenerateDocumentationFile>
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user