* 为增加XML文档文件准备
This commit is contained in:
parent
2171220e91
commit
5dfcc25664
@ -4,6 +4,8 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
internal class ColorSlider : LabelRotate
|
internal class ColorSlider : LabelRotate
|
||||||
{
|
{
|
||||||
public event EventHandler SelectedValueChanged;
|
public event EventHandler SelectedValueChanged;
|
||||||
@ -301,4 +303,7 @@ namespace Sunny.UI
|
|||||||
SelectedHSLColor = m_selectedColor;
|
SelectedHSLColor = m_selectedColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -7,6 +7,8 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
[ToolboxItem(false)]
|
[ToolboxItem(false)]
|
||||||
public sealed class UIColorTable : LabelRotate
|
public sealed class UIColorTable : LabelRotate
|
||||||
{
|
{
|
||||||
@ -383,4 +385,7 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -7,6 +7,8 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
[ToolboxItem(false)]
|
[ToolboxItem(false)]
|
||||||
public sealed class UIColorWheel : Control, IStyleInterface, IZoomScale
|
public sealed class UIColorWheel : Control, IStyleInterface, IZoomScale
|
||||||
{
|
{
|
||||||
@ -341,4 +343,7 @@ namespace Sunny.UI
|
|||||||
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
|
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
|
||||||
public string TagString { get; set; }
|
public string TagString { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -5,6 +5,8 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct HSLColor
|
public struct HSLColor
|
||||||
{
|
{
|
||||||
private double m_hue;
|
private double m_hue;
|
||||||
@ -325,4 +327,7 @@ namespace Sunny.UI
|
|||||||
return ImageList().Images[(int)index];
|
return ImageList().Images[(int)index];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -4,6 +4,8 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
[ToolboxItem(false)]
|
[ToolboxItem(false)]
|
||||||
public class LabelRotate : Control, IStyleInterface, IZoomScale
|
public class LabelRotate : Control, IStyleInterface, IZoomScale
|
||||||
{
|
{
|
||||||
@ -261,4 +263,7 @@ namespace Sunny.UI
|
|||||||
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
|
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
|
||||||
public string TagString { get; set; }
|
public string TagString { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -91,7 +91,7 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
private Color foreColor;
|
private Color foreColor;
|
||||||
|
|
||||||
// <summary>
|
/// <summary>
|
||||||
/// Tag字符串
|
/// Tag字符串
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue(null)]
|
[DefaultValue(null)]
|
||||||
|
@ -62,6 +62,8 @@ to represent the company, product, or service to which they refer.
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// FontAwesome.ttf V4.7
|
/// FontAwesome.ttf V4.7
|
||||||
/// 61440..62176
|
/// 61440..62176
|
||||||
@ -1248,4 +1250,7 @@ namespace Sunny.UI
|
|||||||
public const int icon_globe_alt = 0xe0de;
|
public const int icon_globe_alt = 0xe0de;
|
||||||
public const int icon_clipboard = 0xe0e6;
|
public const int icon_clipboard = 0xe0e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -62,6 +62,8 @@ to represent the company, product, or service to which they refer.
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// fa-regular-400.ttf
|
/// fa-regular-400.ttf
|
||||||
/// 2021-01-13 Release 5.15.2
|
/// 2021-01-13 Release 5.15.2
|
||||||
@ -1699,4 +1701,7 @@ namespace Sunny.UI
|
|||||||
public const int fa_yen_sign = 0xf157;
|
public const int fa_yen_sign = 0xf157;
|
||||||
public const int fa_yin_yang = 0xf6ad;
|
public const int fa_yin_yang = 0xf6ad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -25,6 +25,8 @@ using System.Drawing;
|
|||||||
|
|
||||||
namespace Sunny.UI
|
namespace Sunny.UI
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public class UIBaseStyle
|
public class UIBaseStyle
|
||||||
{
|
{
|
||||||
public virtual UIStyle Name { get; protected set; }
|
public virtual UIStyle Name { get; protected set; }
|
||||||
@ -715,4 +717,7 @@ namespace Sunny.UI
|
|||||||
SplitContainerArrowColor = UIColor.Blue;
|
SplitContainerArrowColor = UIColor.Blue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -21,6 +21,7 @@
|
|||||||
<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>True</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
@ -5,6 +5,8 @@ using System.Runtime.InteropServices;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public static class Win32Helper
|
public static class Win32Helper
|
||||||
{
|
{
|
||||||
public static readonly IntPtr TRUE = new IntPtr(1);
|
public static readonly IntPtr TRUE = new IntPtr(1);
|
||||||
@ -38,9 +40,9 @@ namespace Sunny.UI.Win32
|
|||||||
//获取缓冲区地址
|
//获取缓冲区地址
|
||||||
IntPtr byteAddress = Marshal.UnsafeAddrOfPinnedArrayElement(buffer, 0);
|
IntPtr byteAddress = Marshal.UnsafeAddrOfPinnedArrayElement(buffer, 0);
|
||||||
//打开一个已存在的进程对象 0x1F0FFF 最高权限
|
//打开一个已存在的进程对象 0x1F0FFF 最高权限
|
||||||
IntPtr hProcess =Kernel.OpenProcess(0x1F0FFF, false, GetPidByProcessName(processName));
|
IntPtr hProcess = Kernel.OpenProcess(0x1F0FFF, false, GetPidByProcessName(processName));
|
||||||
//将制定内存中的值读入缓冲区
|
//将制定内存中的值读入缓冲区
|
||||||
Kernel.ReadProcessMemory(hProcess, (IntPtr)baseAddress, byteAddress, buffer.Length,System.IntPtr.Zero);
|
Kernel.ReadProcessMemory(hProcess, (IntPtr)baseAddress, byteAddress, buffer.Length, System.IntPtr.Zero);
|
||||||
//关闭操作
|
//关闭操作
|
||||||
Kernel.CloseHandle(hProcess);
|
Kernel.CloseHandle(hProcess);
|
||||||
}
|
}
|
||||||
@ -185,4 +187,7 @@ namespace Sunny.UI.Win32
|
|||||||
|
|
||||||
public delegate void TimerSetEventCallback(int uTimerID, uint uMsg, uint dwUser, UIntPtr dw1, UIntPtr dw2);
|
public delegate void TimerSetEventCallback(int uTimerID, uint uMsg, uint dwUser, UIntPtr dw1, UIntPtr dw2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -1,5 +1,7 @@
|
|||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public abstract class ERROR
|
public abstract class ERROR
|
||||||
{
|
{
|
||||||
public const int CACHE_E_FIRST = unchecked((int)0x80040170);
|
public const int CACHE_E_FIRST = unchecked((int)0x80040170);
|
||||||
@ -925,5 +927,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const int VIEW_S_FIRST = 0x40140;
|
public const int VIEW_S_FIRST = 0x40140;
|
||||||
public const int VIEW_S_LAST = 0x4014F;
|
public const int VIEW_S_LAST = 0x4014F;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
|
}
|
@ -6,6 +6,8 @@ using HWND = System.IntPtr;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct XFORM
|
public struct XFORM
|
||||||
{
|
{
|
||||||
public double eM11;
|
public double eM11;
|
||||||
@ -1996,4 +1998,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const int WHITE_PEN = 6;
|
public const int WHITE_PEN = 6;
|
||||||
public const int WINDING = 2;
|
public const int WINDING = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -7,6 +7,8 @@ using HWND = System.IntPtr;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct OVERLAPPED
|
public struct OVERLAPPED
|
||||||
{
|
{
|
||||||
public int Internal;
|
public int Internal;
|
||||||
@ -2394,4 +2396,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const string SE_TCB_NAME = "SeTcbPrivilege";
|
public const string SE_TCB_NAME = "SeTcbPrivilege";
|
||||||
public const string SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege";
|
public const string SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -7,6 +7,8 @@ using HWND = System.IntPtr;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct SMPTE
|
public struct SMPTE
|
||||||
{
|
{
|
||||||
public byte hour;
|
public byte hour;
|
||||||
@ -1484,6 +1486,8 @@ namespace Sunny.UI.Win32
|
|||||||
public const int WOM_DONE = MM_WOM_DONE;
|
public const int WOM_DONE = MM_WOM_DONE;
|
||||||
public const int WOM_OPEN = MM_WOM_OPEN;
|
public const int WOM_OPEN = MM_WOM_OPEN;
|
||||||
public const string CFSEPCHAR = "+";
|
public const string CFSEPCHAR = "+";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -7,6 +7,8 @@ using HWND = System.IntPtr;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct NETRESOURCE
|
public struct NETRESOURCE
|
||||||
{
|
{
|
||||||
public int dwScope;
|
public int dwScope;
|
||||||
@ -209,4 +211,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const int WN_SUCCESS = ERROR.NO_ERROR;
|
public const int WN_SUCCESS = ERROR.NO_ERROR;
|
||||||
public const int WN_WINDOWS_ERROR = ERROR.ERROR_UNEXP_NET_ERR;
|
public const int WN_WINDOWS_ERROR = ERROR.ERROR_UNEXP_NET_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -4,6 +4,8 @@ using HWND = System.IntPtr;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct DRAGINFO
|
public struct DRAGINFO
|
||||||
{
|
{
|
||||||
public int uSize;
|
public int uSize;
|
||||||
@ -186,4 +188,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const int SHGNLI_PIDL = 0x1;
|
public const int SHGNLI_PIDL = 0x1;
|
||||||
public const int SHGNLI_PREFIXNAME = 0x2;
|
public const int SHGNLI_PREFIXNAME = 0x2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -4,10 +4,11 @@ using System.Text;
|
|||||||
using HANDLE = System.IntPtr;
|
using HANDLE = System.IntPtr;
|
||||||
using HDC = System.IntPtr;
|
using HDC = System.IntPtr;
|
||||||
using HWND = System.IntPtr;
|
using HWND = System.IntPtr;
|
||||||
#pragma warning disable CS0618 // 类型或成员已过时
|
|
||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct CBTACTIVATESTRUCT
|
public struct CBTACTIVATESTRUCT
|
||||||
{
|
{
|
||||||
public int fMouse;
|
public int fMouse;
|
||||||
@ -2537,4 +2538,7 @@ namespace Sunny.UI.Win32
|
|||||||
public const string SZDDESYS_TOPIC = "System";
|
public const string SZDDESYS_TOPIC = "System";
|
||||||
public const string SZDDE_ITEM_ITEMLIST = "TopicItemList";
|
public const string SZDDE_ITEM_ITEMLIST = "TopicItemList";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
}
|
}
|
@ -2,6 +2,8 @@ using System.Runtime.InteropServices;
|
|||||||
|
|
||||||
namespace Sunny.UI.Win32
|
namespace Sunny.UI.Win32
|
||||||
{
|
{
|
||||||
|
#pragma warning disable CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
public struct RECT
|
public struct RECT
|
||||||
{
|
{
|
||||||
public int Left;
|
public int Left;
|
||||||
@ -144,5 +146,7 @@ namespace Sunny.UI.Win32
|
|||||||
public short wSecond;
|
public short wSecond;
|
||||||
public short wMilliseconds;
|
public short wMilliseconds;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
#pragma warning restore CS0618 // 类型或成员已过时
|
||||||
|
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user