统一命名,以及增加部分注释

This commit is contained in:
Sunny 2020-05-28 23:27:39 +08:00
parent 1df5a5adac
commit 3b9d4e03da
10 changed files with 75 additions and 12 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

@ -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("轻便消息提示框 - 错误");
}
}
}

View File

@ -1,4 +1,25 @@
using System;
/******************************************************************************
* SunnyUI
* CopyRight (C) 2012-2020 ShenYongHua().
* QQ群56829229 QQ17612584 EMailSunnyUI@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;

View File

@ -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
/// <summary>
/// 轻便消息窗
/// </summary>
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
/// </summary>
public static int Delay { get; set; }
static MessageTip()
static UIMessageTip()
{
Fade = 100;
Floating = true;

View File

@ -1,4 +1,25 @@
using System.Drawing;
/******************************************************************************
* SunnyUI
* CopyRight (C) 2012-2020 ShenYongHua().
* QQ群56829229 QQ17612584 EMailSunnyUI@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
{

View File

@ -1,4 +1,25 @@
using System;
/******************************************************************************
* SunnyUI
* CopyRight (C) 2012-2020 ShenYongHua().
* QQ群56829229 QQ17612584 EMailSunnyUI@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