diff --git a/Bin/SunnyUI.dll b/Bin/SunnyUI.dll index ed9e982c..c0971255 100644 Binary files a/Bin/SunnyUI.dll and b/Bin/SunnyUI.dll differ diff --git a/Bin/SunnyUI.pdb b/Bin/SunnyUI.pdb index f6bafd9d..346183f3 100644 Binary files a/Bin/SunnyUI.pdb and b/Bin/SunnyUI.pdb differ diff --git a/SunnyUI.Demo/Bin/SunnyUI.Demo.exe b/SunnyUI.Demo/Bin/SunnyUI.Demo.exe index 0f9120af..f12da415 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.Demo.exe and b/SunnyUI.Demo/Bin/SunnyUI.Demo.exe differ diff --git a/SunnyUI.Demo/Bin/SunnyUI.dll b/SunnyUI.Demo/Bin/SunnyUI.dll index ed9e982c..c0971255 100644 Binary files a/SunnyUI.Demo/Bin/SunnyUI.dll and b/SunnyUI.Demo/Bin/SunnyUI.dll differ diff --git a/SunnyUI.Demo/Forms/FDialogs.Designer.cs b/SunnyUI.Demo/Forms/FDialogs.Designer.cs index 0dbdc3dc..f36d31ed 100644 --- a/SunnyUI.Demo/Forms/FDialogs.Designer.cs +++ b/SunnyUI.Demo/Forms/FDialogs.Designer.cs @@ -458,7 +458,7 @@ this.uiLine7.Name = "uiLine7"; this.uiLine7.Size = new System.Drawing.Size(670, 20); this.uiLine7.TabIndex = 66; - this.uiLine7.Text = "MessageTip"; + this.uiLine7.Text = "UIMessageTip"; this.uiLine7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // uiSymbolButton7 diff --git a/SunnyUI.Demo/Forms/FDialogs.cs b/SunnyUI.Demo/Forms/FDialogs.cs index 9197165e..b4a45144 100644 --- a/SunnyUI.Demo/Forms/FDialogs.cs +++ b/SunnyUI.Demo/Forms/FDialogs.cs @@ -135,17 +135,17 @@ namespace Sunny.UI.Demo private void uiSymbolButton9_Click(object sender, EventArgs e) { - MessageTip.ShowOk("轻便消息提示框 - 成功"); + UIMessageTip.ShowOk("轻便消息提示框 - 成功"); } private void uiSymbolButton8_Click(object sender, EventArgs e) { - MessageTip.ShowWarning("轻便消息提示框 - 警告", 1000, true); + UIMessageTip.ShowWarning("轻便消息提示框 - 警告", 1000, true); } private void uiSymbolButton7_Click(object sender, EventArgs e) { - MessageTip.ShowError("轻便消息提示框 - 错误"); + UIMessageTip.ShowError("轻便消息提示框 - 错误"); } } } \ No newline at end of file diff --git a/SunnyUI/Controls/UIEdit.cs b/SunnyUI/Controls/UIEdit.cs index 4fc1c8a8..520b31c4 100644 --- a/SunnyUI/Controls/UIEdit.cs +++ b/SunnyUI/Controls/UIEdit.cs @@ -1,4 +1,25 @@ -using System; +/****************************************************************************** + * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。 + * CopyRight (C) 2012-2020 ShenYongHua(沈永华). + * QQ群:56829229 QQ:17612584 EMail:SunnyUI@qq.com + * + * Blog: https://www.cnblogs.com/yhuse + * Gitee: https://gitee.com/yhuse/SunnyUI + * GitHub: https://github.com/yhuse/SunnyUI + * + * SunnyUI.dll can be used for free under the GPL-3.0 license. + * If you use this code, please keep this note. + * 如果您使用此代码,请保留此说明。 + ****************************************************************************** + * 文件名称: UIEdit.cs + * 文件说明: 文本输入框 + * 当前版本: V2.2 + * 创建日期: 2020-01-01 + * + * 2020-01-01: V2.2.0 增加文件说明 +******************************************************************************/ + +using System; using System.ComponentModel; using System.Globalization; using System.Runtime.InteropServices; diff --git a/SunnyUI/Static/UMessageTip.cs b/SunnyUI/Static/UMessageTip.cs index bd6e588d..42cf186b 100644 --- a/SunnyUI/Static/UMessageTip.cs +++ b/SunnyUI/Static/UMessageTip.cs @@ -12,9 +12,9 @@ * 如果您使用此代码,请保留此说明。 ****************************************************************************** * 文件名称: UMessageTip.cs - * 文件说明: MessageTip,轻快型消息提示窗 + * 文件说明: UIMessageTip,轻快型消息提示窗 * 文件作者: AhDung - * 引用地址: https://www.cnblogs.com/ahdung/p/MessageTip.html + * 引用地址: https://www.cnblogs.com/ahdung/p/UIMessageTip.html * 当前版本: V2.0.0.2 ******************************************************************************/ @@ -36,7 +36,7 @@ namespace Sunny.UI /// /// 轻便消息窗 /// - public static class MessageTip + public static class UIMessageTip { //默认字体。当样式中的Font==null时用该字体替换 private static readonly Font DefaultFont = new Font(SystemFonts.MessageBoxFont.FontFamily, 12); @@ -79,7 +79,7 @@ namespace Sunny.UI /// public static int Delay { get; set; } - static MessageTip() + static UIMessageTip() { Fade = 100; Floating = true; diff --git a/SunnyUI/Style/UIMenuStyle.cs b/SunnyUI/Style/UIMenuStyle.cs index 0f7014d4..6aa02f06 100644 --- a/SunnyUI/Style/UIMenuStyle.cs +++ b/SunnyUI/Style/UIMenuStyle.cs @@ -1,4 +1,25 @@ -using System.Drawing; +/****************************************************************************** + * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。 + * CopyRight (C) 2012-2020 ShenYongHua(沈永华). + * QQ群:56829229 QQ:17612584 EMail:SunnyUI@qq.com + * + * Blog: https://www.cnblogs.com/yhuse + * Gitee: https://gitee.com/yhuse/SunnyUI + * GitHub: https://github.com/yhuse/SunnyUI + * + * SunnyUI.dll can be used for free under the GPL-3.0 license. + * If you use this code, please keep this note. + * 如果您使用此代码,请保留此说明。 + ****************************************************************************** + * 文件名称: UIMenuStyle.cs + * 文件说明: 控件样式定义类 + * 当前版本: V2.2 + * 创建日期: 2020-01-01 + * + * 2020-01-01: V2.2.0 增加文件说明 +******************************************************************************/ + +using System.Drawing; namespace Sunny.UI { @@ -58,4 +79,4 @@ namespace Sunny.UI public override Color UnSelectedForeColor => UIFontColor.Primary; public override Color HoverColor => Color.FromArgb(230, 230, 230); } -} +} \ No newline at end of file diff --git a/SunnyUI/Units/UListEx.cs b/SunnyUI/Units/UListEx.cs index 6f2ec8e6..2466430c 100644 --- a/SunnyUI/Units/UListEx.cs +++ b/SunnyUI/Units/UListEx.cs @@ -1,4 +1,25 @@ -using System; +/****************************************************************************** + * SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。 + * CopyRight (C) 2012-2020 ShenYongHua(沈永华). + * QQ群:56829229 QQ:17612584 EMail:SunnyUI@qq.com + * + * Blog: https://www.cnblogs.com/yhuse + * Gitee: https://gitee.com/yhuse/SunnyUI + * GitHub: https://github.com/yhuse/SunnyUI + * + * SunnyUI.dll can be used for free under the GPL-3.0 license. + * If you use this code, please keep this note. + * 如果您使用此代码,请保留此说明。 + ****************************************************************************** + * 文件名称: UListEx.cs + * 文件说明: 带增加、删除事件的List列表 + * 当前版本: V2.2 + * 创建日期: 2020-01-01 + * + * 2020-01-01: V2.2.0 增加文件说明 +******************************************************************************/ + +using System; using System.Collections.Generic; namespace Sunny.UI