统一命名,以及增加部分注释
This commit is contained in:
parent
1df5a5adac
commit
3b9d4e03da
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
SunnyUI.Demo/Forms/FDialogs.Designer.cs
generated
2
SunnyUI.Demo/Forms/FDialogs.Designer.cs
generated
@ -458,7 +458,7 @@
|
|||||||
this.uiLine7.Name = "uiLine7";
|
this.uiLine7.Name = "uiLine7";
|
||||||
this.uiLine7.Size = new System.Drawing.Size(670, 20);
|
this.uiLine7.Size = new System.Drawing.Size(670, 20);
|
||||||
this.uiLine7.TabIndex = 66;
|
this.uiLine7.TabIndex = 66;
|
||||||
this.uiLine7.Text = "MessageTip";
|
this.uiLine7.Text = "UIMessageTip";
|
||||||
this.uiLine7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.uiLine7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// uiSymbolButton7
|
// uiSymbolButton7
|
||||||
|
@ -135,17 +135,17 @@ namespace Sunny.UI.Demo
|
|||||||
|
|
||||||
private void uiSymbolButton9_Click(object sender, EventArgs e)
|
private void uiSymbolButton9_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
MessageTip.ShowOk("轻便消息提示框 - 成功");
|
UIMessageTip.ShowOk("轻便消息提示框 - 成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void uiSymbolButton8_Click(object sender, EventArgs e)
|
private void uiSymbolButton8_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
MessageTip.ShowWarning("轻便消息提示框 - 警告", 1000, true);
|
UIMessageTip.ShowWarning("轻便消息提示框 - 警告", 1000, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void uiSymbolButton7_Click(object sender, EventArgs e)
|
private void uiSymbolButton7_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
MessageTip.ShowError("轻便消息提示框 - 错误");
|
UIMessageTip.ShowError("轻便消息提示框 - 错误");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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.ComponentModel;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
* 如果您使用此代码,请保留此说明。
|
* 如果您使用此代码,请保留此说明。
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* 文件名称: UMessageTip.cs
|
* 文件名称: UMessageTip.cs
|
||||||
* 文件说明: MessageTip,轻快型消息提示窗
|
* 文件说明: UIMessageTip,轻快型消息提示窗
|
||||||
* 文件作者: AhDung
|
* 文件作者: AhDung
|
||||||
* 引用地址: https://www.cnblogs.com/ahdung/p/MessageTip.html
|
* 引用地址: https://www.cnblogs.com/ahdung/p/UIMessageTip.html
|
||||||
* 当前版本: V2.0.0.2
|
* 当前版本: V2.0.0.2
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ namespace Sunny.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轻便消息窗
|
/// 轻便消息窗
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class MessageTip
|
public static class UIMessageTip
|
||||||
{
|
{
|
||||||
//默认字体。当样式中的Font==null时用该字体替换
|
//默认字体。当样式中的Font==null时用该字体替换
|
||||||
private static readonly Font DefaultFont = new Font(SystemFonts.MessageBoxFont.FontFamily, 12);
|
private static readonly Font DefaultFont = new Font(SystemFonts.MessageBoxFont.FontFamily, 12);
|
||||||
@ -79,7 +79,7 @@ namespace Sunny.UI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static int Delay { get; set; }
|
public static int Delay { get; set; }
|
||||||
|
|
||||||
static MessageTip()
|
static UIMessageTip()
|
||||||
{
|
{
|
||||||
Fade = 100;
|
Fade = 100;
|
||||||
Floating = true;
|
Floating = true;
|
||||||
|
@ -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
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
@ -58,4 +79,4 @@ namespace Sunny.UI
|
|||||||
public override Color UnSelectedForeColor => UIFontColor.Primary;
|
public override Color UnSelectedForeColor => UIFontColor.Primary;
|
||||||
public override Color HoverColor => Color.FromArgb(230, 230, 230);
|
public override Color HoverColor => Color.FromArgb(230, 230, 230);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user