### 2021-02-11更新

------
#### MyDb    V2.1.2102.1101
- *.[新增]新增Auto类,增加 鼠标模拟操作和按键模拟操作。
- *.[新增]新增WinAPI命名空间,将windows自带的API集中在这个命名空间。
This commit is contained in:
鑫Intel 2021-02-11 12:04:29 +08:00
parent 57d42ca9b3
commit 19ecb75c71
85 changed files with 9260 additions and 3175 deletions

View File

@ -2107,6 +2107,188 @@
<param name="data"></param>
<returns></returns>
</member>
<member name="T:ryCommon.Auto">
<summary>
对鼠标或键盘的自动化操作
</summary>
</member>
<member name="F:ryCommon.Auto.MK_LBUTTON">
<summary>
鼠标左键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_MBUTTON">
<summary>
鼠标中键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_RBUTTON">
<summary>
鼠标右键
</summary>
</member>
<member name="M:ryCommon.Auto.KeyButton(System.IntPtr,System.Int32,System.Boolean)">
<summary>
模拟键盘按键
</summary>
<param name="hWnd"></param>
<param name="key"></param>
<param name="isPress">按下还是抬起</param>
</member>
<member name="M:ryCommon.Auto.Mouse_Wheel(System.IntPtr,System.Drawing.Point,System.Int32)">
<summary>
鼠标滚轮
</summary>
<param name="hWnd"></param>
<param name="mouse_position"></param>
<param name="delta"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Move(System.IntPtr,System.Int32,System.Drawing.Point)">
<summary>
鼠标移动
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Button(System.IntPtr,System.Windows.Forms.MouseButtons,System.Drawing.Point,System.Boolean)">
<summary>
自定义鼠标按下或抬起
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
<param name="isPress"></param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Drawing.Point)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Drawing.Point)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Drawing.Point)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Int32,System.Int32)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Drawing.Point)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Int32,System.Int32)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Drawing.Point)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Int32,System.Int32)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Drawing.Point)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.PasteText(System.String)">
<summary>
粘贴文本
</summary>
<param name="text"></param>
</member>
<member name="M:ryCommon.Auto.GetRect(System.IntPtr,System.Drawing.Size@)">
<summary>
获取指定句柄的大小及位置
</summary>
<param name="handle"></param>
<param name="size"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.SetRect(System.IntPtr,System.Drawing.Size)">
<summary>
设置指定句柄的大小
</summary>
<param name="handle"></param>
<param name="size"></param>
</member>
<member name="M:ryCommon.Auto.IsInRect(MyDb.RyWin32.RECT,System.Drawing.Point)">
<summary>
判断鼠标位置是不是在指定的矩形中
</summary>
<param name="rect"></param>
<param name="mouse_position"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.ImageEquals(System.Drawing.Bitmap,System.Drawing.Bitmap)">
<summary>
判断2张图是否相似度超90
</summary>
<param name="bmpOne"></param>
<param name="bmpTwo"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.GetXsd(System.Drawing.Color,System.Drawing.Color)">
<summary>
/获取2种颜色的相似度,范围为0~100
</summary>
<param name="c1"></param>
<param name="c2"></param>
<returns></returns>
</member>
<member name="T:ryCommon.ModalForm">
<summary>
新模态窗体
@ -2580,6 +2762,48 @@
<param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
<returns></returns>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociationOpenAs(System.String,System.String,System.String,System.String)">
<summary>
在指定文件格式右键菜单中增加菜单
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.DelFileAssociation(System.String,System.String)">
<summary>
删除文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="M:ryCommon.RyRegedit.GetFileAssociation(System.String,System.String)">
<summary>
获取文件关联是否存在
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="T:ryCommon.RyRegedit.IeMode">
<summary>
采用的IE模式
@ -4948,5 +5172,380 @@
<param name="size"></param>
<returns></returns>
</member>
<member name="T:WinAPI.Struct">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.BLENDFUNCTION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendOp">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendFlags">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.SourceConstantAlpha">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.AlphaFormat">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.FlagsSetWindowPos">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSIZE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOMOVE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREDRAW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOACTIVATE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_FRAMECHANGED">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_SHOWWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_HIDEWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOCOPYBITS">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOOWNERZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSENDCHANGING">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DRAWFRAME">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREPOSITION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DEFERERASE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_ASYNCWINDOWPOS">
<summary>
</summary>
</member>
<member name="T:WinAPI.GDI32">
<summary>
</summary>
</member>
<member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)">
<summary>
</summary>
<param name="hObject"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<param name="hgdiobj"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)">
<summary>
</summary>
<param name="driverName"></param>
<param name="deviceName"></param>
<param name="output"></param>
<param name="lpInitData"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)">
<summary>
</summary>
<param name="dc"></param>
<returns></returns>
</member>
<member name="T:Win32API.User32">
<summary>
</summary>
</member>
<member name="M:Win32API.User32.mouse_event(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
模拟鼠标点击
</summary>
<param name="dwFlags"></param>
<param name="dx"></param>
<param name="dy"></param>
<param name="dwData"></param>
<param name="dwExtraInfo"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.keybd_event(System.Windows.Forms.Keys,System.Byte,System.UInt32,System.UInt32)">
<summary>
模拟按键
</summary>
<param name="bVk"></param>
<param name="bScan"></param>
<param name="dwFlags"></param>
<param name="dwExtraInfo"></param>
</member>
<member name="M:Win32API.User32.GetWindowDC(System.IntPtr)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="x"></param>
<param name="y"></param>
<param name="width"></param>
<param name="height"></param>
<param name="repaint"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetParent(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwndChild"></param>
<param name="hwndParent"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetParent(System.IntPtr)">
<summary>
The GetParent function retrieves a handle to the specified window's parent or owner.
</summary>
<param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param>
<returns>If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="Msg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.LoadCursorFromFile(System.String)">
<summary>
</summary>
<param name="filename"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.IsWindowVisible(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.FindWindowEx(System.IntPtr,System.IntPtr,System.String,System.String)">
<summary>
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
</summary>
<param name="hwndParent">Handle to the parent window whose child windows are to be searched.</param>
<param name="hwndChildAfter">Handle to a child window.</param>
<param name="lpszClass">Specifies class name.</param>
<param name="lpszWindow">Pointer to a null-terminated string that specifies the window name (the window's title).</param>
<returns>If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.InvalidateRect(System.IntPtr,System.Drawing.Rectangle@,System.Boolean)">
<summary>
The InvalidateRect function adds a rectangle to the specified window's update region.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Rectangle coordinates.</param>
<param name="bErase">Erase state.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.ValidateRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Validation rectangle coordinates.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.GetWindowLong(System.IntPtr,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="dwStyle"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetDC(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.ReleaseDC(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.UpdateLayeredWindow(System.IntPtr,System.IntPtr,System.Drawing.Point@,System.Drawing.Size@,System.IntPtr,System.Drawing.Point@,System.Int32,WinAPI.Struct.BLENDFUNCTION@,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdcDst"></param>
<param name="pptDst"></param>
<param name="psize"></param>
<param name="hdcSrc"></param>
<param name="pprSrc"></param>
<param name="crKey"></param>
<param name="pblend"></param>
<param name="dwFlags"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowLong(System.IntPtr,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="nIndex"></param>
<param name="dwNewLong"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)">
<summary>
Changes the size, position, and Z order of a child, pop-up, or top-level window.
These windows are ordered according to their appearance on the screen.
The topmost window receives the highest rank and is the first window in the Z order.
</summary>
<param name="hWnd">A handle to the window.</param>
<param name="hWndAfter">A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.</param>
<param name="X">Specifies the new position of the left side of the window, in client coordinates.</param>
<param name="Y">Specifies the new position of the top of the window, in client coordinates.</param>
<param name="Width">Specifies the new width of the window, in pixels.</param>
<param name="Height">Specifies the new height of the window, in pixels.</param>
<param name="flags">Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.</param>
<returns>If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.</returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="hWndInsertAfter"></param>
<param name="X"></param>
<param name="Y"></param>
<param name="cx"></param>
<param name="cy"></param>
<param name="uFlags"></param>
<returns></returns>
</member>
</members>
</doc>

View File

@ -1,2 +1,2 @@
[Money_Op]
hwnd=5315574
hwnd=3875764

View File

@ -1,4 +1,4 @@
<root>
<list id="LastUpdateTime" Value="2021/1/12 15:16:09" />
<list id="LastUpdateTime" Value="2021/2/10 22:55:51" />
<list id="UpdateAfterTime" Value="0" />
</root>

View File

@ -22410,13 +22410,16 @@
</member>
<member name="P:BrightIdeasSoftware.BaseRenderer.UseCustomCheckboxImages">
<summary>
此渲染器是否将使用父ObjectListView中的自定义图像来绘制复选框图像。
Will this renderer use the custom images from the parent ObjectListView
to draw the checkbox images.
</summary>
<remarks>
<para>
如果为true则渲染器将使用StateImageList中的图像来表示复选框。0-未选中1-选中2-不确定。
If this is true, the renderer will use the images from the
StateImageList to represent checkboxes. 0 - unchecked, 1 - checked, 2 - indeterminate.
</para>
<para>如果为False(默认值),则渲染器将使用.NET的标准CheckBoxRenender。</para>
<para>If this is false (the default), then the renderer will use .NET's standard
CheckBoxRenderer.</para>
</remarks>
</member>
<member name="M:BrightIdeasSoftware.BaseRenderer.AlignRectangle(System.Drawing.Rectangle,System.Drawing.Rectangle)">
@ -23401,7 +23404,7 @@
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.#ctor(System.Object,System.Int32,System.Int32,System.Int32)">
<summary>
创建一个图像渲染器该图像渲染器最多可以绘制指定的图像的maxImages次数。
Make an image renderer that will draw the indicated image, at most maxImages times.
</summary>
<param name="imageSelector"></param>
<param name="maxImages"></param>
@ -23410,12 +23413,12 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageIndex">
<summary>
应绘制的图像索引
The index of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageName">
<summary>
应绘制的图像名称
The name of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageSelector">
@ -23426,17 +23429,17 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaxNumberImages">
<summary>
此渲染器应绘制的最大图像数
What is the maximum number of images that this renderer should draw?
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MinimumValue">
<summary>
小于或等于此值的值将不绘制图像
Values less than or equal to this will have 0 images drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaximumValue">
<summary>
大于或等于该值的值将绘制MaxNumberImages图像
Values greater than or equal to this will have MaxNumberImages images drawn
</summary>
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
@ -23493,60 +23496,60 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.UseGdiTextRendering">
<summary>
文本是否应该使用GDI例程呈现这使文本看起来更像本机列表视图控件。
</summary>
<summary>
Should text be rendered using GDI routines? This makes the text look more
like a native List view control.
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFont">
<summary>
获取或设置标题字体
Gets or set the font that will be used to draw the title of the task
</summary>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFontOrDefault">
<summary>
返回已为标题设置的字体或默认值
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColor">
<summary>
获取或设置任务标题(Title)的颜色
Gets or set the color of the title of the task
</summary>
<remarks>当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColorOrDefault">
<summary>
返回任务标题的颜色或默认值
Return the color of the title of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFont">
<summary>
获取或设置任务描述(Description)的字体
Gets or set the font that will be used to draw the description of the task
</summary>
<remarks>如果为null则使用listview的字体</remarks>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFontOrDefault">
<summary>
返回已为Description设置的字体或默认值
</summary>
<summary>
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColor">
<summary>
获取或设置任务描述(Description)的颜色
</summary>
<remarks>
当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<summary>
Gets or set the color of the description of the task
</summary>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColorOrDefault">
<summary>
返回任务描述(Description)的颜色或默认值
Return the color of the description of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.ImageTextSpace">
<summary>
获取或设置图片和文字之间的距离
Gets or sets the number of pixels that will be left between the image and the text
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TopSpace">
@ -23555,13 +23558,13 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleDescriptionSpace">
<summary>
获取或设置标题(Title)和描述(Description)之间的距离(单位:像素)
</summary>
<summary>
Gets or sets the number of pixels that will be left between the title and the description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionAspectName">
<summary>
获取或设置跟Description挂钩的模型对象名称
<summary>
Gets or sets the name of the aspect of the model object that contains the task description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.Filter">
@ -23618,42 +23621,67 @@
</member>
<member name="T:BrightIdeasSoftware.ColumnButtonRenderer">
<summary>
此渲染器在其单元格中绘制一个功能按钮
This renderer draws a functioning button in its cell
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.SizingMode">
<summary>
获取或设置按钮的大小模式
Gets or sets how each button will be sized
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonSize">
<summary>
获取或设置SizingMode为FixedBound时按钮的大小
Gets or sets the size of the button when the SizingMode is FixedBounds
</summary>
<remarks>如果未设置,将使用单元格的边界</remarks>
<remarks>If this is not set, the bounds of the cell will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonPadding">
<summary>
获取或设置当SizingMode为TextBound时单元格周围的额外空间
</summary>
<summary>
Gets or sets the extra space that surrounds the cell when the SizingMode is TextBounds
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MaxButtonWidth">
<summary>
获取或设置按钮可以占用的最大宽度
-1 表示不限制宽度
Gets or sets the maximum width that a button can occupy.
-1 means there is no maximum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MinButtonWidth">
<summary>
获取或设置按钮可以占用的最小宽度。
-1 表示不限制宽度
Gets or sets the minimum width that a button can occupy.
-1 means there is no minimum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonForeColor">
<summary>
获取或设置此列按钮的字体颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBaseColor">
<summary>
获取或设置此列按钮的背景颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBorderColor">
<summary>
获取或设置此列按钮的边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonInnerBorderColor">
<summary>
获取或设置此列按钮的内边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonDrawBorder">
<summary>
获取或设置此列按钮是否画边框(如果有按钮的话)
</summary>
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculateContentSize(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
计算内容的大小
Calculate the size of the contents
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23661,7 +23689,7 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.DrawImageAndText(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
画按钮
Draw the button
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23678,13 +23706,13 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculatePushButtonState">
<summary>
按钮的状态
What is the state of the button?
</summary>
<returns></returns>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.IsButtonHot">
<summary>
鼠标是否在按钮上
Is the mouse over the button?
</summary>
</member>
<member name="T:BrightIdeasSoftware.IItemStyle">
@ -23884,6 +23912,58 @@
</summary>
<param name="color"></param>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonNormal">
<summary>
正常为选中按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuse">
<summary>
获得焦点的按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonMouseOver">
<summary>
鼠标经过样式
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuseAndMouseOver">
<summary>
获得焦点并鼠标经过
</summary>
</member>
<member name="T:BrightIdeasSoftware.Rendering.Util_GDI">
<summary>
自定义GDI工具绘制按钮
</summary>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawCircleButton(System.String,System.Drawing.Graphics,System.Drawing.Point,System.Int32,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆形按钮(用法同矩形按钮)
</summary>
<param name="text"></param>
<param name="g"></param>
<param name="Location"></param>
<param name="r"></param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawRoundButton(System.String,System.Drawing.Graphics,System.Drawing.Rectangle,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆角按钮
</summary>
<param name="Text">要绘制的文字</param>
<param name="g">Graphics 对象</param>
<param name="rect">要填充的矩形</param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.GetRoundRectangle(System.Drawing.Rectangle,System.Int32)">
<summary>
根据普通矩形得到圆角矩形的路径
</summary>
<param name="rectangle">原始矩形</param>
<param name="r">半径</param>
<returns>图形路径</returns>
</member>
<member name="T:BrightIdeasSoftware.GlassPanelForm">
<summary>
A GlassPanelForm sits transparently over an ObjectListView to show overlays.

View File

@ -469,5 +469,21 @@
</summary>
<param name="e"></param>
</member>
<member name="T:ryUpdate.Properties.Resources">
<summary>
一个强类型的资源类,用于查找本地化的字符串等。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.ResourceManager">
<summary>
返回此类使用的缓存的 ResourceManager 实例。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.Culture">
<summary>
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
</summary>
</member>
</members>
</doc>

View File

@ -0,0 +1,22 @@
2021/2/10 22:56:28
错误描述:所请求的剪贴板操作失败。
异常堆栈: 在 System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
在 System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
在 System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
在 System.Windows.Forms.Clipboard.SetText(String text)
在 ryCommon.Auto.PasteText(String text) 位置 E:\My Datas\毕方项目\C#\睿元公用控件组\Source\MyDb\SysFuns\Auto.cs:行号 185
在 Itrycn_Project2.FrmStart.button2_Click(Object sender, EventArgs e) 位置 E:\My Datas\毕方项目\C#\睿元公用控件组\Source\Itrycn_Project2\FrmStart.cs:行号 157
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
异常方法Void ThrowIfFailed(Int32)

View File

@ -2107,6 +2107,188 @@
<param name="data"></param>
<returns></returns>
</member>
<member name="T:ryCommon.Auto">
<summary>
对鼠标或键盘的自动化操作
</summary>
</member>
<member name="F:ryCommon.Auto.MK_LBUTTON">
<summary>
鼠标左键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_MBUTTON">
<summary>
鼠标中键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_RBUTTON">
<summary>
鼠标右键
</summary>
</member>
<member name="M:ryCommon.Auto.KeyButton(System.IntPtr,System.Int32,System.Boolean)">
<summary>
模拟键盘按键
</summary>
<param name="hWnd"></param>
<param name="key"></param>
<param name="isPress">按下还是抬起</param>
</member>
<member name="M:ryCommon.Auto.Mouse_Wheel(System.IntPtr,System.Drawing.Point,System.Int32)">
<summary>
鼠标滚轮
</summary>
<param name="hWnd"></param>
<param name="mouse_position"></param>
<param name="delta"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Move(System.IntPtr,System.Int32,System.Drawing.Point)">
<summary>
鼠标移动
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Button(System.IntPtr,System.Windows.Forms.MouseButtons,System.Drawing.Point,System.Boolean)">
<summary>
自定义鼠标按下或抬起
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
<param name="isPress"></param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Drawing.Point)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Drawing.Point)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Drawing.Point)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Int32,System.Int32)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Drawing.Point)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Int32,System.Int32)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Drawing.Point)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Int32,System.Int32)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Drawing.Point)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.PasteText(System.String)">
<summary>
粘贴文本
</summary>
<param name="text"></param>
</member>
<member name="M:ryCommon.Auto.GetRect(System.IntPtr,System.Drawing.Size@)">
<summary>
获取指定句柄的大小及位置
</summary>
<param name="handle"></param>
<param name="size"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.SetRect(System.IntPtr,System.Drawing.Size)">
<summary>
设置指定句柄的大小
</summary>
<param name="handle"></param>
<param name="size"></param>
</member>
<member name="M:ryCommon.Auto.IsInRect(MyDb.RyWin32.RECT,System.Drawing.Point)">
<summary>
判断鼠标位置是不是在指定的矩形中
</summary>
<param name="rect"></param>
<param name="mouse_position"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.ImageEquals(System.Drawing.Bitmap,System.Drawing.Bitmap)">
<summary>
判断2张图是否相似度超90
</summary>
<param name="bmpOne"></param>
<param name="bmpTwo"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.GetXsd(System.Drawing.Color,System.Drawing.Color)">
<summary>
/获取2种颜色的相似度,范围为0~100
</summary>
<param name="c1"></param>
<param name="c2"></param>
<returns></returns>
</member>
<member name="T:ryCommon.ModalForm">
<summary>
新模态窗体
@ -2580,6 +2762,48 @@
<param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
<returns></returns>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociationOpenAs(System.String,System.String,System.String,System.String)">
<summary>
在指定文件格式右键菜单中增加菜单
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.DelFileAssociation(System.String,System.String)">
<summary>
删除文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="M:ryCommon.RyRegedit.GetFileAssociation(System.String,System.String)">
<summary>
获取文件关联是否存在
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="T:ryCommon.RyRegedit.IeMode">
<summary>
采用的IE模式
@ -4948,5 +5172,380 @@
<param name="size"></param>
<returns></returns>
</member>
<member name="T:WinAPI.Struct">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.BLENDFUNCTION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendOp">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendFlags">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.SourceConstantAlpha">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.AlphaFormat">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.FlagsSetWindowPos">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSIZE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOMOVE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREDRAW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOACTIVATE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_FRAMECHANGED">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_SHOWWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_HIDEWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOCOPYBITS">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOOWNERZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSENDCHANGING">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DRAWFRAME">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREPOSITION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DEFERERASE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_ASYNCWINDOWPOS">
<summary>
</summary>
</member>
<member name="T:WinAPI.GDI32">
<summary>
</summary>
</member>
<member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)">
<summary>
</summary>
<param name="hObject"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<param name="hgdiobj"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)">
<summary>
</summary>
<param name="driverName"></param>
<param name="deviceName"></param>
<param name="output"></param>
<param name="lpInitData"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)">
<summary>
</summary>
<param name="dc"></param>
<returns></returns>
</member>
<member name="T:Win32API.User32">
<summary>
</summary>
</member>
<member name="M:Win32API.User32.mouse_event(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
模拟鼠标点击
</summary>
<param name="dwFlags"></param>
<param name="dx"></param>
<param name="dy"></param>
<param name="dwData"></param>
<param name="dwExtraInfo"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.keybd_event(System.Windows.Forms.Keys,System.Byte,System.UInt32,System.UInt32)">
<summary>
模拟按键
</summary>
<param name="bVk"></param>
<param name="bScan"></param>
<param name="dwFlags"></param>
<param name="dwExtraInfo"></param>
</member>
<member name="M:Win32API.User32.GetWindowDC(System.IntPtr)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="x"></param>
<param name="y"></param>
<param name="width"></param>
<param name="height"></param>
<param name="repaint"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetParent(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwndChild"></param>
<param name="hwndParent"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetParent(System.IntPtr)">
<summary>
The GetParent function retrieves a handle to the specified window's parent or owner.
</summary>
<param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param>
<returns>If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="Msg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.LoadCursorFromFile(System.String)">
<summary>
</summary>
<param name="filename"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.IsWindowVisible(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.FindWindowEx(System.IntPtr,System.IntPtr,System.String,System.String)">
<summary>
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
</summary>
<param name="hwndParent">Handle to the parent window whose child windows are to be searched.</param>
<param name="hwndChildAfter">Handle to a child window.</param>
<param name="lpszClass">Specifies class name.</param>
<param name="lpszWindow">Pointer to a null-terminated string that specifies the window name (the window's title).</param>
<returns>If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.InvalidateRect(System.IntPtr,System.Drawing.Rectangle@,System.Boolean)">
<summary>
The InvalidateRect function adds a rectangle to the specified window's update region.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Rectangle coordinates.</param>
<param name="bErase">Erase state.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.ValidateRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Validation rectangle coordinates.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.GetWindowLong(System.IntPtr,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="dwStyle"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetDC(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.ReleaseDC(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.UpdateLayeredWindow(System.IntPtr,System.IntPtr,System.Drawing.Point@,System.Drawing.Size@,System.IntPtr,System.Drawing.Point@,System.Int32,WinAPI.Struct.BLENDFUNCTION@,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdcDst"></param>
<param name="pptDst"></param>
<param name="psize"></param>
<param name="hdcSrc"></param>
<param name="pprSrc"></param>
<param name="crKey"></param>
<param name="pblend"></param>
<param name="dwFlags"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowLong(System.IntPtr,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="nIndex"></param>
<param name="dwNewLong"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)">
<summary>
Changes the size, position, and Z order of a child, pop-up, or top-level window.
These windows are ordered according to their appearance on the screen.
The topmost window receives the highest rank and is the first window in the Z order.
</summary>
<param name="hWnd">A handle to the window.</param>
<param name="hWndAfter">A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.</param>
<param name="X">Specifies the new position of the left side of the window, in client coordinates.</param>
<param name="Y">Specifies the new position of the top of the window, in client coordinates.</param>
<param name="Width">Specifies the new width of the window, in pixels.</param>
<param name="Height">Specifies the new height of the window, in pixels.</param>
<param name="flags">Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.</param>
<returns>If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.</returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="hWndInsertAfter"></param>
<param name="X"></param>
<param name="Y"></param>
<param name="cx"></param>
<param name="cy"></param>
<param name="uFlags"></param>
<returns></returns>
</member>
</members>
</doc>

View File

@ -22410,13 +22410,16 @@
</member>
<member name="P:BrightIdeasSoftware.BaseRenderer.UseCustomCheckboxImages">
<summary>
此渲染器是否将使用父ObjectListView中的自定义图像来绘制复选框图像。
Will this renderer use the custom images from the parent ObjectListView
to draw the checkbox images.
</summary>
<remarks>
<para>
如果为true则渲染器将使用StateImageList中的图像来表示复选框。0-未选中1-选中2-不确定。
If this is true, the renderer will use the images from the
StateImageList to represent checkboxes. 0 - unchecked, 1 - checked, 2 - indeterminate.
</para>
<para>如果为False(默认值),则渲染器将使用.NET的标准CheckBoxRenender。</para>
<para>If this is false (the default), then the renderer will use .NET's standard
CheckBoxRenderer.</para>
</remarks>
</member>
<member name="M:BrightIdeasSoftware.BaseRenderer.AlignRectangle(System.Drawing.Rectangle,System.Drawing.Rectangle)">
@ -23401,7 +23404,7 @@
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.#ctor(System.Object,System.Int32,System.Int32,System.Int32)">
<summary>
创建一个图像渲染器该图像渲染器最多可以绘制指定的图像的maxImages次数。
Make an image renderer that will draw the indicated image, at most maxImages times.
</summary>
<param name="imageSelector"></param>
<param name="maxImages"></param>
@ -23410,12 +23413,12 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageIndex">
<summary>
应绘制的图像索引
The index of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageName">
<summary>
应绘制的图像名称
The name of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageSelector">
@ -23426,17 +23429,17 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaxNumberImages">
<summary>
此渲染器应绘制的最大图像数
What is the maximum number of images that this renderer should draw?
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MinimumValue">
<summary>
小于或等于此值的值将不绘制图像
Values less than or equal to this will have 0 images drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaximumValue">
<summary>
大于或等于该值的值将绘制MaxNumberImages图像
Values greater than or equal to this will have MaxNumberImages images drawn
</summary>
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
@ -23493,60 +23496,60 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.UseGdiTextRendering">
<summary>
文本是否应该使用GDI例程呈现这使文本看起来更像本机列表视图控件。
</summary>
<summary>
Should text be rendered using GDI routines? This makes the text look more
like a native List view control.
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFont">
<summary>
获取或设置标题字体
Gets or set the font that will be used to draw the title of the task
</summary>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFontOrDefault">
<summary>
返回已为标题设置的字体或默认值
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColor">
<summary>
获取或设置任务标题(Title)的颜色
Gets or set the color of the title of the task
</summary>
<remarks>当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColorOrDefault">
<summary>
返回任务标题的颜色或默认值
Return the color of the title of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFont">
<summary>
获取或设置任务描述(Description)的字体
Gets or set the font that will be used to draw the description of the task
</summary>
<remarks>如果为null则使用listview的字体</remarks>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFontOrDefault">
<summary>
返回已为Description设置的字体或默认值
</summary>
<summary>
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColor">
<summary>
获取或设置任务描述(Description)的颜色
</summary>
<remarks>
当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<summary>
Gets or set the color of the description of the task
</summary>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColorOrDefault">
<summary>
返回任务描述(Description)的颜色或默认值
Return the color of the description of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.ImageTextSpace">
<summary>
获取或设置图片和文字之间的距离
Gets or sets the number of pixels that will be left between the image and the text
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TopSpace">
@ -23555,13 +23558,13 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleDescriptionSpace">
<summary>
获取或设置标题(Title)和描述(Description)之间的距离(单位:像素)
</summary>
<summary>
Gets or sets the number of pixels that will be left between the title and the description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionAspectName">
<summary>
获取或设置跟Description挂钩的模型对象名称
<summary>
Gets or sets the name of the aspect of the model object that contains the task description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.Filter">
@ -23618,42 +23621,67 @@
</member>
<member name="T:BrightIdeasSoftware.ColumnButtonRenderer">
<summary>
此渲染器在其单元格中绘制一个功能按钮
This renderer draws a functioning button in its cell
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.SizingMode">
<summary>
获取或设置按钮的大小模式
Gets or sets how each button will be sized
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonSize">
<summary>
获取或设置SizingMode为FixedBound时按钮的大小
Gets or sets the size of the button when the SizingMode is FixedBounds
</summary>
<remarks>如果未设置,将使用单元格的边界</remarks>
<remarks>If this is not set, the bounds of the cell will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonPadding">
<summary>
获取或设置当SizingMode为TextBound时单元格周围的额外空间
</summary>
<summary>
Gets or sets the extra space that surrounds the cell when the SizingMode is TextBounds
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MaxButtonWidth">
<summary>
获取或设置按钮可以占用的最大宽度
-1 表示不限制宽度
Gets or sets the maximum width that a button can occupy.
-1 means there is no maximum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MinButtonWidth">
<summary>
获取或设置按钮可以占用的最小宽度。
-1 表示不限制宽度
Gets or sets the minimum width that a button can occupy.
-1 means there is no minimum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonForeColor">
<summary>
获取或设置此列按钮的字体颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBaseColor">
<summary>
获取或设置此列按钮的背景颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBorderColor">
<summary>
获取或设置此列按钮的边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonInnerBorderColor">
<summary>
获取或设置此列按钮的内边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonDrawBorder">
<summary>
获取或设置此列按钮是否画边框(如果有按钮的话)
</summary>
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculateContentSize(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
计算内容的大小
Calculate the size of the contents
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23661,7 +23689,7 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.DrawImageAndText(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
画按钮
Draw the button
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23678,13 +23706,13 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculatePushButtonState">
<summary>
按钮的状态
What is the state of the button?
</summary>
<returns></returns>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.IsButtonHot">
<summary>
鼠标是否在按钮上
Is the mouse over the button?
</summary>
</member>
<member name="T:BrightIdeasSoftware.IItemStyle">
@ -23884,6 +23912,58 @@
</summary>
<param name="color"></param>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonNormal">
<summary>
正常为选中按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuse">
<summary>
获得焦点的按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonMouseOver">
<summary>
鼠标经过样式
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuseAndMouseOver">
<summary>
获得焦点并鼠标经过
</summary>
</member>
<member name="T:BrightIdeasSoftware.Rendering.Util_GDI">
<summary>
自定义GDI工具绘制按钮
</summary>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawCircleButton(System.String,System.Drawing.Graphics,System.Drawing.Point,System.Int32,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆形按钮(用法同矩形按钮)
</summary>
<param name="text"></param>
<param name="g"></param>
<param name="Location"></param>
<param name="r"></param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawRoundButton(System.String,System.Drawing.Graphics,System.Drawing.Rectangle,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆角按钮
</summary>
<param name="Text">要绘制的文字</param>
<param name="g">Graphics 对象</param>
<param name="rect">要填充的矩形</param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.GetRoundRectangle(System.Drawing.Rectangle,System.Int32)">
<summary>
根据普通矩形得到圆角矩形的路径
</summary>
<param name="rectangle">原始矩形</param>
<param name="r">半径</param>
<returns>图形路径</returns>
</member>
<member name="T:BrightIdeasSoftware.GlassPanelForm">
<summary>
A GlassPanelForm sits transparently over an ObjectListView to show overlays.

View File

@ -469,5 +469,21 @@
</summary>
<param name="e"></param>
</member>
<member name="T:ryUpdate.Properties.Resources">
<summary>
一个强类型的资源类,用于查找本地化的字符串等。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.ResourceManager">
<summary>
返回此类使用的缓存的 ResourceManager 实例。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.Culture">
<summary>
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
</summary>
</member>
</members>
</doc>

View File

@ -1411,7 +1411,6 @@
<summary>
获取hosts并转换hosts内容
</summary>
<param name="list">hosts内容</param>
<returns></returns>
</member>
<member name="M:ryCommon.Hosts.AddHosts(System.String)">
@ -1588,6 +1587,81 @@
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_HIDE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNORMAL">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_NORMAL">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMINIMIZED">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMAXIMIZED">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MAXIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNOACTIVATE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOW">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MINIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMINNOACTIVE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNA">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_RESTORE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWDEFAULT">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_FORCEMINIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MAX">
<summary>
</summary>
</member>
<member name="M:ryCommon.RyFiles.DeleteFile(System.String,System.Boolean,System.Boolean,System.Boolean,System.String@)">
<summary>
删除单个文件。
@ -1764,6 +1838,7 @@
</summary>
<param name="FilePath"></param>
<param name="PramCom"></param>
<param name="lpDirectory"></param>
<returns></returns>
</member>
<member name="M:ryCommon.RyFiles.RunProc(System.String)">
@ -1812,12 +1887,14 @@
<summary>
追加日志
</summary>
<param name="path"></param>
<param name="content"></param>
</member>
<member name="M:ryCommon.RyFiles.AppendAllText(System.String,System.String)">
<summary>
追加文件
</summary>
<param name="path"></param>
<param name="content"></param>
</member>
<member name="M:ryCommon.RyFiles.ReadAllText(System.String)">
@ -2030,6 +2107,188 @@
<param name="data"></param>
<returns></returns>
</member>
<member name="T:ryCommon.Auto">
<summary>
对鼠标或键盘的自动化操作
</summary>
</member>
<member name="F:ryCommon.Auto.MK_LBUTTON">
<summary>
鼠标左键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_MBUTTON">
<summary>
鼠标中键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_RBUTTON">
<summary>
鼠标右键
</summary>
</member>
<member name="M:ryCommon.Auto.KeyButton(System.IntPtr,System.Int32,System.Boolean)">
<summary>
模拟键盘按键
</summary>
<param name="hWnd"></param>
<param name="key"></param>
<param name="isPress">按下还是抬起</param>
</member>
<member name="M:ryCommon.Auto.Mouse_Wheel(System.IntPtr,System.Drawing.Point,System.Int32)">
<summary>
鼠标滚轮
</summary>
<param name="hWnd"></param>
<param name="mouse_position"></param>
<param name="delta"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Move(System.IntPtr,System.Int32,System.Drawing.Point)">
<summary>
鼠标移动
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Button(System.IntPtr,System.Windows.Forms.MouseButtons,System.Drawing.Point,System.Boolean)">
<summary>
自定义鼠标按下或抬起
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
<param name="isPress"></param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Drawing.Point)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Drawing.Point)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Drawing.Point)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Int32,System.Int32)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Drawing.Point)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Int32,System.Int32)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Drawing.Point)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Int32,System.Int32)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Drawing.Point)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.PasteText(System.String)">
<summary>
粘贴文本
</summary>
<param name="text"></param>
</member>
<member name="M:ryCommon.Auto.GetRect(System.IntPtr,System.Drawing.Size@)">
<summary>
获取指定句柄的大小及位置
</summary>
<param name="handle"></param>
<param name="size"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.SetRect(System.IntPtr,System.Drawing.Size)">
<summary>
设置指定句柄的大小
</summary>
<param name="handle"></param>
<param name="size"></param>
</member>
<member name="M:ryCommon.Auto.IsInRect(MyDb.RyWin32.RECT,System.Drawing.Point)">
<summary>
判断鼠标位置是不是在指定的矩形中
</summary>
<param name="rect"></param>
<param name="mouse_position"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.ImageEquals(System.Drawing.Bitmap,System.Drawing.Bitmap)">
<summary>
判断2张图是否相似度超90
</summary>
<param name="bmpOne"></param>
<param name="bmpTwo"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.GetXsd(System.Drawing.Color,System.Drawing.Color)">
<summary>
/获取2种颜色的相似度,范围为0~100
</summary>
<param name="c1"></param>
<param name="c2"></param>
<returns></returns>
</member>
<member name="T:ryCommon.ModalForm">
<summary>
新模态窗体
@ -2503,6 +2762,48 @@
<param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
<returns></returns>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociationOpenAs(System.String,System.String,System.String,System.String)">
<summary>
在指定文件格式右键菜单中增加菜单
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.DelFileAssociation(System.String,System.String)">
<summary>
删除文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="M:ryCommon.RyRegedit.GetFileAssociation(System.String,System.String)">
<summary>
获取文件关联是否存在
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="T:ryCommon.RyRegedit.IeMode">
<summary>
采用的IE模式
@ -2686,6 +2987,16 @@
高级拖放事件
</summary>
</member>
<member name="F:ElevatedDragDropManager.IsVistaOrHigher">
<summary>
</summary>
</member>
<member name="F:ElevatedDragDropManager.Is7OrHigher">
<summary>
</summary>
</member>
<member name="M:ElevatedDragDropManager.#ctor">
<summary>
@ -3733,6 +4044,7 @@
获取HmacSHA256
</summary>
<param name="data"></param>
<param name="pwd"></param>
<returns></returns>
</member>
<member name="M:rySafe.MD5Sha1.GetSHA224(System.String)">
@ -4860,5 +5172,380 @@
<param name="size"></param>
<returns></returns>
</member>
<member name="T:WinAPI.Struct">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.BLENDFUNCTION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendOp">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendFlags">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.SourceConstantAlpha">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.AlphaFormat">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.FlagsSetWindowPos">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSIZE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOMOVE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREDRAW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOACTIVATE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_FRAMECHANGED">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_SHOWWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_HIDEWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOCOPYBITS">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOOWNERZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSENDCHANGING">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DRAWFRAME">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREPOSITION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DEFERERASE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_ASYNCWINDOWPOS">
<summary>
</summary>
</member>
<member name="T:WinAPI.GDI32">
<summary>
</summary>
</member>
<member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)">
<summary>
</summary>
<param name="hObject"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<param name="hgdiobj"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)">
<summary>
</summary>
<param name="driverName"></param>
<param name="deviceName"></param>
<param name="output"></param>
<param name="lpInitData"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)">
<summary>
</summary>
<param name="dc"></param>
<returns></returns>
</member>
<member name="T:Win32API.User32">
<summary>
</summary>
</member>
<member name="M:Win32API.User32.mouse_event(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
模拟鼠标点击
</summary>
<param name="dwFlags"></param>
<param name="dx"></param>
<param name="dy"></param>
<param name="dwData"></param>
<param name="dwExtraInfo"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.keybd_event(System.Windows.Forms.Keys,System.Byte,System.UInt32,System.UInt32)">
<summary>
模拟按键
</summary>
<param name="bVk"></param>
<param name="bScan"></param>
<param name="dwFlags"></param>
<param name="dwExtraInfo"></param>
</member>
<member name="M:Win32API.User32.GetWindowDC(System.IntPtr)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="x"></param>
<param name="y"></param>
<param name="width"></param>
<param name="height"></param>
<param name="repaint"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetParent(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwndChild"></param>
<param name="hwndParent"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetParent(System.IntPtr)">
<summary>
The GetParent function retrieves a handle to the specified window's parent or owner.
</summary>
<param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param>
<returns>If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="Msg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.LoadCursorFromFile(System.String)">
<summary>
</summary>
<param name="filename"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.IsWindowVisible(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.FindWindowEx(System.IntPtr,System.IntPtr,System.String,System.String)">
<summary>
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
</summary>
<param name="hwndParent">Handle to the parent window whose child windows are to be searched.</param>
<param name="hwndChildAfter">Handle to a child window.</param>
<param name="lpszClass">Specifies class name.</param>
<param name="lpszWindow">Pointer to a null-terminated string that specifies the window name (the window's title).</param>
<returns>If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.InvalidateRect(System.IntPtr,System.Drawing.Rectangle@,System.Boolean)">
<summary>
The InvalidateRect function adds a rectangle to the specified window's update region.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Rectangle coordinates.</param>
<param name="bErase">Erase state.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.ValidateRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Validation rectangle coordinates.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.GetWindowLong(System.IntPtr,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="dwStyle"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetDC(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.ReleaseDC(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.UpdateLayeredWindow(System.IntPtr,System.IntPtr,System.Drawing.Point@,System.Drawing.Size@,System.IntPtr,System.Drawing.Point@,System.Int32,WinAPI.Struct.BLENDFUNCTION@,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdcDst"></param>
<param name="pptDst"></param>
<param name="psize"></param>
<param name="hdcSrc"></param>
<param name="pprSrc"></param>
<param name="crKey"></param>
<param name="pblend"></param>
<param name="dwFlags"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowLong(System.IntPtr,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="nIndex"></param>
<param name="dwNewLong"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)">
<summary>
Changes the size, position, and Z order of a child, pop-up, or top-level window.
These windows are ordered according to their appearance on the screen.
The topmost window receives the highest rank and is the first window in the Z order.
</summary>
<param name="hWnd">A handle to the window.</param>
<param name="hWndAfter">A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.</param>
<param name="X">Specifies the new position of the left side of the window, in client coordinates.</param>
<param name="Y">Specifies the new position of the top of the window, in client coordinates.</param>
<param name="Width">Specifies the new width of the window, in pixels.</param>
<param name="Height">Specifies the new height of the window, in pixels.</param>
<param name="flags">Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.</param>
<returns>If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.</returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="hWndInsertAfter"></param>
<param name="X"></param>
<param name="Y"></param>
<param name="cx"></param>
<param name="cy"></param>
<param name="uFlags"></param>
<returns></returns>
</member>
</members>
</doc>

View File

@ -4,6 +4,21 @@
<name>MyDb_SQLite</name>
</assembly>
<members>
<member name="T:ryCommonDb.ClsDb">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.#ctor">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.Finalize">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.#ctor(System.String,System.String)">
<summary>
@ -19,6 +34,21 @@
<param name="DbFilePath">数据库路径</param>
<returns></returns>
</member>
<member name="F:ryCommonDb.ClsDb.SQLite_cn">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsDb.DbPath">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsDb.DbPassWord">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.ConnDb">
<summary>
连接数据库
@ -37,6 +67,12 @@
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.ClsDb.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
</member>
<member name="M:ryCommonDb.ClsDb.ConnOrCreateDb">
<summary>
连接或创建数据库,如果数据库不存在,就创建,否则连接
@ -172,5 +208,200 @@
</summary>
<returns></returns>
</member>
<member name="T:ryCommonDb.SQLiteDataProvider">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.SQLiteDataProvider.myDb">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ConnDb(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.CloseDb">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetCount(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.AddParameter(System.String,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ClearParameter(System.Object,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetParameter">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetParameter(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL2(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL2(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ContainsData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.BeginTransaction">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.Commit">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.DelById(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.CreateDb(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.Free">
<summary>
</summary>
</member>
</members>
</doc>

View File

@ -9,6 +9,13 @@
Http连接操作帮助类
</summary>
</member>
<member name="M:DotNet4.Utilities.HttpHelper.GetSmallCookie(System.String)">
<summary>
</summary>
<param name="strcookie"></param>
<returns></returns>
</member>
<member name="M:DotNet4.Utilities.HttpHelper.GetHtml(DotNet4.Utilities.HttpItem)">
<summary>
根据相传入的数据,得到相应页面数据
@ -227,7 +234,11 @@
header对象
</summary>
</member>
<!-- Badly formed XML comment ignored for member "P:DotNet4.Utilities.HttpItem.ProtocolVersion" -->
<member name="P:DotNet4.Utilities.HttpItem.ProtocolVersion">
<summary>
获取或设置用于请求的 HTTP 版本。返回结果:用于请求的 HTTP 版本。默认为 System.Net.HttpVersion.Version11。
</summary>
</member>
<member name="P:DotNet4.Utilities.HttpItem.Expect100Continue">
<summary>
获取或设置一个 System.Boolean 值,该值确定是否使用 100-Continue 行为。如果 POST 请求需要 100-Continue 响应,则为 true否则为 false。默认值为 true。
@ -371,6 +382,11 @@
CookieCollection格式的Cookie集合同时也返回String类型的cookie
</summary>
</member>
<member name="T:RyWeb.QuickWeb">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -422,6 +438,11 @@
<param name="url"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String,System.String)">
<summary>
获取网页源码
@ -431,12 +452,13 @@
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String,System.Text.Encoding,System.String)">
<summary>
获取网页源码
</summary>
<param name="url"></param>
<param name="cookie"></param>
<returns></returns>
<summary>
获取网页源码
</summary>
<param name="url"></param>
<param name="encoding"></param>
<param name="cookie"></param>
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String)">
<summary>
@ -445,6 +467,24 @@
<param name="url"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.Cookie">
<summary>
</summary>
</member>
<member name="P:RyWeb.QuickWeb.Timeout">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.UrlEncode(System.String,System.Text.Encoding)">
<summary>
</summary>
<param name="str"></param>
<param name="encode"></param>
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.ConvertUrl(System.String,System.String)">
<summary>
将相对网址转换成绝对网址
@ -453,6 +493,16 @@
<param name="cur_pageUrl">当前页面地址</param>
<returns>转换后的绝对网址</returns>
</member>
<member name="T:RyWeb.UrlDecoder">
<summary>
</summary>
</member>
<member name="T:RyWeb.WebDecode">
<summary>
</summary>
</member>
<member name="M:RyWeb.WebDecode.UrlDecode(System.String,System.Text.Encoding)">
<summary>
url解密
@ -473,7 +523,7 @@
Url加密
</summary>
<param name="str"></param>
<param name="e"></param>
<param name="encode"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncode(System.String)">
@ -497,6 +547,24 @@
<param name="string"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeNonAscii(System.Byte[],System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="bytes"></param>
<param name="offset"></param>
<param name="count"></param>
<param name="alwaysCreateNewReturnValue"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeNonAscii(System.String,System.Text.Encoding)">
<summary>
</summary>
<param name="str"></param>
<param name="e"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeUnicode(System.String,System.Boolean)">
<summary>
url加密,Unicode
@ -505,6 +573,20 @@
<param name="ignoreAscii"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.IsUrlSafeChar(System.Char)">
<summary>
</summary>
<param name="ch"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.IntToHex(System.Int32)">
<summary>
</summary>
<param name="n"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.ConvertHtmlInner(System.String)">
<summary>
Html解码,将html里未转义成功的重新转义。

View File

@ -22410,13 +22410,16 @@
</member>
<member name="P:BrightIdeasSoftware.BaseRenderer.UseCustomCheckboxImages">
<summary>
此渲染器是否将使用父ObjectListView中的自定义图像来绘制复选框图像。
Will this renderer use the custom images from the parent ObjectListView
to draw the checkbox images.
</summary>
<remarks>
<para>
如果为true则渲染器将使用StateImageList中的图像来表示复选框。0-未选中1-选中2-不确定。
If this is true, the renderer will use the images from the
StateImageList to represent checkboxes. 0 - unchecked, 1 - checked, 2 - indeterminate.
</para>
<para>如果为False(默认值),则渲染器将使用.NET的标准CheckBoxRenender。</para>
<para>If this is false (the default), then the renderer will use .NET's standard
CheckBoxRenderer.</para>
</remarks>
</member>
<member name="M:BrightIdeasSoftware.BaseRenderer.AlignRectangle(System.Drawing.Rectangle,System.Drawing.Rectangle)">
@ -23401,7 +23404,7 @@
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.#ctor(System.Object,System.Int32,System.Int32,System.Int32)">
<summary>
创建一个图像渲染器该图像渲染器最多可以绘制指定的图像的maxImages次数。
Make an image renderer that will draw the indicated image, at most maxImages times.
</summary>
<param name="imageSelector"></param>
<param name="maxImages"></param>
@ -23410,12 +23413,12 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageIndex">
<summary>
应绘制的图像索引
The index of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageName">
<summary>
应绘制的图像名称
The name of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageSelector">
@ -23426,17 +23429,17 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaxNumberImages">
<summary>
此渲染器应绘制的最大图像数
What is the maximum number of images that this renderer should draw?
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MinimumValue">
<summary>
小于或等于此值的值将不绘制图像
Values less than or equal to this will have 0 images drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaximumValue">
<summary>
大于或等于该值的值将绘制MaxNumberImages图像
Values greater than or equal to this will have MaxNumberImages images drawn
</summary>
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
@ -23493,60 +23496,60 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.UseGdiTextRendering">
<summary>
文本是否应该使用GDI例程呈现这使文本看起来更像本机列表视图控件。
</summary>
<summary>
Should text be rendered using GDI routines? This makes the text look more
like a native List view control.
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFont">
<summary>
获取或设置标题字体
Gets or set the font that will be used to draw the title of the task
</summary>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFontOrDefault">
<summary>
返回已为标题设置的字体或默认值
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColor">
<summary>
获取或设置任务标题(Title)的颜色
Gets or set the color of the title of the task
</summary>
<remarks>当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColorOrDefault">
<summary>
返回任务标题的颜色或默认值
Return the color of the title of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFont">
<summary>
获取或设置任务描述(Description)的字体
Gets or set the font that will be used to draw the description of the task
</summary>
<remarks>如果为null则使用listview的字体</remarks>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFontOrDefault">
<summary>
返回已为Description设置的字体或默认值
</summary>
<summary>
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColor">
<summary>
获取或设置任务描述(Description)的颜色
</summary>
<remarks>
当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<summary>
Gets or set the color of the description of the task
</summary>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColorOrDefault">
<summary>
返回任务描述(Description)的颜色或默认值
Return the color of the description of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.ImageTextSpace">
<summary>
获取或设置图片和文字之间的距离
Gets or sets the number of pixels that will be left between the image and the text
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TopSpace">
@ -23555,13 +23558,13 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleDescriptionSpace">
<summary>
获取或设置标题(Title)和描述(Description)之间的距离(单位:像素)
</summary>
<summary>
Gets or sets the number of pixels that will be left between the title and the description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionAspectName">
<summary>
获取或设置跟Description挂钩的模型对象名称
<summary>
Gets or sets the name of the aspect of the model object that contains the task description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.Filter">
@ -23618,42 +23621,67 @@
</member>
<member name="T:BrightIdeasSoftware.ColumnButtonRenderer">
<summary>
此渲染器在其单元格中绘制一个功能按钮
This renderer draws a functioning button in its cell
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.SizingMode">
<summary>
获取或设置按钮的大小模式
Gets or sets how each button will be sized
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonSize">
<summary>
获取或设置SizingMode为FixedBound时按钮的大小
Gets or sets the size of the button when the SizingMode is FixedBounds
</summary>
<remarks>如果未设置,将使用单元格的边界</remarks>
<remarks>If this is not set, the bounds of the cell will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonPadding">
<summary>
获取或设置当SizingMode为TextBound时单元格周围的额外空间
</summary>
<summary>
Gets or sets the extra space that surrounds the cell when the SizingMode is TextBounds
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MaxButtonWidth">
<summary>
获取或设置按钮可以占用的最大宽度
-1 表示不限制宽度
Gets or sets the maximum width that a button can occupy.
-1 means there is no maximum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MinButtonWidth">
<summary>
获取或设置按钮可以占用的最小宽度。
-1 表示不限制宽度
Gets or sets the minimum width that a button can occupy.
-1 means there is no minimum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonForeColor">
<summary>
获取或设置此列按钮的字体颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBaseColor">
<summary>
获取或设置此列按钮的背景颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBorderColor">
<summary>
获取或设置此列按钮的边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonInnerBorderColor">
<summary>
获取或设置此列按钮的内边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonDrawBorder">
<summary>
获取或设置此列按钮是否画边框(如果有按钮的话)
</summary>
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculateContentSize(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
计算内容的大小
Calculate the size of the contents
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23661,7 +23689,7 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.DrawImageAndText(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
画按钮
Draw the button
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23678,13 +23706,13 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculatePushButtonState">
<summary>
按钮的状态
What is the state of the button?
</summary>
<returns></returns>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.IsButtonHot">
<summary>
鼠标是否在按钮上
Is the mouse over the button?
</summary>
</member>
<member name="T:BrightIdeasSoftware.IItemStyle">
@ -23884,6 +23912,58 @@
</summary>
<param name="color"></param>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonNormal">
<summary>
正常为选中按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuse">
<summary>
获得焦点的按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonMouseOver">
<summary>
鼠标经过样式
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuseAndMouseOver">
<summary>
获得焦点并鼠标经过
</summary>
</member>
<member name="T:BrightIdeasSoftware.Rendering.Util_GDI">
<summary>
自定义GDI工具绘制按钮
</summary>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawCircleButton(System.String,System.Drawing.Graphics,System.Drawing.Point,System.Int32,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆形按钮(用法同矩形按钮)
</summary>
<param name="text"></param>
<param name="g"></param>
<param name="Location"></param>
<param name="r"></param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawRoundButton(System.String,System.Drawing.Graphics,System.Drawing.Rectangle,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆角按钮
</summary>
<param name="Text">要绘制的文字</param>
<param name="g">Graphics 对象</param>
<param name="rect">要填充的矩形</param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.GetRoundRectangle(System.Drawing.Rectangle,System.Int32)">
<summary>
根据普通矩形得到圆角矩形的路径
</summary>
<param name="rectangle">原始矩形</param>
<param name="r">半径</param>
<returns>图形路径</returns>
</member>
<member name="T:BrightIdeasSoftware.GlassPanelForm">
<summary>
A GlassPanelForm sits transparently over an ObjectListView to show overlays.

View File

@ -4,11 +4,21 @@
<name>ryUpdate</name>
</assembly>
<members>
<member name="T:LiveUpdate.ClsLiveUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.UpdateUrl">
<summary>
升级地址
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.CurUserId">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.UpdateAfterTime">
<summary>
隔多久后再次检查更新
@ -34,6 +44,21 @@
当前安装的数据库版本
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.SaveFileName">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.DownUrl">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.isExit">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.UpdateType">
<summary>
获取当前更新的类型
@ -44,17 +69,57 @@
每隔n小时检测一次更新
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnReadComplete">
<summary>
读取版本信息完成后激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnNoUpdate">
<summary>
没有版本更新时激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnUpdateComplete">
<summary>
发现新版本时激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnHappenError">
<summary>
发生错误后激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.ProgressChanged">
<summary>
更新进度变化后激发
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.StartLiveUpdate">
<summary>
开始检测新版本
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.ParentForm">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.#ctor(System.Windows.Forms.Form)">
<summary>
初始化升级函数
</summary>
<param name="ower">为null,则表示事件运行在多线程模式下,否则,事件是在窗体所在线程下</param>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.AssemblyVersion">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.AssemblyReVersion">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.GetVerInfo">
<summary>
获取版本信息
@ -80,16 +145,80 @@
结束下载
</summary>
</member>
<member name="T:LiveUpdate.RyUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.RyUpdate.myLiveUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.RyUpdate.dict_downlist">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.RyUpdate.#ctor(System.String)">
<summary>
</summary>
<param name="url"></param>
</member>
<member name="M:LiveUpdate.RyUpdate.#ctor(System.Windows.Forms.Form,System.String)">
<summary>
</summary>
<param name="_ParentForm"></param>
<param name="url"></param>
</member>
<member name="M:LiveUpdate.RyUpdate.Finalize">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.RyUpdate.CurUserId">
<summary>
当前登陆用户
</summary>
</member>
<member name="P:LiveUpdate.RyUpdate.ParentForm">
<summary>
</summary>
</member>
<member name="E:LiveUpdate.RyUpdate.OnNoUpdate">
<summary>
没有版本更新时激发
</summary>
</member>
<member name="M:LiveUpdate.RyUpdate.CheckUpdate">
<summary>
</summary>
<returns></returns>
</member>
<member name="E:LiveUpdate.RyUpdate.OnUpdateCancel">
<summary>
取消更新。
</summary>
</member>
<member name="E:LiveUpdate.RyUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="T:LiveUpdate.frmStartUpdate">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.frmStartUpdate.#ctor">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.frmStartUpdate.T_myLiveUpdate">
<summary>
设置升级
@ -100,6 +229,19 @@
是否是在线更新
</summary>
</member>
<member name="M:LiveUpdate.frmStartUpdate.RunFile(System.String,System.String)">
<summary>
</summary>
<param name="FilePath"></param>
<param name="PramCom"></param>
<returns></returns>
</member>
<member name="E:LiveUpdate.frmStartUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.frmStartUpdate.components">
<summary>
Required designer variable.
@ -117,6 +259,73 @@
the contents of this method with the code editor.
</summary>
</member>
<member name="T:LiveUpdate.FrmUpdate">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.#ctor(LiveUpdate.ClsLiveUpdate)">
<summary>
</summary>
<param name="_myLiveUpdate"></param>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_Capion">
<summary>
提示文本
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateDate">
<summary>
更新日期
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateVer">
<summary>
更新版本
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateDes">
<summary>
更新描述
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.ConvertDateStr(System.String,System.String)">
<summary>
</summary>
<param name="Str"></param>
<param name="defValue"></param>
<returns></returns>
</member>
<member name="M:LiveUpdate.FrmUpdate.SetUpdateInfo(LiveUpdate.UpdateInfo)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateAfterTime">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.FrmUpdate.canClose">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.SetForegroundWindow(System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="E:LiveUpdate.FrmUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.FrmUpdate.components">
<summary>
Required designer variable.
@ -134,6 +343,11 @@
the contents of this method with the code editor.
</summary>
</member>
<member name="T:LiveUpdate.UpdateInfo">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.UpdateInfo.UpdateType">
<summary>
更新类型,soft或者data
@ -174,5 +388,102 @@
升级程序要使用的设置xml
</summary>
</member>
<member name="T:LiveUpdate.UpdateErrorInfo">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.UpdateErrorInfo.ErrorStr">
<summary>
错误字符串
</summary>
</member>
<member name="F:LiveUpdate.UpdateErrorInfo.ErrorId">
<summary>
错误id
</summary>
</member>
<member name="T:LiveUpdate.LiveUpdateEventArgs">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.LiveUpdateEventArgs.#ctor">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentFileSize">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentFileName">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentUrl">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrProgress">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.IsCompleted">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentStatus">
<summary>
</summary>
</member>
<member name="T:LiveUpdate.LiveUpdateProgressChanged">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.OnAppExit">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.UpdateHandler">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.ErrorHandler">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="T:ryUpdate.Properties.Resources">
<summary>
一个强类型的资源类,用于查找本地化的字符串等。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.ResourceManager">
<summary>
返回此类使用的缓存的 ResourceManager 实例。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.Culture">
<summary>
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
</summary>
</member>
</members>
</doc>

View File

@ -1411,7 +1411,6 @@
<summary>
获取hosts并转换hosts内容
</summary>
<param name="list">hosts内容</param>
<returns></returns>
</member>
<member name="M:ryCommon.Hosts.AddHosts(System.String)">
@ -1588,6 +1587,81 @@
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_HIDE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNORMAL">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_NORMAL">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMINIMIZED">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMAXIMIZED">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MAXIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNOACTIVATE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOW">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MINIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWMINNOACTIVE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWNA">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_RESTORE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_SHOWDEFAULT">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_FORCEMINIMIZE">
<summary>
</summary>
</member>
<member name="F:ryCommon.RyFiles.ShowCommands.SW_MAX">
<summary>
</summary>
</member>
<member name="M:ryCommon.RyFiles.DeleteFile(System.String,System.Boolean,System.Boolean,System.Boolean,System.String@)">
<summary>
删除单个文件。
@ -1764,6 +1838,7 @@
</summary>
<param name="FilePath"></param>
<param name="PramCom"></param>
<param name="lpDirectory"></param>
<returns></returns>
</member>
<member name="M:ryCommon.RyFiles.RunProc(System.String)">
@ -1812,12 +1887,14 @@
<summary>
追加日志
</summary>
<param name="path"></param>
<param name="content"></param>
</member>
<member name="M:ryCommon.RyFiles.AppendAllText(System.String,System.String)">
<summary>
追加文件
</summary>
<param name="path"></param>
<param name="content"></param>
</member>
<member name="M:ryCommon.RyFiles.ReadAllText(System.String)">
@ -2030,6 +2107,188 @@
<param name="data"></param>
<returns></returns>
</member>
<member name="T:ryCommon.Auto">
<summary>
对鼠标或键盘的自动化操作
</summary>
</member>
<member name="F:ryCommon.Auto.MK_LBUTTON">
<summary>
鼠标左键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_MBUTTON">
<summary>
鼠标中键
</summary>
</member>
<member name="F:ryCommon.Auto.MK_RBUTTON">
<summary>
鼠标右键
</summary>
</member>
<member name="M:ryCommon.Auto.KeyButton(System.IntPtr,System.Int32,System.Boolean)">
<summary>
模拟键盘按键
</summary>
<param name="hWnd"></param>
<param name="key"></param>
<param name="isPress">按下还是抬起</param>
</member>
<member name="M:ryCommon.Auto.Mouse_Wheel(System.IntPtr,System.Drawing.Point,System.Int32)">
<summary>
鼠标滚轮
</summary>
<param name="hWnd"></param>
<param name="mouse_position"></param>
<param name="delta"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Move(System.IntPtr,System.Int32,System.Drawing.Point)">
<summary>
鼠标移动
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
</member>
<member name="M:ryCommon.Auto.Mouse_Button(System.IntPtr,System.Windows.Forms.MouseButtons,System.Drawing.Point,System.Boolean)">
<summary>
自定义鼠标按下或抬起
</summary>
<param name="hWnd"></param>
<param name="button"></param>
<param name="mouse_position"></param>
<param name="isPress"></param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.IntPtr,System.Drawing.Point)">
<summary>
左键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.IntPtr,System.Drawing.Point)">
<summary>
右键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Int32,System.Int32)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
<param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.IntPtr,System.Drawing.Point)">
<summary>
中键单击鼠标(支持后台单击)
</summary>
<param name="handle">指定要发送单击命令的句柄</param>
<param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Int32,System.Int32)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.LeftClick(System.Drawing.Point)">
<summary>
左键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Int32,System.Int32)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.RightClick(System.Drawing.Point)">
<summary>
右键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Int32,System.Int32)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="x">坐标x(屏幕坐标)</param>
<param name="y">坐标y(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.MiddleClick(System.Drawing.Point)">
<summary>
中键单击鼠标(不支持后台单击)
</summary>
<param name="point">坐标(屏幕坐标)</param>
</member>
<member name="M:ryCommon.Auto.PasteText(System.String)">
<summary>
粘贴文本
</summary>
<param name="text"></param>
</member>
<member name="M:ryCommon.Auto.GetRect(System.IntPtr,System.Drawing.Size@)">
<summary>
获取指定句柄的大小及位置
</summary>
<param name="handle"></param>
<param name="size"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.SetRect(System.IntPtr,System.Drawing.Size)">
<summary>
设置指定句柄的大小
</summary>
<param name="handle"></param>
<param name="size"></param>
</member>
<member name="M:ryCommon.Auto.IsInRect(MyDb.RyWin32.RECT,System.Drawing.Point)">
<summary>
判断鼠标位置是不是在指定的矩形中
</summary>
<param name="rect"></param>
<param name="mouse_position"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.ImageEquals(System.Drawing.Bitmap,System.Drawing.Bitmap)">
<summary>
判断2张图是否相似度超90
</summary>
<param name="bmpOne"></param>
<param name="bmpTwo"></param>
<returns></returns>
</member>
<member name="M:ryCommon.Auto.GetXsd(System.Drawing.Color,System.Drawing.Color)">
<summary>
/获取2种颜色的相似度,范围为0~100
</summary>
<param name="c1"></param>
<param name="c2"></param>
<returns></returns>
</member>
<member name="T:ryCommon.ModalForm">
<summary>
新模态窗体
@ -2503,6 +2762,48 @@
<param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
<returns></returns>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociation(System.String,System.String,System.String,System.String)">
<summary>
设置文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.SetFileAssociationOpenAs(System.String,System.String,System.String,System.String)">
<summary>
在指定文件格式右键菜单中增加菜单
</summary>
<param name="Ext">扩展名(如.apk)</param>
<param name="sName">app名称(建议用英文数字)</param>
<param name="AssDes">文件关联描述</param>
<param name="filePath">文件路径</param>
</member>
<member name="M:ryCommon.RyRegedit.DelFileAssociation(System.String,System.String)">
<summary>
删除文件关联
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="M:ryCommon.RyRegedit.GetFileAssociation(System.String,System.String)">
<summary>
获取文件关联是否存在
</summary>
<param name="ExtName">映射的扩展名(如apkfile)</param>
<param name="sName">app名称(建议用英文数字)</param>
</member>
<member name="T:ryCommon.RyRegedit.IeMode">
<summary>
采用的IE模式
@ -2686,6 +2987,16 @@
高级拖放事件
</summary>
</member>
<member name="F:ElevatedDragDropManager.IsVistaOrHigher">
<summary>
</summary>
</member>
<member name="F:ElevatedDragDropManager.Is7OrHigher">
<summary>
</summary>
</member>
<member name="M:ElevatedDragDropManager.#ctor">
<summary>
@ -3733,6 +4044,7 @@
获取HmacSHA256
</summary>
<param name="data"></param>
<param name="pwd"></param>
<returns></returns>
</member>
<member name="M:rySafe.MD5Sha1.GetSHA224(System.String)">
@ -4860,5 +5172,380 @@
<param name="size"></param>
<returns></returns>
</member>
<member name="T:WinAPI.Struct">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.BLENDFUNCTION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendOp">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.BlendFlags">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.SourceConstantAlpha">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.BLENDFUNCTION.AlphaFormat">
<summary>
</summary>
</member>
<member name="T:WinAPI.Struct.FlagsSetWindowPos">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSIZE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOMOVE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREDRAW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOACTIVATE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_FRAMECHANGED">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_SHOWWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_HIDEWINDOW">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOCOPYBITS">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOOWNERZORDER">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOSENDCHANGING">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DRAWFRAME">
<summary>
/
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_NOREPOSITION">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_DEFERERASE">
<summary>
</summary>
</member>
<member name="F:WinAPI.Struct.FlagsSetWindowPos.SWP_ASYNCWINDOWPOS">
<summary>
</summary>
</member>
<member name="T:WinAPI.GDI32">
<summary>
</summary>
</member>
<member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)">
<summary>
</summary>
<param name="hObject"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<param name="hgdiobj"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)">
<summary>
</summary>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)">
<summary>
</summary>
<param name="driverName"></param>
<param name="deviceName"></param>
<param name="output"></param>
<param name="lpInitData"></param>
<returns></returns>
</member>
<member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)">
<summary>
</summary>
<param name="dc"></param>
<returns></returns>
</member>
<member name="T:Win32API.User32">
<summary>
</summary>
</member>
<member name="M:Win32API.User32.mouse_event(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>
模拟鼠标点击
</summary>
<param name="dwFlags"></param>
<param name="dx"></param>
<param name="dy"></param>
<param name="dwData"></param>
<param name="dwExtraInfo"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.keybd_event(System.Windows.Forms.Keys,System.Byte,System.UInt32,System.UInt32)">
<summary>
模拟按键
</summary>
<param name="bVk"></param>
<param name="bScan"></param>
<param name="dwFlags"></param>
<param name="dwExtraInfo"></param>
</member>
<member name="M:Win32API.User32.GetWindowDC(System.IntPtr)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="x"></param>
<param name="y"></param>
<param name="width"></param>
<param name="height"></param>
<param name="repaint"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetParent(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwndChild"></param>
<param name="hwndParent"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetParent(System.IntPtr)">
<summary>
The GetParent function retrieves a handle to the specified window's parent or owner.
</summary>
<param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param>
<returns>If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="wMsg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="Msg"></param>
<param name="wParam"></param>
<param name="lParam"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.LoadCursorFromFile(System.String)">
<summary>
</summary>
<param name="filename"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.IsWindowVisible(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.FindWindowEx(System.IntPtr,System.IntPtr,System.String,System.String)">
<summary>
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
</summary>
<param name="hwndParent">Handle to the parent window whose child windows are to be searched.</param>
<param name="hwndChildAfter">Handle to a child window.</param>
<param name="lpszClass">Specifies class name.</param>
<param name="lpszWindow">Pointer to a null-terminated string that specifies the window name (the window's title).</param>
<returns>If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.</returns>
</member>
<member name="M:Win32API.User32.InvalidateRect(System.IntPtr,System.Drawing.Rectangle@,System.Boolean)">
<summary>
The InvalidateRect function adds a rectangle to the specified window's update region.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Rectangle coordinates.</param>
<param name="bErase">Erase state.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.ValidateRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
</summary>
<param name="hwnd">Handle to window.</param>
<param name="rect">Validation rectangle coordinates.</param>
<returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
</member>
<member name="M:Win32API.User32.GetWindowLong(System.IntPtr,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="dwStyle"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetDC(System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.ReleaseDC(System.IntPtr,System.IntPtr)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdc"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="rect"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.UpdateLayeredWindow(System.IntPtr,System.IntPtr,System.Drawing.Point@,System.Drawing.Size@,System.IntPtr,System.Drawing.Point@,System.Int32,WinAPI.Struct.BLENDFUNCTION@,System.Int32)">
<summary>
</summary>
<param name="hwnd"></param>
<param name="hdcDst"></param>
<param name="pptDst"></param>
<param name="psize"></param>
<param name="hdcSrc"></param>
<param name="pprSrc"></param>
<param name="crKey"></param>
<param name="pblend"></param>
<param name="dwFlags"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowLong(System.IntPtr,System.Int32,System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="nIndex"></param>
<param name="dwNewLong"></param>
<returns></returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)">
<summary>
Changes the size, position, and Z order of a child, pop-up, or top-level window.
These windows are ordered according to their appearance on the screen.
The topmost window receives the highest rank and is the first window in the Z order.
</summary>
<param name="hWnd">A handle to the window.</param>
<param name="hWndAfter">A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.</param>
<param name="X">Specifies the new position of the left side of the window, in client coordinates.</param>
<param name="Y">Specifies the new position of the top of the window, in client coordinates.</param>
<param name="Width">Specifies the new width of the window, in pixels.</param>
<param name="Height">Specifies the new height of the window, in pixels.</param>
<param name="flags">Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.</param>
<returns>If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.</returns>
</member>
<member name="M:Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)">
<summary>
</summary>
<param name="hWnd"></param>
<param name="hWndInsertAfter"></param>
<param name="X"></param>
<param name="Y"></param>
<param name="cx"></param>
<param name="cy"></param>
<param name="uFlags"></param>
<returns></returns>
</member>
</members>
</doc>

View File

@ -4,6 +4,39 @@
<name>MyDb_MSSQL</name>
</assembly>
<members>
<member name="T:ryCommonDb.MSSQLDb">
<summary>
</summary>
</member>
<member name="T:ryCommonDb.MSSQLDb.ErrorHandler">
<summary>
</summary>
<param name="sender"></param>
<param name="errorStr"></param>
<param name="errorId"></param>
</member>
<member name="E:ryCommonDb.MSSQLDb.OnError">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.MSSQLDb.SQL_cn">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.MSSQLDb.fv_ConnStr">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MSSQLDb.#ctor">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MSSQLDb.#ctor(System.String)">
<summary>
连接数据库
@ -20,6 +53,11 @@
<param name="uId">用户id</param>
<param name="pwd">用户密码</param>
</member>
<member name="M:ryCommonDb.MSSQLDb.Finalize">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MSSQLDb.ConnDb">
<summary>
连接数据库
@ -111,5 +149,200 @@
<param name="SQLText">SQL语句</param>
<returns>运行失败,则返回-1存在结果返回1不存在结果返回0</returns>
</member>
<member name="M:ryCommonDb.MSSQLDb.Dispose">
<summary>
</summary>
</member>
<member name="T:ryCommonDb.SqlDataProvider">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ConnDb(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.CloseDb">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetCount(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.AddParameter(System.String,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ClearParameter(System.Object,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetParameter">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetParameter(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetPageSQL(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetPageSQL(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetPageSQL2(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.GetPageSQL2(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ContainsData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ReadData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ReadData(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ReadData(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ReadData(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ExecuteNonQuery(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ExecuteNonQuery(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.ExecuteNonQuery(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.DelById(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.CreateDb(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SqlDataProvider.BeginTransaction">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SqlDataProvider.Commit">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SqlDataProvider.Free">
<summary>
</summary>
</member>
</members>
</doc>

View File

@ -4,6 +4,39 @@
<name>MyDb_MySQL</name>
</assembly>
<members>
<member name="T:ryCommonDb.ClsMySQLDb">
<summary>
</summary>
</member>
<member name="T:ryCommonDb.ClsMySQLDb.ErrorHandler">
<summary>
</summary>
<param name="sender"></param>
<param name="errorStr"></param>
<param name="errorId"></param>
</member>
<member name="E:ryCommonDb.ClsMySQLDb.OnError">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsMySQLDb.SQL_cn">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsMySQLDb.fv_ConnStr">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsMySQLDb.#ctor">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsMySQLDb.#ctor(System.String)">
<summary>
连接数据库
@ -20,6 +53,11 @@
<param name="uId">用户id</param>
<param name="pwd">用户密码</param>
</member>
<member name="M:ryCommonDb.ClsMySQLDb.Finalize">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsMySQLDb.ConnDb">
<summary>
连接数据库
@ -111,5 +149,200 @@
<param name="SQLText">SQL语句</param>
<returns>运行失败,则返回-1存在结果返回1不存在结果返回0</returns>
</member>
<member name="M:ryCommonDb.ClsMySQLDb.Dispose">
<summary>
</summary>
</member>
<member name="T:ryCommonDb.MySqlDataProvider">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ConnDb(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.CloseDb">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetCount(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.AddParameter(System.String,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ClearParameter(System.Object,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetParameter">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetParameter(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetPageSQL(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetPageSQL(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetPageSQL2(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.GetPageSQL2(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ContainsData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ReadData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ReadData(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ReadData(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ReadData(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ExecuteNonQuery(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ExecuteNonQuery(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.ExecuteNonQuery(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.DelById(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.CreateDb(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.BeginTransaction">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.Commit">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.MySqlDataProvider.Free">
<summary>
</summary>
</member>
</members>
</doc>

View File

@ -4,6 +4,21 @@
<name>MyDb_SQLite</name>
</assembly>
<members>
<member name="T:ryCommonDb.ClsDb">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.#ctor">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.Finalize">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.#ctor(System.String,System.String)">
<summary>
@ -19,6 +34,21 @@
<param name="DbFilePath">数据库路径</param>
<returns></returns>
</member>
<member name="F:ryCommonDb.ClsDb.SQLite_cn">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsDb.DbPath">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.ClsDb.DbPassWord">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.ClsDb.ConnDb">
<summary>
连接数据库
@ -37,6 +67,12 @@
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.ClsDb.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
</member>
<member name="M:ryCommonDb.ClsDb.ConnOrCreateDb">
<summary>
连接或创建数据库,如果数据库不存在,就创建,否则连接
@ -172,5 +208,200 @@
</summary>
<returns></returns>
</member>
<member name="T:ryCommonDb.SQLiteDataProvider">
<summary>
</summary>
</member>
<member name="F:ryCommonDb.SQLiteDataProvider.myDb">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ConnDb(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.CloseDb">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetCount(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ChangePwd(System.String)">
<summary>
</summary>
<param name="newPwd"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.AddParameter(System.String,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ClearParameter(System.Object,System.Object)">
<summary>
</summary>
<param name="name"></param>
<param name="value"></param>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetParameter">
<summary>
</summary>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetParameter(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL2(System.String,System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.GetPageSQL2(System.String,System.String,System.String,System.String)">
<summary>
</summary>
<param name="field"></param>
<param name="tableName"></param>
<param name="wheresql"></param>
<param name="orderSQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ContainsData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ReadData(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String,System.Object[])">
<summary>
</summary>
<param name="sql"></param>
<param name="Parameter"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String,ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="sql"></param>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.ExecuteNonQuery(System.String)">
<summary>
</summary>
<param name="sql"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.BeginTransaction">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.Commit">
<summary>
</summary>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.DelById(System.String,System.String)">
<summary>
</summary>
<param name="tableName"></param>
<param name="id"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.CreateDb(ryCommonDb.RyQuickSQL)">
<summary>
</summary>
<param name="mySQL"></param>
<returns></returns>
</member>
<member name="M:ryCommonDb.SQLiteDataProvider.Free">
<summary>
</summary>
</member>
</members>
</doc>

View File

@ -9,6 +9,13 @@
Http连接操作帮助类
</summary>
</member>
<member name="M:DotNet4.Utilities.HttpHelper.GetSmallCookie(System.String)">
<summary>
</summary>
<param name="strcookie"></param>
<returns></returns>
</member>
<member name="M:DotNet4.Utilities.HttpHelper.GetHtml(DotNet4.Utilities.HttpItem)">
<summary>
根据相传入的数据,得到相应页面数据
@ -227,7 +234,11 @@
header对象
</summary>
</member>
<!-- Badly formed XML comment ignored for member "P:DotNet4.Utilities.HttpItem.ProtocolVersion" -->
<member name="P:DotNet4.Utilities.HttpItem.ProtocolVersion">
<summary>
获取或设置用于请求的 HTTP 版本。返回结果:用于请求的 HTTP 版本。默认为 System.Net.HttpVersion.Version11。
</summary>
</member>
<member name="P:DotNet4.Utilities.HttpItem.Expect100Continue">
<summary>
获取或设置一个 System.Boolean 值,该值确定是否使用 100-Continue 行为。如果 POST 请求需要 100-Continue 响应,则为 true否则为 false。默认值为 true。
@ -371,6 +382,11 @@
CookieCollection格式的Cookie集合同时也返回String类型的cookie
</summary>
</member>
<member name="T:RyWeb.QuickWeb">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.Post(System.String,System.String,System.String)">
<summary>
以post方式获取网页源码
@ -422,6 +438,11 @@
<param name="url"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.UserAgent">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String,System.String)">
<summary>
获取网页源码
@ -431,12 +452,13 @@
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String,System.Text.Encoding,System.String)">
<summary>
获取网页源码
</summary>
<param name="url"></param>
<param name="cookie"></param>
<returns></returns>
<summary>
获取网页源码
</summary>
<param name="url"></param>
<param name="encoding"></param>
<param name="cookie"></param>
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.Get(System.String)">
<summary>
@ -445,6 +467,24 @@
<param name="url"></param>
<returns></returns>
</member>
<member name="P:RyWeb.QuickWeb.Cookie">
<summary>
</summary>
</member>
<member name="P:RyWeb.QuickWeb.Timeout">
<summary>
</summary>
</member>
<member name="M:RyWeb.QuickWeb.UrlEncode(System.String,System.Text.Encoding)">
<summary>
</summary>
<param name="str"></param>
<param name="encode"></param>
<returns></returns>
</member>
<member name="M:RyWeb.QuickWeb.ConvertUrl(System.String,System.String)">
<summary>
将相对网址转换成绝对网址
@ -453,6 +493,16 @@
<param name="cur_pageUrl">当前页面地址</param>
<returns>转换后的绝对网址</returns>
</member>
<member name="T:RyWeb.UrlDecoder">
<summary>
</summary>
</member>
<member name="T:RyWeb.WebDecode">
<summary>
</summary>
</member>
<member name="M:RyWeb.WebDecode.UrlDecode(System.String,System.Text.Encoding)">
<summary>
url解密
@ -473,7 +523,7 @@
Url加密
</summary>
<param name="str"></param>
<param name="e"></param>
<param name="encode"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncode(System.String)">
@ -497,6 +547,24 @@
<param name="string"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeNonAscii(System.Byte[],System.Int32,System.Int32,System.Boolean)">
<summary>
</summary>
<param name="bytes"></param>
<param name="offset"></param>
<param name="count"></param>
<param name="alwaysCreateNewReturnValue"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeNonAscii(System.String,System.Text.Encoding)">
<summary>
</summary>
<param name="str"></param>
<param name="e"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.UrlEncodeUnicode(System.String,System.Boolean)">
<summary>
url加密,Unicode
@ -505,6 +573,20 @@
<param name="ignoreAscii"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.IsUrlSafeChar(System.Char)">
<summary>
</summary>
<param name="ch"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.IntToHex(System.Int32)">
<summary>
</summary>
<param name="n"></param>
<returns></returns>
</member>
<member name="M:RyWeb.WebDecode.ConvertHtmlInner(System.String)">
<summary>
Html解码,将html里未转义成功的重新转义。

View File

@ -22410,13 +22410,16 @@
</member>
<member name="P:BrightIdeasSoftware.BaseRenderer.UseCustomCheckboxImages">
<summary>
此渲染器是否将使用父ObjectListView中的自定义图像来绘制复选框图像。
Will this renderer use the custom images from the parent ObjectListView
to draw the checkbox images.
</summary>
<remarks>
<para>
如果为true则渲染器将使用StateImageList中的图像来表示复选框。0-未选中1-选中2-不确定。
If this is true, the renderer will use the images from the
StateImageList to represent checkboxes. 0 - unchecked, 1 - checked, 2 - indeterminate.
</para>
<para>如果为False(默认值),则渲染器将使用.NET的标准CheckBoxRenender。</para>
<para>If this is false (the default), then the renderer will use .NET's standard
CheckBoxRenderer.</para>
</remarks>
</member>
<member name="M:BrightIdeasSoftware.BaseRenderer.AlignRectangle(System.Drawing.Rectangle,System.Drawing.Rectangle)">
@ -23401,7 +23404,7 @@
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.#ctor(System.Object,System.Int32,System.Int32,System.Int32)">
<summary>
创建一个图像渲染器该图像渲染器最多可以绘制指定的图像的maxImages次数。
Make an image renderer that will draw the indicated image, at most maxImages times.
</summary>
<param name="imageSelector"></param>
<param name="maxImages"></param>
@ -23410,12 +23413,12 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageIndex">
<summary>
应绘制的图像索引
The index of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageName">
<summary>
应绘制的图像名称
The name of the image that should be drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.ImageSelector">
@ -23426,17 +23429,17 @@
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaxNumberImages">
<summary>
此渲染器应绘制的最大图像数
What is the maximum number of images that this renderer should draw?
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MinimumValue">
<summary>
小于或等于此值的值将不绘制图像
Values less than or equal to this will have 0 images drawn
</summary>
</member>
<member name="P:BrightIdeasSoftware.MultiImageRenderer.MaximumValue">
<summary>
大于或等于该值的值将绘制MaxNumberImages图像
Values greater than or equal to this will have MaxNumberImages images drawn
</summary>
</member>
<member name="M:BrightIdeasSoftware.MultiImageRenderer.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
@ -23493,60 +23496,60 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.UseGdiTextRendering">
<summary>
文本是否应该使用GDI例程呈现这使文本看起来更像本机列表视图控件。
</summary>
<summary>
Should text be rendered using GDI routines? This makes the text look more
like a native List view control.
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFont">
<summary>
获取或设置标题字体
Gets or set the font that will be used to draw the title of the task
</summary>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleFontOrDefault">
<summary>
返回已为标题设置的字体或默认值
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColor">
<summary>
获取或设置任务标题(Title)的颜色
Gets or set the color of the title of the task
</summary>
<remarks>当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleColorOrDefault">
<summary>
返回任务标题的颜色或默认值
Return the color of the title of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFont">
<summary>
获取或设置任务描述(Description)的字体
Gets or set the font that will be used to draw the description of the task
</summary>
<remarks>如果为null则使用listview的字体</remarks>
<remarks>If this is null, the ListView's font will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionFontOrDefault">
<summary>
返回已为Description设置的字体或默认值
</summary>
<summary>
Return a font that has been set for the title or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColor">
<summary>
获取或设置任务描述(Description)的颜色
</summary>
<remarks>
当任务未被选中或列表视图具有半透明选择机制时,将使用此颜色。
</remarks>
<summary>
Gets or set the color of the description of the task
</summary>
<remarks>This color is used when the task is not selected or when the listview
has a translucent selection mechanism.</remarks>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionColorOrDefault">
<summary>
返回任务描述(Description)的颜色或默认值
Return the color of the description of the task or a reasonable default
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.ImageTextSpace">
<summary>
获取或设置图片和文字之间的距离
Gets or sets the number of pixels that will be left between the image and the text
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TopSpace">
@ -23555,13 +23558,13 @@
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.TitleDescriptionSpace">
<summary>
获取或设置标题(Title)和描述(Description)之间的距离(单位:像素)
</summary>
<summary>
Gets or sets the number of pixels that will be left between the title and the description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.DescriptionAspectName">
<summary>
获取或设置跟Description挂钩的模型对象名称
<summary>
Gets or sets the name of the aspect of the model object that contains the task description
</summary>
</member>
<member name="P:BrightIdeasSoftware.DescribedTaskRenderer.Filter">
@ -23618,42 +23621,67 @@
</member>
<member name="T:BrightIdeasSoftware.ColumnButtonRenderer">
<summary>
此渲染器在其单元格中绘制一个功能按钮
This renderer draws a functioning button in its cell
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.SizingMode">
<summary>
获取或设置按钮的大小模式
Gets or sets how each button will be sized
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonSize">
<summary>
获取或设置SizingMode为FixedBound时按钮的大小
Gets or sets the size of the button when the SizingMode is FixedBounds
</summary>
<remarks>如果未设置,将使用单元格的边界</remarks>
<remarks>If this is not set, the bounds of the cell will be used</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonPadding">
<summary>
获取或设置当SizingMode为TextBound时单元格周围的额外空间
</summary>
<summary>
Gets or sets the extra space that surrounds the cell when the SizingMode is TextBounds
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MaxButtonWidth">
<summary>
获取或设置按钮可以占用的最大宽度
-1 表示不限制宽度
Gets or sets the maximum width that a button can occupy.
-1 means there is no maximum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.MinButtonWidth">
<summary>
获取或设置按钮可以占用的最小宽度。
-1 表示不限制宽度
Gets or sets the minimum width that a button can occupy.
-1 means there is no minimum width.
</summary>
<remarks>仅当SizingMode为TextBound时才会生效</remarks>
<remarks>This is only considered when the SizingMode is TextBounds</remarks>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonForeColor">
<summary>
获取或设置此列按钮的字体颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBaseColor">
<summary>
获取或设置此列按钮的背景颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonBorderColor">
<summary>
获取或设置此列按钮的边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonInnerBorderColor">
<summary>
获取或设置此列按钮的内边框颜色(如果有按钮的话)
</summary>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.ButtonDrawBorder">
<summary>
获取或设置此列按钮是否画边框(如果有按钮的话)
</summary>
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculateContentSize(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
计算内容的大小
Calculate the size of the contents
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23661,7 +23689,7 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.DrawImageAndText(System.Drawing.Graphics,System.Drawing.Rectangle)">
<summary>
画按钮
Draw the button
</summary>
<param name="g"></param>
<param name="r"></param>
@ -23678,13 +23706,13 @@
</member>
<member name="M:BrightIdeasSoftware.ColumnButtonRenderer.CalculatePushButtonState">
<summary>
按钮的状态
What is the state of the button?
</summary>
<returns></returns>
</member>
<member name="P:BrightIdeasSoftware.ColumnButtonRenderer.IsButtonHot">
<summary>
鼠标是否在按钮上
Is the mouse over the button?
</summary>
</member>
<member name="T:BrightIdeasSoftware.IItemStyle">
@ -23884,6 +23912,58 @@
</summary>
<param name="color"></param>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonNormal">
<summary>
正常为选中按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuse">
<summary>
获得焦点的按钮
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonMouseOver">
<summary>
鼠标经过样式
</summary>
</member>
<member name="F:BrightIdeasSoftware.Rendering.buttonStyle.ButtonFocuseAndMouseOver">
<summary>
获得焦点并鼠标经过
</summary>
</member>
<member name="T:BrightIdeasSoftware.Rendering.Util_GDI">
<summary>
自定义GDI工具绘制按钮
</summary>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawCircleButton(System.String,System.Drawing.Graphics,System.Drawing.Point,System.Int32,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆形按钮(用法同矩形按钮)
</summary>
<param name="text"></param>
<param name="g"></param>
<param name="Location"></param>
<param name="r"></param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.DrawRoundButton(System.String,System.Drawing.Graphics,System.Drawing.Rectangle,BrightIdeasSoftware.Rendering.buttonStyle)">
<summary>
绘制圆角按钮
</summary>
<param name="Text">要绘制的文字</param>
<param name="g">Graphics 对象</param>
<param name="rect">要填充的矩形</param>
<param name="btnStyle"></param>
</member>
<member name="M:BrightIdeasSoftware.Rendering.Util_GDI.GetRoundRectangle(System.Drawing.Rectangle,System.Int32)">
<summary>
根据普通矩形得到圆角矩形的路径
</summary>
<param name="rectangle">原始矩形</param>
<param name="r">半径</param>
<returns>图形路径</returns>
</member>
<member name="T:BrightIdeasSoftware.GlassPanelForm">
<summary>
A GlassPanelForm sits transparently over an ObjectListView to show overlays.

View File

@ -4,11 +4,21 @@
<name>ryUpdate</name>
</assembly>
<members>
<member name="T:LiveUpdate.ClsLiveUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.UpdateUrl">
<summary>
升级地址
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.CurUserId">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.UpdateAfterTime">
<summary>
隔多久后再次检查更新
@ -34,6 +44,21 @@
当前安装的数据库版本
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.SaveFileName">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.DownUrl">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.isExit">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.UpdateType">
<summary>
获取当前更新的类型
@ -44,17 +69,57 @@
每隔n小时检测一次更新
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnReadComplete">
<summary>
读取版本信息完成后激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnNoUpdate">
<summary>
没有版本更新时激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnUpdateComplete">
<summary>
发现新版本时激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.OnHappenError">
<summary>
发生错误后激发
</summary>
</member>
<member name="E:LiveUpdate.ClsLiveUpdate.ProgressChanged">
<summary>
更新进度变化后激发
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.StartLiveUpdate">
<summary>
开始检测新版本
</summary>
</member>
<member name="F:LiveUpdate.ClsLiveUpdate.ParentForm">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.#ctor(System.Windows.Forms.Form)">
<summary>
初始化升级函数
</summary>
<param name="ower">为null,则表示事件运行在多线程模式下,否则,事件是在窗体所在线程下</param>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.AssemblyVersion">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.ClsLiveUpdate.AssemblyReVersion">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.ClsLiveUpdate.GetVerInfo">
<summary>
获取版本信息
@ -80,16 +145,80 @@
结束下载
</summary>
</member>
<member name="T:LiveUpdate.RyUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.RyUpdate.myLiveUpdate">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.RyUpdate.dict_downlist">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.RyUpdate.#ctor(System.String)">
<summary>
</summary>
<param name="url"></param>
</member>
<member name="M:LiveUpdate.RyUpdate.#ctor(System.Windows.Forms.Form,System.String)">
<summary>
</summary>
<param name="_ParentForm"></param>
<param name="url"></param>
</member>
<member name="M:LiveUpdate.RyUpdate.Finalize">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.RyUpdate.CurUserId">
<summary>
当前登陆用户
</summary>
</member>
<member name="P:LiveUpdate.RyUpdate.ParentForm">
<summary>
</summary>
</member>
<member name="E:LiveUpdate.RyUpdate.OnNoUpdate">
<summary>
没有版本更新时激发
</summary>
</member>
<member name="M:LiveUpdate.RyUpdate.CheckUpdate">
<summary>
</summary>
<returns></returns>
</member>
<member name="E:LiveUpdate.RyUpdate.OnUpdateCancel">
<summary>
取消更新。
</summary>
</member>
<member name="E:LiveUpdate.RyUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="T:LiveUpdate.frmStartUpdate">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.frmStartUpdate.#ctor">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.frmStartUpdate.T_myLiveUpdate">
<summary>
设置升级
@ -100,6 +229,19 @@
是否是在线更新
</summary>
</member>
<member name="M:LiveUpdate.frmStartUpdate.RunFile(System.String,System.String)">
<summary>
</summary>
<param name="FilePath"></param>
<param name="PramCom"></param>
<returns></returns>
</member>
<member name="E:LiveUpdate.frmStartUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.frmStartUpdate.components">
<summary>
Required designer variable.
@ -117,6 +259,73 @@
the contents of this method with the code editor.
</summary>
</member>
<member name="T:LiveUpdate.FrmUpdate">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.#ctor(LiveUpdate.ClsLiveUpdate)">
<summary>
</summary>
<param name="_myLiveUpdate"></param>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_Capion">
<summary>
提示文本
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateDate">
<summary>
更新日期
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateVer">
<summary>
更新版本
</summary>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateDes">
<summary>
更新描述
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.ConvertDateStr(System.String,System.String)">
<summary>
</summary>
<param name="Str"></param>
<param name="defValue"></param>
<returns></returns>
</member>
<member name="M:LiveUpdate.FrmUpdate.SetUpdateInfo(LiveUpdate.UpdateInfo)">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="P:LiveUpdate.FrmUpdate.T_UpdateAfterTime">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.FrmUpdate.canClose">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.FrmUpdate.SetForegroundWindow(System.Int32)">
<summary>
</summary>
<param name="hWnd"></param>
<returns></returns>
</member>
<member name="E:LiveUpdate.FrmUpdate.OnAppExit">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.FrmUpdate.components">
<summary>
Required designer variable.
@ -134,6 +343,11 @@
the contents of this method with the code editor.
</summary>
</member>
<member name="T:LiveUpdate.UpdateInfo">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.UpdateInfo.UpdateType">
<summary>
更新类型,soft或者data
@ -174,5 +388,102 @@
升级程序要使用的设置xml
</summary>
</member>
<member name="T:LiveUpdate.UpdateErrorInfo">
<summary>
</summary>
</member>
<member name="F:LiveUpdate.UpdateErrorInfo.ErrorStr">
<summary>
错误字符串
</summary>
</member>
<member name="F:LiveUpdate.UpdateErrorInfo.ErrorId">
<summary>
错误id
</summary>
</member>
<member name="T:LiveUpdate.LiveUpdateEventArgs">
<summary>
</summary>
</member>
<member name="M:LiveUpdate.LiveUpdateEventArgs.#ctor">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentFileSize">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentFileName">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentUrl">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrProgress">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.IsCompleted">
<summary>
</summary>
</member>
<member name="P:LiveUpdate.LiveUpdateEventArgs.CurrentStatus">
<summary>
</summary>
</member>
<member name="T:LiveUpdate.LiveUpdateProgressChanged">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.OnAppExit">
<summary>
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.UpdateHandler">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="T:LiveUpdate.ErrorHandler">
<summary>
</summary>
<param name="e"></param>
</member>
<member name="T:ryUpdate.Properties.Resources">
<summary>
一个强类型的资源类,用于查找本地化的字符串等。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.ResourceManager">
<summary>
返回此类使用的缓存的 ResourceManager 实例。
</summary>
</member>
<member name="P:ryUpdate.Properties.Resources.Culture">
<summary>
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
</summary>
</member>
</members>
</doc>

View File

@ -1,4 +1,10 @@
### 2021-01-23 dev更新
### 2021-02-11更新
------
#### MyDb V2.1.2102.1101
- *.[新增]新增Auto类增加 鼠标模拟操作和按键模拟操作。
- *.[新增]新增WinAPI命名空间,将windows自带的API集中在这个命名空间。
### 2021-01-23 dev更新
------
#### ryUpdate V2.2.2101.2301

View File

@ -28,78 +28,86 @@
/// </summary>
private void InitializeComponent()
{
this.btnCancel = new ryControls.ButtonEx();
this.btnOK = new ryControls.ButtonEx();
this.label1 = new System.Windows.Forms.Label();
this.txtName = new ryControls.TextBoxEx2();
this.SuspendLayout();
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.ForeColor = System.Drawing.Color.White;
this.btnCancel.Location = new System.Drawing.Point(363, 310);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(65, 27);
this.btnCancel.TabIndex = 5;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.ForeColor = System.Drawing.Color.White;
this.btnOK.Location = new System.Drawing.Point(292, 310);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(65, 27);
this.btnOK.TabIndex = 4;
this.btnOK.Text = "确定";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(8, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 7;
this.label1.Text = "名称";
//
// txtName
//
this.txtName.BackColor = System.Drawing.Color.White;
this.txtName.Location = new System.Drawing.Point(55, 12);
this.txtName.Name = "txtName";
this.txtName.PasswordChar = '\0';
this.txtName.ReadOnly = false;
this.txtName.SelectionLength = 0;
this.txtName.SelectionStart = 0;
this.txtName.Size = new System.Drawing.Size(372, 25);
this.txtName.TabIndex = 6;
//
// frmAdd
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(438, 347);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtName);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Name = "frmAdd";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "新增";
this.ResumeLayout(false);
this.PerformLayout();
this.BtnCancel = new ryControls.ButtonEx();
this.BtnOK = new ryControls.ButtonEx();
this.label1 = new System.Windows.Forms.Label();
this.txtName = new ryControls.TextBoxEx2();
this.SuspendLayout();
//
// BtnCancel
//
this.BtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnCancel.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95)))));
this.BtnCancel.Location = new System.Drawing.Point(363, 310);
this.BtnCancel.Name = "BtnCancel";
this.BtnCancel.Size = new System.Drawing.Size(65, 27);
this.BtnCancel.TabIndex = 5;
this.BtnCancel.Text = "取消";
this.BtnCancel.UseVisualStyleBackColor = true;
this.BtnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
//
// BtnOK
//
this.BtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnOK.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95)))));
this.BtnOK.Location = new System.Drawing.Point(292, 310);
this.BtnOK.Name = "BtnOK";
this.BtnOK.Size = new System.Drawing.Size(65, 27);
this.BtnOK.TabIndex = 4;
this.BtnOK.Text = "确定";
this.BtnOK.UseVisualStyleBackColor = true;
this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(8, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 7;
this.label1.Text = "名称";
//
// txtName
//
this.txtName.BackColor = System.Drawing.Color.White;
this.txtName.EmptyText = "";
this.txtName.Location = new System.Drawing.Point(55, 12);
this.txtName.MaxLength = 999999999;
this.txtName.Multiline = false;
this.txtName.Name = "txtName";
this.txtName.OnlyNumeric = false;
this.txtName.PasswordChar = '\0';
this.txtName.ReadOnly = false;
this.txtName.SelectedText = "";
this.txtName.SelectionLength = 0;
this.txtName.SelectionStart = 0;
this.txtName.Size = new System.Drawing.Size(372, 25);
this.txtName.TabIndex = 6;
this.txtName.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.txtName.ToolTip = "";
this.txtName.WordWrap = true;
//
// FrmAdd
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(438, 347);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtName);
this.Controls.Add(this.BtnCancel);
this.Controls.Add(this.BtnOK);
this.Name = "FrmAdd";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "新增";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private ryControls.ButtonEx btnCancel;
private ryControls.ButtonEx btnOK;
private ryControls.ButtonEx BtnCancel;
private ryControls.ButtonEx BtnOK;
private System.Windows.Forms.Label label1;
private ryControls.TextBoxEx2 txtName;
}

View File

@ -1,120 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -55,8 +55,10 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.chromeTabControl1 = new ryControls.ChromeTabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.iconViewEx1 = new ryControls.IconViewEx();
this.hotkeyTextBox1 = new ryControls.HotkeyTextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.MenuTray.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.chromeTabControl1.SuspendLayout();
@ -147,7 +149,9 @@
//
// tabPage1
//
this.tabPage1.Controls.Add(this.hotkeyTextBox1);
this.tabPage1.Controls.Add(this.textBox1);
this.tabPage1.Controls.Add(this.button2);
this.tabPage1.Controls.Add(this.button1);
this.tabPage1.Controls.Add(this.iconViewEx1);
this.tabPage1.Location = new System.Drawing.Point(1, 29);
this.tabPage1.Name = "tabPage1";
@ -157,8 +161,29 @@
this.tabPage1.Text = "首页";
this.tabPage1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(276, 31);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(112, 38);
this.button2.TabIndex = 2;
this.button2.Text = "button2";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(49, 31);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(112, 38);
this.button1.TabIndex = 1;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// iconViewEx1
//
this.iconViewEx1.BadgeListImage = ((System.Collections.Generic.List<System.Drawing.Image>)(resources.GetObject("iconViewEx1.BadgeListImage")));
this.iconViewEx1.HideSelection = false;
this.iconViewEx1.Icon = ((System.Drawing.Image)(resources.GetObject("iconViewEx1.Icon")));
this.iconViewEx1.IconSize = 64;
@ -184,6 +209,7 @@
this.iconViewEx1.OwnerDraw = true;
this.iconViewEx1.SelectedBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(195)))), ((int)(((byte)(101)))));
this.iconViewEx1.SelectedEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(236)))), ((int)(((byte)(181)))));
this.iconViewEx1.SelectedForeColor = System.Drawing.Color.Black;
this.iconViewEx1.SelectedStartBackColor = System.Drawing.Color.LightYellow;
this.iconViewEx1.Size = new System.Drawing.Size(451, 341);
this.iconViewEx1.TabIndex = 0;
@ -192,16 +218,12 @@
this.iconViewEx1.UseCompatibleStateImageBehavior = false;
this.iconViewEx1.View = System.Windows.Forms.View.Tile;
//
// hotkeyTextBox1
// textBox1
//
this.hotkeyTextBox1.BackColor = System.Drawing.Color.White;
this.hotkeyTextBox1.HotKey = "0+0";
this.hotkeyTextBox1.Location = new System.Drawing.Point(85, 124);
this.hotkeyTextBox1.Name = "hotkeyTextBox1";
this.hotkeyTextBox1.Size = new System.Drawing.Size(278, 44);
this.hotkeyTextBox1.T_Key = System.Windows.Forms.Keys.None;
this.hotkeyTextBox1.T_Modifiers = 0;
this.hotkeyTextBox1.TabIndex = 1;
this.textBox1.Location = new System.Drawing.Point(447, 45);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(275, 21);
this.textBox1.TabIndex = 3;
//
// FrmStart
//
@ -221,6 +243,7 @@
this.menuStrip1.PerformLayout();
this.chromeTabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -239,6 +262,8 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private ryControls.IconViewEx iconViewEx1;
private ryControls.HotkeyTextBox hotkeyTextBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.TextBox textBox1;
}
}

View File

@ -143,5 +143,18 @@ namespace Itrycn_Project2
return;
}
}
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("这是一个测试", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
private void button2_Click(object sender, EventArgs e)
{
//var point= button1.PointToScreen(button1.Location);
// ryCommon.Auto.LeftClick(point.X+5, point.Y+5);
textBox1.Focus();
Auto.PasteText("你好");
}
}
}

View File

@ -126,6 +126,18 @@
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>246, 17</value>
</metadata>
<data name="iconViewEx1.BadgeListImage" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAKABU3lzdGVtLkRyYXdpbmcsIFZlcnNpb249NC4wLjAuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNmNWY3ZjExZDUwYTNhXV0sIG1zY29ybGliLCBW
ZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0
ZTA4OQwDAAAAUVN5c3RlbS5EcmF3aW5nLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49YjAzZjVmN2YxMWQ1MGEzYQUBAAAAN1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5l
cmljLkxpc3RgMVtbU3lzdGVtLkRyYXdpbmcuSW1hZ2UDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgQA
ABZTeXN0ZW0uRHJhd2luZy5JbWFnZVtdAwAAAAgIAgAAAAkEAAAAAAAAAAAAAAAHBAAAAAABAAAAAAAA
AAQUU3lzdGVtLkRyYXdpbmcuSW1hZ2UDAAAACw==
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="iconViewEx1.Icon" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>

View File

@ -78,7 +78,7 @@ namespace ryCommon
for (int i = 0; i < _list.Count; i++)
{
bool HaveRecord = false;
for (int m = from_list.Count-1; m>0; m--) //去host文件里查找是否已含有该内容
for (int m = from_list.Count-1; m>=0; m--) //去host文件里查找是否已含有该内容
{
if (from_list[m].Comment.Length > 0) { continue; }
if(_list[i].Domain.ToLower()== from_list[m].Domain.ToLower())

File diff suppressed because it is too large Load Diff

View File

@ -100,6 +100,9 @@
<Compile Include="SysFuns\RyWin32.cs" />
<Compile Include="SysFuns\SuperForm.cs" />
<Compile Include="SysFuns\WinHotReg.cs" />
<Compile Include="WinAPI\Structs.cs" />
<Compile Include="WinAPI\GDI32.cs" />
<Compile Include="WinAPI\User32.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2012.3001")]
[assembly: AssemblyFileVersion("2.1.2012.3001")]
[assembly: AssemblyVersion("2.1.2102.1101")]
[assembly: AssemblyFileVersion("2.1.2102.1101")]

View File

@ -1,35 +1,330 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using Win32API;
namespace ryCommon.SysFuns
namespace ryCommon
{
/// <summary>
/// 对鼠标或键盘的自动化操作
/// </summary>
public class Auto
{
uint WM_LBUTTONDOWN = 0x201;
uint WM_LBUTTONUP = 0x202;
/// <summary>
/// 鼠标左键
/// </summary>
public const int MK_LBUTTON = 1;//鼠标左键
/// <summary>
/// 鼠标中键
/// </summary>
public const int MK_MBUTTON = 16;//鼠标中键
/// <summary>
/// 鼠标右键
/// </summary>
public const int MK_RBUTTON = 2;//鼠标右键
//移动鼠标
const int MOUSEEVENTF_MOVE = 0x0001;
//模拟鼠标左键按下
const int MOUSEEVENTF_LEFTDOWN = 0x0002;
//模拟鼠标左键抬起
const int MOUSEEVENTF_LEFTUP = 0x0004;
//模拟鼠标右键按下
const int MOUSEEVENTF_RIGHTDOWN = 0x0008;
//模拟鼠标右键抬起
const int MOUSEEVENTF_RIGHTUP = 0x0010;
//模拟鼠标中键按下
const int MOUSEEVENTF_MIDDLEDOWN = 0x0020;
//模拟鼠标中键抬起
const int MOUSEEVENTF_MIDDLEUP = 0x0040;
//标示是否采用绝对坐标
const int MOUSEEVENTF_ABSOLUTE = 0x8000;
//模拟鼠标滚轮滚动操作必须配合dwData参数
const int MOUSEEVENTF_WHEEL = 0x0800;
const uint WM_LBUTTONDOWN = 0x201;
const uint WM_LBUTTONUP = 0x202;
const int WM_RBUTTONDOWN = 516; // 鼠标右键按下
const int WM_RBUTTONUP = 517; // 鼠标右键抬起
const int WM_MBUTTONDOWN = 519; // 鼠标中键按下
const int WM_MBUTTONUP = 520; // 鼠标中键抬起
const uint WM_MOUSEWHEEL = 0x020A;
const uint WM_MOUSEMOVE = 0x0200;
const uint WM_KEYDOWN = 0x0100;
const uint WM_KEYUP = 0x0101;
[DllImport("user32.dll", SetLastError = true)]
static extern bool SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
private int MakeLParam(int LoWord, int HiWord)
private static int MakeLParam(int LoWord, int HiWord)
{
return ((HiWord << 16) | (LoWord & 0xffff));
}
/// <summary>
/// 模拟键盘按键
/// </summary>
/// <param name="hWnd"></param>
/// <param name="key"></param>
/// <param name="isPress">按下还是抬起</param>
public static void KeyButton(IntPtr hWnd, int key, bool isPress)
{
if (isPress)
User32.SendMessage(hWnd, WM_KEYDOWN, key, 0);
else
User32.SendMessage(hWnd, WM_KEYUP, key, 0);
}
/// <summary>
/// 鼠标滚轮
/// </summary>
/// <param name="hWnd"></param>
/// <param name="mouse_position"></param>
/// <param name="delta"></param>
public static void Mouse_Wheel(IntPtr hWnd, Point mouse_position, int delta)
{
User32.SendMessage(hWnd, WM_MOUSEWHEEL, delta * 65536, mouse_position.X + mouse_position.Y * 65536);
}
/// <summary>
/// 鼠标移动
/// </summary>
/// <param name="hWnd"></param>
/// <param name="button"></param>
/// <param name="mouse_position"></param>
public static void Mouse_Move(IntPtr hWnd, int button, Point mouse_position)
{
User32.SendMessage(hWnd, WM_MOUSEMOVE, button, mouse_position.X + mouse_position.Y * 65536);
}
/// <summary>
/// 自定义鼠标按下或抬起
/// </summary>
/// <param name="hWnd"></param>
/// <param name="button"></param>
/// <param name="mouse_position"></param>
/// <param name="isPress"></param>
public static void Mouse_Button(IntPtr hWnd,MouseButtons button, Point mouse_position, bool isPress)
{
if (button == MouseButtons.Middle)
{
if (isPress)
User32.SendMessage(hWnd, WM_MBUTTONDOWN, MK_MBUTTON, mouse_position.X + mouse_position.Y * 65536);
else
User32.SendMessage(hWnd, WM_MBUTTONUP, 0, mouse_position.X + mouse_position.Y * 65536);
}
else if (button == MouseButtons.Right)
{
if (isPress)
User32.SendMessage(hWnd, WM_RBUTTONDOWN, MK_RBUTTON, mouse_position.X + mouse_position.Y * 65536);
else
User32.SendMessage(hWnd, WM_RBUTTONUP, 0, mouse_position.X + mouse_position.Y * 65536);
}
else if (button == MouseButtons.Left)
{
if (isPress)
User32.SendMessage(hWnd, WM_LBUTTONDOWN, MK_LBUTTON, mouse_position.X + mouse_position.Y * 65536);
else
User32.SendMessage(hWnd, WM_LBUTTONUP, 0, mouse_position.X + mouse_position.Y * 65536);
}
}
/// <summary>
///左键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
/// <param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
public void LeftClick(IntPtr handle, int x, int y)
public static void LeftClick(IntPtr handle, int x, int y)
{
SendMessage(handle, WM_LBUTTONDOWN, 1, MakeLParam(x, y));
SendMessage(handle, WM_LBUTTONUP, 0, MakeLParam(x, y));
User32.SendMessage(handle, WM_LBUTTONDOWN, 1, MakeLParam(x, y));
User32.SendMessage(handle, WM_LBUTTONUP, 0, MakeLParam(x, y));
}
/// <summary>
///左键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
public static void LeftClick(IntPtr handle,Point point)
{
LeftClick(handle,point.X,point.Y);
}
/// <summary>
///右键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
/// <param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
public static void RightClick(IntPtr handle, int x, int y)
{
User32.SendMessage(handle, WM_RBUTTONDOWN, 1, MakeLParam(x, y));
User32.SendMessage(handle, WM_RBUTTONUP, 0, MakeLParam(x, y));
}
/// <summary>
///右键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
public static void RightClick(IntPtr handle, Point point)
{
RightClick(handle, point.X, point.Y);
}
/// <summary>
///中键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="x">坐标x(句柄内的坐标,非屏幕坐标)</param>
/// <param name="y">坐标y(句柄内的坐标,非屏幕坐标)</param>
public static void MiddleClick(IntPtr handle, int x, int y)
{
User32.SendMessage(handle, WM_MBUTTONDOWN, 1, MakeLParam(x, y));
User32.SendMessage(handle, WM_MBUTTONUP, 0, MakeLParam(x, y));
}
/// <summary>
///中键单击鼠标(支持后台单击)
/// </summary>
/// <param name="handle">指定要发送单击命令的句柄</param>
/// <param name="point">坐标(句柄内的坐标,非屏幕坐标)</param>
public static void MiddleClick(IntPtr handle, Point point)
{
MiddleClick(handle, point.X, point.Y);
}
/// <summary>
///左键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="x">坐标x(屏幕坐标)</param>
/// <param name="y">坐标y(屏幕坐标)</param>
public static void LeftClick(int x, int y)
{
Cursor.Position = new System.Drawing.Point(x,y);
User32.mouse_event(MOUSEEVENTF_LEFTDOWN , 0,0, 0, 0);
User32.mouse_event(MOUSEEVENTF_LEFTUP, 0,0, 0, 0);
}
/// <summary>
///左键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="point">坐标(屏幕坐标)</param>
public static void LeftClick(Point point)
{
LeftClick(point.X, point.Y);
}
/// <summary>
///右键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="x">坐标x(屏幕坐标)</param>
/// <param name="y">坐标y(屏幕坐标)</param>
public static void RightClick(int x, int y)
{
Cursor.Position = new System.Drawing.Point(x, y);
User32.mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
User32.mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
}
/// <summary>
///右键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="point">坐标(屏幕坐标)</param>
public static void RightClick(Point point)
{
RightClick(point.X, point.Y);
}
/// <summary>
///中键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="x">坐标x(屏幕坐标)</param>
/// <param name="y">坐标y(屏幕坐标)</param>
public static void MiddleClick(int x, int y)
{
Cursor.Position = new System.Drawing.Point(x, y);
User32.mouse_event(MOUSEEVENTF_MIDDLEDOWN, 0, 0, 0, 0);
User32.mouse_event(MOUSEEVENTF_MIDDLEUP, 0, 0, 0, 0);
}
/// <summary>
///中键单击鼠标(不支持后台单击)
/// </summary>
/// <param name="point">坐标(屏幕坐标)</param>
public static void MiddleClick(Point point)
{
MiddleClick(point.X, point.Y);
}
/// <summary>
/// 粘贴文本
/// </summary>
/// <param name="text"></param>
public static void PasteText(string text)
{
var _text = Clipboard.GetText();
try
{
Clipboard.SetText(text);
}
catch { }
SendKeys.SendWait("^{V}");
}
/// <summary>
/// 获取指定句柄的大小及位置
/// </summary>
/// <param name="handle"></param>
/// <param name="size"></param>
/// <returns></returns>
public static Rectangle GetRect(IntPtr handle, out Size size)
{
IntPtr hdcSrc = User32.GetWindowDC(handle);
Rectangle windowRect = new Rectangle();
size = new Size(0, 0);
if (hdcSrc == IntPtr.Zero) { return windowRect; }
User32.GetWindowRect(handle, ref windowRect);
int width = windowRect.Right - windowRect.Left;
int height = windowRect.Bottom - windowRect.Top;
size = new Size(width, height);
return windowRect;
}
/// <summary>
/// 设置指定句柄的大小
/// </summary>
/// <param name="handle"></param>
/// <param name="size"></param>
public static void SetRect(IntPtr handle, Size size)
{
var rect = GetRect(handle, out var size2);
User32.MoveWindow(handle, rect.Left, rect.Top, size.Width, size.Height, true);
}
/// <summary>
/// 判断鼠标位置是不是在指定的矩形中
/// </summary>
/// <param name="rect"></param>
/// <param name="mouse_position"></param>
/// <returns></returns>
public static bool IsInRect(MyDb.RyWin32.RECT rect, Point mouse_position)
{
return mouse_position.X >= rect.Left && mouse_position.X <= rect.Right && mouse_position.Y >= rect.Top && mouse_position.Y <= rect.Bottom;
}
/// <summary>
/// 判断2张图是否相似度超90
/// </summary>
/// <param name="bmpOne"></param>
/// <param name="bmpTwo"></param>
/// <returns></returns>
public static bool ImageEquals(Bitmap bmpOne, Bitmap bmpTwo)
{
if (bmpOne == null && bmpTwo == null) { return true; }
if (bmpOne == null || bmpTwo == null) { return false; }
for (int i = 0; i < bmpOne.Width; i++)
{
for (int j = 0; j < bmpOne.Height; j++)
{
double xsd = GetXsd(bmpOne.GetPixel(i, j), bmpTwo.GetPixel(i, j));
if (xsd < 90)
return false;
}
}
return true;
}
/// <summary>
/// /获取2种颜色的相似度,范围为0~100
/// </summary>
/// <param name="c1"></param>
/// <param name="c2"></param>
/// <returns></returns>
public static double GetXsd(Color c1, Color c2)
{
//像素点相似度公式(255 - abs(r1 - r2) * 0.297 - abs(g1 - g2) * 0.593 - abs(b1 - b2) * 0.11) / 255
double xsd2 = (255 - Math.Abs(c1.R - c2.R) * 0.297 - Math.Abs(c1.G - c2.G) * 0.593 - Math.Abs(c1.B - c2.B) * 0.11) / 255;
return xsd2 * 100;
}
}
}

View File

@ -1,249 +1,369 @@
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
using System.Windows.Forms;
namespace ryCommon
{
/// <summary>
/// 设置注册表操作,部分功能需要管理员权限
/// </summary>
public class RyRegedit
{
/// <summary>
/// 访问的注册表位置(64位还是32位)
/// </summary>
public static RegistryView UseSystemBit = RegistryView.Default;
/// <summary>
/// 访问的注册表节点
/// </summary>
public static RegistryHive RegRoot = RegistryHive.LocalMachine;
/// <summary>
/// 设置是否开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <param name="StartCommand">启动命令</param>
/// <returns></returns>
public static bool SetAutoRun(bool AutoRun, string StartName, string StartCommand)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true);
if (AutoRun)
{ softwareRun.SetValue(StartName, StartCommand, RegistryValueKind.String); }
else
{
if (softwareRun.GetValue(StartName) != null)
{
softwareRun.DeleteValue(StartName);
}
}
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 设置是否开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool SetAutoRun(bool AutoRun, string StartName)
{
return SetAutoRun(AutoRun, StartName, "\"" + Application.ExecutablePath + "\" q");
}
/// <summary>
/// 把指定文件设置为开机启动或取消开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <param name="Path">要开机启动的文件路径</param>
/// <returns></returns>
public static bool SetAutoRunByPath(bool AutoRun, string StartName, string Path)
{
return SetAutoRun(AutoRun, StartName, "\"" + Path + "\" q");
}
/// <summary>
/// 检查是否开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="StartCommand">开机启动命令</param>
/// <returns></returns>
public static bool IsAutoRun(string StartName, string StartCommand)
{
try
{
bool sxResult = false;
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
if (softwareRun.GetValue(StartName, "").ToString() == StartCommand)
{ sxResult = true; }
else { sxResult = false; }
softwareRun.Close();
LMach.Close();
return sxResult;
}
catch
{
return false;
}
}
/// <summary>
/// 检查是否开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool IsAutoRun(string StartName)
{
try
{
bool sxResult = false;
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
if (softwareRun.GetValue(StartName, "").ToString() != "")
{ sxResult = true; }
else { sxResult = false; }
softwareRun.Close();
LMach.Close();
return sxResult;
}
catch
{
return false;
}
}
/// <summary>
/// 判断指定文件是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="Path">文件路径</param>
/// <returns></returns>
public static bool IsAutoRunByPath(string StartName, string Path)
{
return IsAutoRun(StartName, "\"" + Path + "\" q");
}
/// <summary>
/// 判断当前程序是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool IsAutoRunByMe(string StartName)
{
return IsAutoRun(StartName, "\"" + Application.ExecutablePath + "\" q");
}
/// <summary>
/// 判断当前程序是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="Cmd">启动命令行</param>
/// <returns></returns>
public static bool IsAutoRunByMe(string StartName, string Cmd)
{
return IsAutoRun(StartName, "\"" + Application.ExecutablePath + "\" " + Cmd);
}
/// <summary>
/// 设置指定文件的浏览器控件内核版本
/// </summary>
/// <param name="filename">文件名,要求不带路径</param>
/// <param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
/// <returns></returns>
public static bool SetIE_EMULATION(string filename, uint IEMode)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", true);
softwareRun.SetValue(filename, IEMode, RegistryValueKind.DWord);
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 采用的IE模式
/// </summary>
public enum IeMode
{
/// <summary>
/// IE7兼容视图
/// </summary>
IE7CompatibleView = 7000,
/// <summary>
/// IE8 标准模式
/// </summary>
IE8StandardMode = 8000,
/// <summary>
/// IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE8Forced = 8888,
/// <summary>
/// IE9 标准模式
/// </summary>
IE9StandardMode = 9000,
/// <summary>
/// IE9 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE9Forced = 9999,
/// <summary>
/// IE10 标准模式
/// </summary>
IE10StandardMode = 10000,
/// <summary>
/// IE10 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE10Forced = 10001
}
/// <summary>
/// 设置当前软件的浏览器控件内核版本
/// </summary>
/// <param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
/// <returns></returns>
public static bool SetIE_EMULATION(uint IEMode)
{
return SetIE_EMULATION(System.IO.Path.GetFileName(Application.ExecutablePath), IEMode);
}
/// <summary>
/// 设置指定文件的浏览器控件内核版本
/// </summary>
/// <param name="filename">文件名,要求不带路径</param>
/// <param name="IEMode">IE内核版本</param>
/// <returns></returns>
public static bool SetIE_EMULATION(string filename, IeMode IEMode)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", true);
softwareRun.SetValue(filename, IEMode, RegistryValueKind.DWord);
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 设置当前软件的浏览器控件内核版本
/// </summary>
/// <param name="IEMode">IE内核版本</param>
/// <returns></returns>
public static bool SetIE_EMULATION(IeMode IEMode)
{
return SetIE_EMULATION(System.IO.Path.GetFileName(Application.ExecutablePath), IEMode);
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
using System.Windows.Forms;
namespace ryCommon
{
/// <summary>
/// 设置注册表操作,部分功能需要管理员权限
/// </summary>
public class RyRegedit
{
/// <summary>
/// 访问的注册表位置(64位还是32位)
/// </summary>
public static RegistryView UseSystemBit = RegistryView.Default;
/// <summary>
/// 访问的注册表节点
/// </summary>
public static RegistryHive RegRoot = RegistryHive.LocalMachine;
/// <summary>
/// 设置是否开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <param name="StartCommand">启动命令</param>
/// <returns></returns>
public static bool SetAutoRun(bool AutoRun, string StartName, string StartCommand)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true);
if (AutoRun)
{ softwareRun.SetValue(StartName, StartCommand, RegistryValueKind.String); }
else
{
if (softwareRun.GetValue(StartName) != null)
{
softwareRun.DeleteValue(StartName);
}
}
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 设置是否开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool SetAutoRun(bool AutoRun, string StartName)
{
return SetAutoRun(AutoRun, StartName, "\"" + Application.ExecutablePath + "\" q");
}
/// <summary>
/// 把指定文件设置为开机启动或取消开机启动
/// </summary>
/// <param name="AutoRun">是否开机启动</param>
/// <param name="StartName">开机启动名称</param>
/// <param name="Path">要开机启动的文件路径</param>
/// <returns></returns>
public static bool SetAutoRunByPath(bool AutoRun, string StartName, string Path)
{
return SetAutoRun(AutoRun, StartName, "\"" + Path + "\" q");
}
/// <summary>
/// 检查是否开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="StartCommand">开机启动命令</param>
/// <returns></returns>
public static bool IsAutoRun(string StartName, string StartCommand)
{
try
{
bool sxResult = false;
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
if (softwareRun.GetValue(StartName, "").ToString() == StartCommand)
{ sxResult = true; }
else { sxResult = false; }
softwareRun.Close();
LMach.Close();
return sxResult;
}
catch
{
return false;
}
}
/// <summary>
/// 检查是否开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool IsAutoRun(string StartName)
{
try
{
bool sxResult = false;
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
if (softwareRun.GetValue(StartName, "").ToString() != "")
{ sxResult = true; }
else { sxResult = false; }
softwareRun.Close();
LMach.Close();
return sxResult;
}
catch
{
return false;
}
}
/// <summary>
/// 判断指定文件是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="Path">文件路径</param>
/// <returns></returns>
public static bool IsAutoRunByPath(string StartName, string Path)
{
return IsAutoRun(StartName, "\"" + Path + "\" q");
}
/// <summary>
/// 判断当前程序是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <returns></returns>
public static bool IsAutoRunByMe(string StartName)
{
return IsAutoRun(StartName, "\"" + Application.ExecutablePath + "\" q");
}
/// <summary>
/// 判断当前程序是否是开机启动
/// </summary>
/// <param name="StartName">开机启动名称</param>
/// <param name="Cmd">启动命令行</param>
/// <returns></returns>
public static bool IsAutoRunByMe(string StartName, string Cmd)
{
return IsAutoRun(StartName, "\"" + Application.ExecutablePath + "\" " + Cmd);
}
/// <summary>
/// 设置指定文件的浏览器控件内核版本
/// </summary>
/// <param name="filename">文件名,要求不带路径</param>
/// <param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
/// <returns></returns>
public static bool SetIE_EMULATION(string filename, uint IEMode)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", true);
softwareRun.SetValue(filename, IEMode, RegistryValueKind.DWord);
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 设置文件关联
/// </summary>
/// <param name="Ext">扩展名(如.apk)</param>
/// <param name="ExtName">映射的扩展名(如apkfile)</param>
/// <param name="sName">app名称(建议用英文数字)</param>
/// <param name="AssDes">文件关联描述</param>
/// <param name="filePath">文件路径</param>
public static void SetFileAssociation(string Ext, string ExtName, string sName, string AssDes, string filePath)
{
RegistryKey LRoot = Registry.ClassesRoot;
try
{
RegistryKey reg1 = LRoot.CreateSubKey(Ext);
reg1.SetValue("", ExtName);
reg1.Close();
}
catch { }
LRoot.Close();
SetFileAssociation(ExtName, sName, AssDes, filePath);
}
/// <summary>
/// 设置文件关联
/// </summary>
/// <param name="ExtName">映射的扩展名(如apkfile)</param>
/// <param name="sName">app名称(建议用英文数字)</param>
/// <param name="AssDes">文件关联描述</param>
/// <param name="filePath">文件路径</param>
public static void SetFileAssociation(string ExtName, string sName, string AssDes, string filePath)
{
RegistryKey LRoot = Registry.ClassesRoot;
try
{
SetReg(sName);
SetReg("open");
RegistryKey reg_3 = LRoot.CreateSubKey(ExtName + @"\DefaultIcon");
reg_3.SetValue("", filePath + ",0");
reg_3.Close();
void SetReg(string key)
{
RegistryKey reg1 = LRoot.CreateSubKey(ExtName + @"\shell\" + key);
reg1.SetValue("", AssDes);
reg1.Close();
RegistryKey reg_2 = LRoot.CreateSubKey(ExtName + @"\shell\" + key + "\\command");
reg_2.SetValue("", "\"" + filePath + "\" \"%1\"");
reg_2.Close();
}
}
catch
{ }
LRoot.Close();
}
/// <summary>
/// 在指定文件格式右键菜单中增加菜单
/// </summary>
///<param name="Ext">扩展名(如.apk)</param>
/// <param name="sName">app名称(建议用英文数字)</param>
/// <param name="AssDes">文件关联描述</param>
/// <param name="filePath">文件路径</param>
public static void SetFileAssociationOpenAs(string Ext, string sName, string AssDes, string filePath)
{
RegistryKey LRoot = Registry.ClassesRoot;
try
{
SetReg(sName);
void SetReg(string key)
{
RegistryKey reg1 = LRoot.CreateSubKey(Ext + @"\shell\" + key);
reg1.SetValue("", AssDes);
reg1.Close();
RegistryKey reg_2 = LRoot.CreateSubKey(Ext + @"\shell\" + key + "\\command");
reg_2.SetValue("", "\"" + filePath + "\" \"%1\"");
reg_2.Close();
}
}
catch { }
LRoot.Close();
}
/// <summary>
/// 删除文件关联
/// </summary>
/// <param name="ExtName">映射的扩展名(如apkfile)</param>
/// <param name="sName">app名称(建议用英文数字)</param>
public static void DelFileAssociation(string ExtName, string sName)
{
RegistryKey LRoot = Registry.ClassesRoot;
try
{
RegistryKey reg1 = LRoot.OpenSubKey(ExtName + @"\shell");
if (reg1 != null)
{
reg1.DeleteSubKeyTree(sName);
reg1.Close();
}
}
catch { }
LRoot.Close();
}
/// <summary>
/// 获取文件关联是否存在
/// </summary>
/// <param name="ExtName">映射的扩展名(如apkfile)</param>
/// <param name="sName">app名称(建议用英文数字)</param>
public static bool GetFileAssociation(string ExtName, string sName)
{
bool result = false;
RegistryKey LRoot = Registry.ClassesRoot;
try
{
RegistryKey reg1 = LRoot.OpenSubKey(ExtName + @"\shell\"+ sName);
if (reg1 != null)
{
reg1.Close();
result = true;
}
}
catch { }
LRoot.Close();
return result;
}
/// <summary>
/// 采用的IE模式
/// </summary>
public enum IeMode
{
/// <summary>
/// IE7兼容视图
/// </summary>
IE7CompatibleView = 7000,
/// <summary>
/// IE8 标准模式
/// </summary>
IE8StandardMode = 8000,
/// <summary>
/// IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE8Forced = 8888,
/// <summary>
/// IE9 标准模式
/// </summary>
IE9StandardMode = 9000,
/// <summary>
/// IE9 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE9Forced = 9999,
/// <summary>
/// IE10 标准模式
/// </summary>
IE10StandardMode = 10000,
/// <summary>
/// IE10 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
/// </summary>
IE10Forced = 10001
}
/// <summary>
/// 设置当前软件的浏览器控件内核版本
/// </summary>
/// <param name="IEMode">7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式</param>
/// <returns></returns>
public static bool SetIE_EMULATION(uint IEMode)
{
return SetIE_EMULATION(System.IO.Path.GetFileName(Application.ExecutablePath), IEMode);
}
/// <summary>
/// 设置指定文件的浏览器控件内核版本
/// </summary>
/// <param name="filename">文件名,要求不带路径</param>
/// <param name="IEMode">IE内核版本</param>
/// <returns></returns>
public static bool SetIE_EMULATION(string filename, IeMode IEMode)
{
try
{
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", true);
softwareRun.SetValue(filename, IEMode, RegistryValueKind.DWord);
softwareRun.Close();
LMach.Close();
return true;
}
catch
{
return false;
}
}
/// <summary>
/// 设置当前软件的浏览器控件内核版本
/// </summary>
/// <param name="IEMode">IE内核版本</param>
/// <returns></returns>
public static bool SetIE_EMULATION(IeMode IEMode)
{
return SetIE_EMULATION(System.IO.Path.GetFileName(Application.ExecutablePath), IEMode);
}
}
}

View File

@ -282,5 +282,6 @@ namespace MyDb
MoveWindow(sub_form, 0, 0, size.Width, size.Height, false);
return true;
}
}
}

View File

@ -0,0 +1,59 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace WinAPI
{
/// <summary>
///
/// </summary>
public class GDI32
{
/// <summary>
///
/// </summary>
/// <param name="hObject"></param>
/// <returns></returns>
[DllImport("gdi32")]
public static extern bool DeleteObject(IntPtr hObject);
/// <summary>
///
/// </summary>
/// <param name="hdc"></param>
/// <param name="hgdiobj"></param>
/// <returns></returns>
[DllImport("gdi32")]
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj);
/// <summary>
///
/// </summary>
/// <param name="hdc"></param>
/// <returns></returns>
[DllImport("gdi32", SetLastError = true)]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
/// <summary>
///
/// </summary>
/// <param name="driverName"></param>
/// <param name="deviceName"></param>
/// <param name="output"></param>
/// <param name="lpInitData"></param>
/// <returns></returns>
[DllImport("gdi32")]
public static extern IntPtr CreateDC(
String driverName,
String deviceName,
String output,
IntPtr lpInitData);
/// <summary>
///
/// </summary>
/// <param name="dc"></param>
/// <returns></returns>
[DllImport("gdi32")]
public static extern bool DeleteDC(
IntPtr dc);
}
}

View File

@ -0,0 +1,108 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace WinAPI
{
/// <summary>
///
/// </summary>
public class Struct
{
#region Struct
/// <summary>
///
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct BLENDFUNCTION
{
/// <summary>
///
/// </summary>
public byte BlendOp;
/// <summary>
/// /
/// </summary>
public byte BlendFlags;
/// <summary>
///
/// </summary>
public byte SourceConstantAlpha;
/// <summary>
///
/// </summary>
public byte AlphaFormat;
}
#endregion
/// <summary>
///
/// </summary>
[Flags]
public enum FlagsSetWindowPos : uint
{
/// <summary>
///
/// </summary>
SWP_NOSIZE = 0x0001,
/// <summary>
///
/// </summary>
SWP_NOMOVE = 0x0002,
/// <summary>
///
/// </summary>
SWP_NOZORDER = 0x0004,
/// <summary>
///
/// </summary>
SWP_NOREDRAW = 0x0008,
/// <summary>
///
/// </summary>
SWP_NOACTIVATE = 0x0010,
/// <summary>
///
/// </summary>
SWP_FRAMECHANGED = 0x0020,
/// <summary>
///
/// </summary>
SWP_SHOWWINDOW = 0x0040,
/// <summary>
///
/// </summary>
SWP_HIDEWINDOW = 0x0080,
/// <summary>
///
/// </summary>
SWP_NOCOPYBITS = 0x0100,
/// <summary>
///
/// </summary>
SWP_NOOWNERZORDER = 0x0200,
/// <summary>
/// /
/// </summary>
SWP_NOSENDCHANGING = 0x0400,
/// <summary>
/// /
/// </summary>
SWP_DRAWFRAME = 0x0020,
/// <summary>
///
/// </summary>
SWP_NOREPOSITION = 0x0200,
/// <summary>
///
/// </summary>
SWP_DEFERERASE = 0x2000,
/// <summary>
///
/// </summary>
SWP_ASYNCWINDOWPOS = 0x4000
};
}
}

View File

@ -0,0 +1,289 @@
using System;
using System.Text;
using System.Drawing;
using System.Runtime.InteropServices;
using static WinAPI.Struct;
using System.Windows.Forms;
namespace Win32API
{
/// <summary>
///
/// </summary>
public partial class User32
{
#region UnmanagedMethods
/// <summary>
/// 模拟鼠标点击
/// </summary>
/// <param name="dwFlags"></param>
/// <param name="dx"></param>
/// <param name="dy"></param>
/// <param name="dwData"></param>
/// <param name="dwExtraInfo"></param>
/// <returns></returns>
[DllImport("user32")]
public static extern int mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);
/// <summary>
/// 模拟按键
/// </summary>
/// <param name="bVk"></param>
/// <param name="bScan"></param>
/// <param name="dwFlags"></param>
/// <param name="dwExtraInfo"></param>
[DllImport("user32.dll", EntryPoint = "keybd_event", SetLastError = true)]
public static extern void keybd_event(Keys bVk, byte bScan, uint dwFlags, uint dwExtraInfo);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <returns></returns>
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern IntPtr GetWindowDC(IntPtr hWnd);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="x"></param>
/// <param name="y"></param>
/// <param name="width"></param>
/// <param name="height"></param>
/// <param name="repaint"></param>
/// <returns></returns>
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern bool MoveWindow(IntPtr hWnd, int x, int y, int width, int height, bool repaint);
/// <summary>
///
/// </summary>
/// <param name="hwndChild"></param>
/// <param name="hwndParent"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr SetParent(IntPtr hwndChild, IntPtr hwndParent);
/// <summary>
/// The GetParent function retrieves a handle to the specified window's parent or owner.
/// </summary>
/// <param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param>
/// <returns>If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.</returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr GetParent(IntPtr hwnd);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <param name="wMsg"></param>
/// <param name="wParam"></param>
/// <param name="lParam"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int SendMessage(
IntPtr hwnd,
int wMsg,
int wParam,
int lParam);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <param name="wMsg"></param>
/// <param name="wParam"></param>
/// <param name="lParam"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int SendMessage(
IntPtr hwnd,
int wMsg,
IntPtr wParam,
IntPtr lParam);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="Msg"></param>
/// <param name="wParam"></param>
/// <param name="lParam"></param>
/// <returns></returns>
[DllImport("user32.dll", SetLastError = true)]
public static extern bool SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
/// <summary>
///
/// </summary>
/// <param name="filename"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr LoadCursorFromFile(string filename);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern bool IsWindowVisible(IntPtr hwnd);
/// <summary>
/// The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
/// </summary>
/// <param name="hwndParent">Handle to the parent window whose child windows are to be searched.</param>
/// <param name="hwndChildAfter">Handle to a child window.</param>
/// <param name="lpszClass">Specifies class name.</param>
/// <param name="lpszWindow">Pointer to a null-terminated string that specifies the window name (the window's title).</param>
/// <returns>If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.</returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr FindWindowEx(
IntPtr hwndParent,
IntPtr hwndChildAfter,
[MarshalAs(UnmanagedType.LPTStr)]
string lpszClass,
[MarshalAs(UnmanagedType.LPTStr)]
string lpszWindow);
/// <summary>
/// The InvalidateRect function adds a rectangle to the specified window's update region.
/// </summary>
/// <param name="hwnd">Handle to window.</param>
/// <param name="rect">Rectangle coordinates.</param>
/// <param name="bErase">Erase state.</param>
/// <returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern bool InvalidateRect(
IntPtr hwnd,
ref Rectangle rect,
bool bErase);
/// <summary>
/// The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
/// </summary>
/// <param name="hwnd">Handle to window.</param>
/// <param name="rect">Validation rectangle coordinates.</param>
/// <returns>If the function succeeds, the return value is true.If the function fails, the return value is false.</returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern bool ValidateRect(
IntPtr hwnd,
ref Rectangle rect);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="dwStyle"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int GetWindowLong(
IntPtr hWnd,
int dwStyle);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern IntPtr GetDC(
IntPtr hwnd);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <param name="hdc"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int ReleaseDC(
IntPtr hwnd,
IntPtr hdc);
//[DllImport("user32", SetLastError = false)]
//internal static extern IntPtr GetDesktopWindow();
//[DllImport("user32", CharSet = CharSet.Auto)]
//internal static extern int GetScrollPos(
// IntPtr hwnd,
// int nBar);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <param name="rect"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int GetClientRect(
IntPtr hwnd,
[In, Out] ref Rectangle rect);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="rect"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern bool GetWindowRect(
IntPtr hWnd,
[In, Out] ref Rectangle rect);
/// <summary>
///
/// </summary>
/// <param name="hwnd"></param>
/// <param name="hdcDst"></param>
/// <param name="pptDst"></param>
/// <param name="psize"></param>
/// <param name="hdcSrc"></param>
/// <param name="pprSrc"></param>
/// <param name="crKey"></param>
/// <param name="pblend"></param>
/// <param name="dwFlags"></param>
/// <returns></returns>
[DllImport("user32", ExactSpelling = true, SetLastError = true)]
public static extern bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="nIndex"></param>
/// <param name="dwNewLong"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern uint SetWindowLong(
IntPtr hWnd,
int nIndex,
int dwNewLong);
/// <summary>
/// Changes the size, position, and Z order of a child, pop-up, or top-level window.
/// These windows are ordered according to their appearance on the screen.
/// The topmost window receives the highest rank and is the first window in the Z order.
/// </summary>
/// <param name="hWnd">A handle to the window.</param>
/// <param name="hWndAfter">A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.</param>
/// <param name="X">Specifies the new position of the left side of the window, in client coordinates.</param>
/// <param name="Y">Specifies the new position of the top of the window, in client coordinates.</param>
/// <param name="Width">Specifies the new width of the window, in pixels.</param>
/// <param name="Height">Specifies the new height of the window, in pixels.</param>
/// <param name="flags">Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.</param>
/// <returns>If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.</returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern int SetWindowPos(
IntPtr hWnd,
IntPtr hWndAfter,
int X,
int Y,
int Width,
int Height,
FlagsSetWindowPos flags);
/// <summary>
///
/// </summary>
/// <param name="hWnd"></param>
/// <param name="hWndInsertAfter"></param>
/// <param name="X"></param>
/// <param name="Y"></param>
/// <param name="cx"></param>
/// <param name="cy"></param>
/// <param name="uFlags"></param>
/// <returns></returns>
[DllImport("user32", CharSet = CharSet.Auto)]
public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X,
int Y, int cx, int cy, uint uFlags);
#endregion
}
}

Binary file not shown.

Binary file not shown.

View File

@ -212,8 +212,8 @@ namespace ryControls
else
{
HaveTextShow(); txtSearch.Text = _text;
txtSearch.Select(0, 1);
txtSearch.Select(_text.Length, 0);
//txtSearch.Select(0, 1);
//txtSearch.Select(_text.Length, 0);
}
}
}

View File

@ -0,0 +1,126 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
namespace ryControls
{
/// <summary>
/// 建立圆角路径的样式。
/// </summary>
public enum RoundStyle
{
/// <summary>
/// 四个角都不是圆角。
/// </summary>
None = 0,
/// <summary>
/// 四个角都为圆角。
/// </summary>
All = 1,
/// <summary>
/// 左边两个角为圆角。
/// </summary>
Left = 2,
/// <summary>
/// 右边两个角为圆角。
/// </summary>
Right = 3,
/// <summary>
/// 上边两个角为圆角。
/// </summary>
Top = 4,
/// <summary>
/// 下边两个角为圆角。
/// </summary>
Bottom = 5,
/// <summary>
/// 左下角为圆角。
/// </summary>
BottomLeft = 6,
/// <summary>
/// 右下角为圆角。
/// </summary>
BottomRight = 7
}
/// <summary>
/// 画图相关API
/// </summary>
public class Drawing
{
/// <summary>
/// 建立带有圆角样式的路径。
/// </summary>
/// <param name="rect">用来建立路径的矩形。</param>
/// <param name="radius">圆角的大小。</param>
/// <param name="style">圆角的样式。</param>
/// <param name="correction">是否把矩形长宽减 1,以便画出边框。</param>
/// <returns>建立的路径。</returns>
public static GraphicsPath CreatePath(Rectangle rect, int radius, RoundStyle style, bool correction)
{
GraphicsPath path = new GraphicsPath();
int radiusCorrection = correction ? 1 : 0;
switch (style)
{
case RoundStyle.None:
path.AddRectangle(rect);
break;
case RoundStyle.All:
path.AddArc(rect.X, rect.Y, radius, radius, 180, 90);
path.AddArc(rect.Right - radius - radiusCorrection, rect.Y, radius, radius, 270, 90);
path.AddArc(rect.Right - radius - radiusCorrection, rect.Bottom - radius - radiusCorrection, radius, radius, 0, 90);
path.AddArc(rect.X, rect.Bottom - radius - radiusCorrection, radius, radius, 90, 90);
break;
case RoundStyle.Left:
path.AddArc(rect.X, rect.Y, radius, radius, 180, 90);
path.AddLine(rect.Right - radiusCorrection, rect.Y, rect.Right - radiusCorrection, rect.Bottom - radiusCorrection);
path.AddArc(rect.X, rect.Bottom - radius - radiusCorrection, radius, radius, 90, 90);
break;
case RoundStyle.Right:
path.AddArc(rect.Right - radius - radiusCorrection, rect.Y, radius, radius, 270, 90);
path.AddArc(rect.Right - radius - radiusCorrection, rect.Bottom - radius - radiusCorrection, radius, radius, 0, 90);
path.AddLine(rect.X, rect.Bottom - radiusCorrection, rect.X, rect.Y);
break;
case RoundStyle.Top:
path.AddArc(rect.X, rect.Y, radius, radius, 180, 90);
path.AddArc(rect.Right - radius - radiusCorrection, rect.Y, radius, radius, 270, 90);
path.AddLine(rect.Right - radiusCorrection, rect.Bottom - radiusCorrection, rect.X, rect.Bottom - radiusCorrection);
break;
case RoundStyle.Bottom:
path.AddArc(rect.Right - radius - radiusCorrection, rect.Bottom - radius - radiusCorrection, radius, radius, 0, 90);
path.AddArc(rect.X, rect.Bottom - radius - radiusCorrection, radius, radius, 90, 90);
path.AddLine(rect.X, rect.Y, rect.Right - radiusCorrection, rect.Y);
break;
case RoundStyle.BottomLeft:
path.AddArc(
rect.X,
rect.Bottom - radius - radiusCorrection,
radius,
radius,
90,
90);
path.AddLine(rect.X, rect.Y, rect.Right - radiusCorrection, rect.Y);
path.AddLine(
rect.Right - radiusCorrection,
rect.Y,
rect.Right - radiusCorrection,
rect.Bottom - radiusCorrection);
break;
case RoundStyle.BottomRight:
path.AddArc(
rect.Right - radius - radiusCorrection,
rect.Bottom - radius - radiusCorrection,
radius,
radius,
0,
90);
path.AddLine(rect.X, rect.Bottom - radiusCorrection, rect.X, rect.Y);
path.AddLine(rect.X, rect.Y, rect.Right - radiusCorrection, rect.Y);
break;
}
path.CloseFigure(); //这句很关键,缺少会没有左边线。
return path;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,238 @@
using ryControls;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
namespace BrightIdeasSoftware.Rendering
{
enum buttonStyle
{
/// <summary>
/// 正常为选中按钮
/// </summary>
ButtonNormal,
/// <summary>
/// 获得焦点的按钮
/// </summary>
ButtonFocuse,
/// <summary>
/// 鼠标经过样式
/// </summary>
ButtonMouseOver,
/// <summary>
/// 获得焦点并鼠标经过
/// </summary>
ButtonFocuseAndMouseOver
}
/// <summary>
/// 自定义GDI工具绘制按钮
/// </summary>
class Util_GDI
{
/// <summary>
/// 绘制圆形按钮(用法同矩形按钮)
/// </summary>
/// <param name="text"></param>
/// <param name="g"></param>
/// <param name="Location"></param>
/// <param name="r"></param>
/// <param name="btnStyle"></param>
public static void DrawCircleButton(string text, Graphics g, Point Location, int r, buttonStyle btnStyle)
{
Graphics Gcircle = g;
Rectangle rect = new Rectangle(Location.X, Location.Y, r, r);
Pen p = new Pen(new SolidBrush(Color.Black));
Gcircle.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
Gcircle.DrawEllipse(p, rect);
if (btnStyle == buttonStyle.ButtonFocuse)
{
Gcircle.FillEllipse(new SolidBrush(ColorTranslator.FromHtml("#338FCC")), rect);
}
else if (btnStyle == buttonStyle.ButtonMouseOver)
{
Gcircle.FillEllipse(new SolidBrush(ColorTranslator.FromHtml("#EAC100")), rect);
}
else if (btnStyle == buttonStyle.ButtonFocuseAndMouseOver)
{
Gcircle.FillEllipse(new SolidBrush(ColorTranslator.FromHtml("#EAC100")), rect);
}
p.DashStyle = DashStyle.Dash;
if (btnStyle != buttonStyle.ButtonNormal)
{
Gcircle.DrawEllipse(p, new Rectangle(rect.X + 2, rect.Y + 2, rect.Width - 4, rect.Height - 4));//虚线框
}
Gcircle.FillEllipse(new SolidBrush(Color.WhiteSmoke), new Rectangle(rect.X + 3, rect.Y + 3, rect.Width - 6, rect.Height - 6));
StringFormat sf = new StringFormat();
sf.Alignment = StringAlignment.Center;
sf.LineAlignment = StringAlignment.Center;
Gcircle.DrawString(text, new Font(new FontFamily("宋体"), 10), new SolidBrush(Color.Black), rect, sf);
p.Dispose();
}
public static Color GetColor(Color colorBase, int a, int r, int g, int b)
{
int a0 = colorBase.A;
int r0 = colorBase.R;
int g0 = colorBase.G;
int b0 = colorBase.B;
if (a + a0 > 255) { a = 255; } else { a = Math.Max(a + a0, 0); }
if (r + r0 > 255) { r = 255; } else { r = Math.Max(r + r0, 0); }
if (g + g0 > 255) { g = 255; } else { g = Math.Max(g + g0, 0); }
if (b + b0 > 255) { b = 255; } else { b = Math.Max(b + b0, 0); }
return Color.FromArgb(a, r, g, b);
}
public static void DrawButtonX(string Text, Graphics g,
Rectangle rect,
Color ForeColor,
Color baseColor,
Color borderColor,
Color innerBorderColor,
RoundStyle style,
int roundWidth, bool drawBorder)
{
RenderBackgroundInternal(g, rect, baseColor, borderColor, innerBorderColor, style, roundWidth, 0.35f, drawBorder, false, LinearGradientMode.Vertical);
StringFormat sf = new StringFormat();
sf.Alignment = StringAlignment.Center;
sf.LineAlignment = StringAlignment.Center;
g.DrawString(Text, new Font("宋体", 10), new SolidBrush(ForeColor), rect, sf);
}
private static void RenderBackgroundInternal(
Graphics g,
Rectangle rect,
Color baseColor,
Color borderColor,
Color innerBorderColor,
RoundStyle style,
int roundWidth,//圆角半径
float basePosition,
bool drawBorder,
bool drawGlass,
LinearGradientMode mode)
{
if (drawBorder)//是否画边框
{
rect.Width--;
rect.Height--;
}
using (LinearGradientBrush brush = new LinearGradientBrush(rect, Color.Transparent, Color.Transparent, mode))
{
Color[] colors = new Color[4];
colors[0] = GetColor(baseColor, 0, 35, 24, 9);
colors[1] = GetColor(baseColor, 0, 0, 0, 0);
colors[2] = baseColor;
colors[3] = GetColor(baseColor, 0, 0, 0, 0);
ColorBlend blend = new ColorBlend();
blend.Positions = new float[] { 0.0f, basePosition, basePosition, 1.0f };
blend.Colors = colors;
brush.InterpolationColors = blend;
if (style != RoundStyle.None)
{
using (GraphicsPath path =
ryControls.Drawing.CreatePath(rect, roundWidth, style, false))
{
g.FillPath(brush, path);
}
if (baseColor.A > 80)
{
Rectangle rectTop = rect;
if (mode == LinearGradientMode.Vertical)
{
// rectTop.Height = (int)(rectTop.Height * basePosition);
}
else
{
// rectTop.Width = (int)(rect.Width * basePosition);
}
using (GraphicsPath pathTop = ryControls.Drawing.CreatePath(
rectTop, roundWidth, RoundStyle.Top, false))
{
using (SolidBrush brushAlpha =
new SolidBrush(Color.FromArgb(80, 255, 255, 255)))
{
g.FillPath(brushAlpha, pathTop);
}
}
}
}
}
}
/// <summary>
/// 绘制圆角按钮
/// </summary>
/// <param name="Text">要绘制的文字</param>
/// <param name="g">Graphics 对象</param>
/// <param name="rect">要填充的矩形</param>
/// <param name="btnStyle"></param>
public static void DrawRoundButton(string Text, Graphics g, Rectangle rect, buttonStyle btnStyle)
{
//g.Clear(Color.White);
g.SmoothingMode = SmoothingMode.AntiAlias;//消除锯齿
Rectangle rectangle = rect;
Brush b = b = new SolidBrush(Color.Gray);
if (btnStyle == buttonStyle.ButtonFocuse)
{
b = new SolidBrush(ColorTranslator.FromHtml("#338FCC"));
}
else if (btnStyle == buttonStyle.ButtonMouseOver)
{
b = new SolidBrush(ColorTranslator.FromHtml("#C6A300"));
}
else if (btnStyle == buttonStyle.ButtonFocuseAndMouseOver)
{
b = new SolidBrush(ColorTranslator.FromHtml("#C6A300"));
}
g.DrawPath(new Pen(b), GetRoundRectangle(rectangle, 2));
rectangle = new Rectangle(rect.X + 2, rect.Y + 2, rect.Width - 4, rect.Height - 4);
Pen p = new Pen(Color.Gray, 0.5f);
p.DashStyle = DashStyle.Dash;
if (btnStyle == buttonStyle.ButtonFocuse || btnStyle == buttonStyle.ButtonFocuseAndMouseOver)
{
g.DrawRectangle(p, rectangle);//虚线框
}
g.FillRectangle(new SolidBrush(Color.Green), rectangle);//白色背景
StringFormat sf = new StringFormat();
sf.Alignment = StringAlignment.Center;
sf.LineAlignment = StringAlignment.Center;
g.DrawString(Text, new Font("宋体", 10), new SolidBrush(Color.White), rectangle, sf);
p.Dispose();
b.Dispose();
g.SmoothingMode = SmoothingMode.Default;
}
/// <summary>
/// 根据普通矩形得到圆角矩形的路径
/// </summary>
/// <param name="rectangle">原始矩形</param>
/// <param name="r">半径</param>
/// <returns>图形路径</returns>
private static GraphicsPath GetRoundRectangle(Rectangle rectangle, int r)
{
int l = 2 * r;
// 把圆角矩形分成八段直线、弧的组合,依次加到路径中
GraphicsPath gp = new GraphicsPath();
gp.AddLine(new Point(rectangle.X + r, rectangle.Y), new Point(rectangle.Right - r, rectangle.Y));
gp.AddArc(new Rectangle(rectangle.Right - l, rectangle.Y, l, l), 270F, 90F);
gp.AddLine(new Point(rectangle.Right, rectangle.Y + r), new Point(rectangle.Right, rectangle.Bottom - r));
gp.AddArc(new Rectangle(rectangle.Right - l, rectangle.Bottom - l, l, l), 0F, 90F);
gp.AddLine(new Point(rectangle.Right - r, rectangle.Bottom), new Point(rectangle.X + r, rectangle.Bottom));
gp.AddArc(new Rectangle(rectangle.X, rectangle.Bottom - l, l, l), 90F, 90F);
gp.AddLine(new Point(rectangle.X, rectangle.Bottom - r), new Point(rectangle.X, rectangle.Y + r));
gp.AddArc(new Rectangle(rectangle.X, rectangle.Y, l, l), 180F, 90F);
return gp;
}
}
}

View File

@ -321,6 +321,7 @@
<Compile Include="ObjectListView\Rendering\TreeRenderer.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ObjectListView\Rendering\Util_GDI.cs" />
<Compile Include="ObjectListView\SubControls\GlassPanelForm.cs">
<SubType>Form</SubType>
</Compile>

View File

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ryUpdate.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ryUpdate.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -28,93 +28,94 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStartUpdate));
this.label1 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.label2 = new System.Windows.Forms.Label();
this.BtnOK = new ryControls.ButtonEx();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.Timer1 = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(149, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(323, 58);
this.label1.TabIndex = 1;
this.label1.Text = "软件正在下载升级文件,请稍后。。。。";
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(152, 94);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(320, 23);
this.progressBar1.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(150, 79);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 3;
this.label2.Text = "文件信息";
//
// BtnOK
//
this.BtnOK.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95)))));
this.BtnOK.Enabled = false;
this.BtnOK.Location = new System.Drawing.Point(397, 249);
this.BtnOK.Name = "BtnOK";
this.BtnOK.Size = new System.Drawing.Size(75, 26);
this.BtnOK.TabIndex = 4;
this.BtnOK.Text = "完成更新";
this.BtnOK.UseVisualStyleBackColor = true;
this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(-1, -1);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(144, 287);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// Timer1
//
this.Timer1.Interval = 3000;
this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
//
// frmStartUpdate
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(484, 285);
this.Controls.Add(this.BtnOK);
this.Controls.Add(this.label2);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "frmStartUpdate";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "在线更新";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmStartUpdate_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmStartUpdate_FormClosed);
this.Load += new System.EventHandler(this.FrmStartUpdate_Load);
this.Shown += new System.EventHandler(this.FrmStartUpdate_Shown);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStartUpdate));
this.label1 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.label2 = new System.Windows.Forms.Label();
this.BtnOK = new ryControls.ButtonEx();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.Timer1 = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(149, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(323, 58);
this.label1.TabIndex = 1;
this.label1.Text = "软件正在下载升级文件,请稍后。。。。";
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(152, 94);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(320, 23);
this.progressBar1.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(150, 79);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 3;
this.label2.Text = "文件信息";
//
// BtnOK
//
this.BtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnOK.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95)))));
this.BtnOK.Enabled = false;
this.BtnOK.Location = new System.Drawing.Point(397, 249);
this.BtnOK.Name = "BtnOK";
this.BtnOK.Size = new System.Drawing.Size(75, 26);
this.BtnOK.TabIndex = 4;
this.BtnOK.Text = "完成更新";
this.BtnOK.UseVisualStyleBackColor = true;
this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(-1, -1);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(144, 164);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// Timer1
//
this.Timer1.Interval = 3000;
this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
//
// frmStartUpdate
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(483, 282);
this.Controls.Add(this.BtnOK);
this.Controls.Add(this.label2);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "frmStartUpdate";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "在线更新";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmStartUpdate_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmStartUpdate_FormClosed);
this.Load += new System.EventHandler(this.FrmStartUpdate_Load);
this.Shown += new System.EventHandler(this.FrmStartUpdate_Shown);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion

File diff suppressed because it is too large Load Diff

View File

@ -61,6 +61,11 @@
<Compile Include="myUpdate\LiveUpdate_EventArgs.cs" />
<Compile Include="myUpdate\LiveUpdate_Delegate.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="myUpdate\frmStartUpdate.resx">
@ -69,6 +74,10 @@
<EmbeddedResource Include="myUpdate\frmUpdate.resx">
<DependentUpon>frmUpdate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MyDb\MyDbV4.csproj">