### 2021-02-28更新

------
#### VSoft    V1.0.2102.2801
- *.[新增]项目支持毕方3.0标准。
- *.[新增]项目新增支持条件编译,可以自由根据条件编译成公司项目或工作室项目。
- *.[改进]对话框弹出默认在父窗体中间。
This commit is contained in:
鑫Intel 2021-02-28 16:45:39 +08:00
parent 2e557b5365
commit 2eb38def50
26 changed files with 3373 additions and 3337 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5118,14 +5118,14 @@
</member> </member>
<member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)"> <member name="M:WinAPI.GDI32.DeleteObject(System.IntPtr)">
<summary> <summary>
删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
</summary> </summary>
<param name="hObject"></param> <param name="hObject"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)"> <member name="M:WinAPI.GDI32.SelectObject(System.IntPtr,System.IntPtr)">
<summary> <summary>
选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
</summary> </summary>
<param name="hdc"></param> <param name="hdc"></param>
<param name="hgdiobj"></param> <param name="hgdiobj"></param>
@ -5133,14 +5133,14 @@
</member> </member>
<member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)"> <member name="M:WinAPI.GDI32.CreateCompatibleDC(System.IntPtr)">
<summary> <summary>
创建一个与指定设备兼容的内存设备上下文环境DC
</summary> </summary>
<param name="hdc"></param> <param name="hdc"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)"> <member name="M:WinAPI.GDI32.CreateDC(System.String,System.String,System.String,System.IntPtr)">
<summary> <summary>
为一个设备创建设备上下文环境。
</summary> </summary>
<param name="driverName"></param> <param name="driverName"></param>
<param name="deviceName"></param> <param name="deviceName"></param>
@ -5150,7 +5150,7 @@
</member> </member>
<member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)"> <member name="M:WinAPI.GDI32.DeleteDC(System.IntPtr)">
<summary> <summary>
删除指定的设备上下文环境Dc
</summary> </summary>
<param name="dc"></param> <param name="dc"></param>
<returns></returns> <returns></returns>
@ -5182,7 +5182,7 @@
</member> </member>
<member name="M:WinAPI.User32.GetWindowDC(System.IntPtr)"> <member name="M:WinAPI.User32.GetWindowDC(System.IntPtr)">
<summary> <summary>
返回hWnd参数所指定的窗口的设备环境。
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<returns></returns> <returns></returns>
@ -5201,7 +5201,9 @@
</member> </member>
<member name="M:WinAPI.User32.CallWindowProc(System.IntPtr,System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)"> <member name="M:WinAPI.User32.CallWindowProc(System.IntPtr,System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary> <summary>
将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
</summary> </summary>
<param name="lpPrevWndFunc"></param> <param name="lpPrevWndFunc"></param>
<param name="hwnd"></param> <param name="hwnd"></param>
@ -5212,16 +5214,25 @@
</member> </member>
<member name="M:WinAPI.User32.SetWindowLong(System.IntPtr,System.Int32,System.IntPtr)"> <member name="M:WinAPI.User32.SetWindowLong(System.IntPtr,System.Int32,System.IntPtr)">
<summary> <summary>
用来改变指定窗口的属性函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="nIndex"></param> <param name="nIndex"></param>
<param name="dwNewLong"></param> <param name="dwNewLong"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.User32.SetWindowLong(System.IntPtr,System.Int32,System.Int32)">
<summary>
用来改变指定窗口的属性函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
</summary>
<param name="hWnd"></param>
<param name="nIndex"></param>
<param name="dwNewLong"></param>
<returns></returns>
</member>
<member name="M:WinAPI.User32.SetParent(System.IntPtr,System.IntPtr)"> <member name="M:WinAPI.User32.SetParent(System.IntPtr,System.IntPtr)">
<summary> <summary>
设置弹出式窗口,层叠窗口或子窗口的父窗口
</summary> </summary>
<param name="hwndChild"></param> <param name="hwndChild"></param>
<param name="hwndParent"></param> <param name="hwndParent"></param>
@ -5229,31 +5240,43 @@
</member> </member>
<member name="M:WinAPI.User32.GetParent(System.IntPtr)"> <member name="M:WinAPI.User32.GetParent(System.IntPtr)">
<summary> <summary>
The GetParent function retrieves a handle to the specified window's parent or owner. 获得一个指定子窗口的父窗口句柄
</summary> </summary>
<param name="hwnd">Handle to the window whose parent window handle is to be retrieved.</param> <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> <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>
<member name="M:WinAPI.User32.GetSystemMenu(System.IntPtr,System.Int32)"> <member name="M:WinAPI.User32.GetSystemMenu(System.IntPtr,System.Int32)">
<summary> <summary>
获取系统菜单的句柄
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd">拥有窗口菜单拷贝的窗口的句柄</param>
<param name="bRevert"></param> <param name="bRevert">标志位,指定将执行的操作</param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.User32.GetSystemMenu(System.IntPtr,System.Boolean)">
<summary>
获取系统菜单的句柄
</summary>
<param name="hwnd">拥有窗口菜单拷贝的窗口的句柄</param>
<param name="bRevert">标志位,指定将执行的操作。
如果此参数为FALSEGetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同但可以被修改。
如果此参数为TRUEGetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单将被销毁。
</param>
<returns>如果参数bRevert为FALSE返回值是窗口菜单的拷贝的句柄如果参数bRevert为TRUE返回值是NULL。</returns>
</member>
<member name="M:WinAPI.User32.RemoveMenu(System.Int32,System.Int32,System.Int32)"> <member name="M:WinAPI.User32.RemoveMenu(System.Int32,System.Int32,System.Int32)">
<summary> <summary>
从指定菜单删除一个菜单项或分离一个子菜单。
备注只要一个菜单被修改无论它是否在显示窗口里应用程序都必须调用函数DrawMenuBar。
</summary> </summary>
<param name="hMenu"></param> <param name="hMenu">将被修改的菜单的句柄。</param>
<param name="nPosition"></param> <param name="nPosition">指定将被删除的菜单项其含义由参数wFlags决定。</param>
<param name="wFlags"></param> <param name="wFlags"></param>
<returns></returns> <returns>如果函数调用成功返回非零值如果函数调用失败返回值是零。若想获得更多的错误信息请调用GetLastError函数。</returns>
</member> </member>
<member name="M:WinAPI.User32.SetForegroundWindow(System.IntPtr)"> <member name="M:WinAPI.User32.SetForegroundWindow(System.IntPtr)">
<summary> <summary>
设置前台窗口
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<returns></returns> <returns></returns>
@ -5268,7 +5291,7 @@
<summary> <summary>
获得当前活动窗体 获得当前活动窗体
</summary> </summary>
<returns></returns> <returns>活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。</returns>
</member> </member>
<member name="M:WinAPI.User32.SetActiveWindow(System.IntPtr)"> <member name="M:WinAPI.User32.SetActiveWindow(System.IntPtr)">
<summary> <summary>
@ -5312,7 +5335,7 @@
</member> </member>
<member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)"> <member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.Int32,System.Int32,System.Int32)">
<summary> <summary>
发送消息
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="wMsg"></param> <param name="wMsg"></param>
@ -5322,7 +5345,7 @@
</member> </member>
<member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)"> <member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr)">
<summary> <summary>
发送消息
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="wMsg"></param> <param name="wMsg"></param>
@ -5332,7 +5355,7 @@
</member> </member>
<member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)"> <member name="M:WinAPI.User32.SendMessage(System.IntPtr,System.UInt32,System.Int32,System.Int32)">
<summary> <summary>
发送消息
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<param name="Msg"></param> <param name="Msg"></param>
@ -5361,14 +5384,14 @@
</member> </member>
<member name="M:WinAPI.User32.LoadCursorFromFile(System.String)"> <member name="M:WinAPI.User32.LoadCursorFromFile(System.String)">
<summary> <summary>
从文件中载入指针
</summary> </summary>
<param name="filename"></param> <param name="filename"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.User32.IsWindowVisible(System.IntPtr)"> <member name="M:WinAPI.User32.IsWindowVisible(System.IntPtr)">
<summary> <summary>
判断窗口是否可见
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<returns></returns> <returns></returns>
@ -5410,7 +5433,7 @@
</member> </member>
<member name="M:WinAPI.User32.GetWindowLong(System.IntPtr,System.Int32)"> <member name="M:WinAPI.User32.GetWindowLong(System.IntPtr,System.Int32)">
<summary> <summary>
获取指定窗口的有关信息也可用于获取窗口内存中指定偏移的32位度整型值。
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<param name="dwStyle"></param> <param name="dwStyle"></param>
@ -5418,14 +5441,14 @@
</member> </member>
<member name="M:WinAPI.User32.GetDC(System.IntPtr)"> <member name="M:WinAPI.User32.GetDC(System.IntPtr)">
<summary> <summary>
检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.User32.ReleaseDC(System.IntPtr,System.IntPtr)"> <member name="M:WinAPI.User32.ReleaseDC(System.IntPtr,System.IntPtr)">
<summary> <summary>
释放设备上下文环境DC供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境对于类或私有的则无效。
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="hdc"></param> <param name="hdc"></param>
@ -5433,7 +5456,7 @@
</member> </member>
<member name="M:WinAPI.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)"> <member name="M:WinAPI.User32.GetClientRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary> <summary>
获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="rect"></param> <param name="rect"></param>
@ -5441,7 +5464,7 @@
</member> </member>
<member name="M:WinAPI.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)"> <member name="M:WinAPI.User32.GetWindowRect(System.IntPtr,System.Drawing.Rectangle@)">
<summary> <summary>
返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<param name="rect"></param> <param name="rect"></param>
@ -5449,7 +5472,7 @@
</member> </member>
<member name="M:WinAPI.User32.UpdateLayeredWindow(System.IntPtr,System.IntPtr,System.Drawing.Point@,System.Drawing.Size@,System.IntPtr,System.Drawing.Point@,System.Int32,WinAPI.Struct.BLENDFUNCTION@,System.Int32)"> <member name="M:WinAPI.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>
更新一个分层窗口的位置,大小,形状,内容和半透明度
</summary> </summary>
<param name="hwnd"></param> <param name="hwnd"></param>
<param name="hdcDst"></param> <param name="hdcDst"></param>
@ -5462,20 +5485,10 @@
<param name="dwFlags"></param> <param name="dwFlags"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:WinAPI.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:WinAPI.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)"> <member name="M:WinAPI.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,WinAPI.Struct.FlagsSetWindowPos)">
<summary> <summary>
Changes the size, position, and Z order of a child, pop-up, or top-level window. 改变一个子窗口弹出式窗口或顶层窗口的尺寸位置和Z序。
These windows are ordered according to their appearance on the screen. 子窗口弹出式窗口及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高并且被设置为Z序的第一个窗口。
The topmost window receives the highest rank and is the first window in the Z order.
</summary> </summary>
<param name="hWnd">A handle to the window.</param> <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="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>
@ -5488,7 +5501,8 @@
</member> </member>
<member name="M:WinAPI.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)"> <member name="M:WinAPI.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32)">
<summary> <summary>
改变一个子窗口弹出式窗口或顶层窗口的尺寸位置和Z序。
子窗口弹出式窗口及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高并且被设置为Z序的第一个窗口。
</summary> </summary>
<param name="hWnd"></param> <param name="hWnd"></param>
<param name="hWndInsertAfter"></param> <param name="hWndInsertAfter"></param>

Binary file not shown.

View File

@ -1,4 +1,4 @@
[VSoft] [VSoft]
hwnd=134840 hwnd=399788
width=733 width=733
height=570 height=570

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,3 @@
<root> <root>
<list id="LastUpdateTime" Value="2021/2/27 22:48:30" /> <list id="LastUpdateTime" Value="2021/2/28 16:44:50" />
</root> </root>

Binary file not shown.

View File

@ -5707,55 +5707,6 @@
Specified WM_THEMECHANGED enumeration value. Specified WM_THEMECHANGED enumeration value.
</summary> </summary>
</member> </member>
<member name="M:ryControls.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:ryControls.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:ryControls.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:ryControls.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:ryControls.Win32API.User32.SetWindowPos(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,ryControls.Win32API.User32.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="T:ryControls.NodeItem"> <member name="T:ryControls.NodeItem">
<summary> <summary>

Binary file not shown.

View File

@ -1,4 +1,11 @@
### 2021-02-27更新 ### 2021-02-28更新
------
#### VSoft V1.0.2102.2801
- *.[新增]项目支持毕方3.0标准。
- *.[新增]项目新增支持条件编译,可以自由根据条件编译成公司项目或工作室项目。
- *.[改进]对话框弹出默认在父窗体中间。
### 2021-02-27更新
------ ------
#### VSoft V1.0.2102.2701 #### VSoft V1.0.2102.2701
- *.[新增]全新的UI,更加美观。 - *.[新增]全新的UI,更加美观。

Binary file not shown.

View File

@ -33,11 +33,19 @@ namespace VSoft.Config
/// <summary> /// <summary>
/// 官网地址 /// 官网地址
/// </summary> /// </summary>
#if DY
public const string Soft_Url = "http://www.3h3.com"; public const string Soft_Url = "http://www.3h3.com";
#else
public const string Soft_Url = "http://www.itrycn.com";
#endif
/// <summary> /// <summary>
/// 售后QQ群 /// 售后QQ群
/// </summary> /// </summary>
#if DY
public const string QQ_Qun = "暂无";
#else
public const string QQ_Qun = "183161992"; public const string QQ_Qun = "183161992";
#endif
/// <summary> /// <summary>
/// 关于界面内容. /// 关于界面内容.
/// </summary> /// </summary>

View File

@ -31,12 +31,12 @@
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.LblQQ_Qun = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.LblQQ_Qun = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label();
this.lblVisitUrl = new System.Windows.Forms.Label(); this.lblVisitUrl = new System.Windows.Forms.Label();
@ -47,6 +47,21 @@
this.pnlTopLogo.SuspendLayout(); this.pnlTopLogo.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// LblQQ_Qun
//
this.LblQQ_Qun.AutoSize = true;
this.LblQQ_Qun.BackColor = System.Drawing.Color.Transparent;
this.LblQQ_Qun.Cursor = System.Windows.Forms.Cursors.Hand;
this.LblQQ_Qun.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LblQQ_Qun.ForeColor = System.Drawing.Color.Blue;
this.LblQQ_Qun.Location = new System.Drawing.Point(218, 96);
this.LblQQ_Qun.Name = "LblQQ_Qun";
this.LblQQ_Qun.Size = new System.Drawing.Size(59, 12);
this.LblQQ_Qun.TabIndex = 14;
this.LblQQ_Qun.Text = "183161992";
this.toolTip1.SetToolTip(this.LblQQ_Qun, "点击复制");
this.LblQQ_Qun.Click += new System.EventHandler(this.LblQQ_Qun_Click);
//
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
@ -95,28 +110,13 @@
// pictureBox1 // pictureBox1
// //
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(85, 140); this.pictureBox1.Location = new System.Drawing.Point(85, 144);
this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(319, 174); this.pictureBox1.Size = new System.Drawing.Size(319, 174);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 17; this.pictureBox1.TabIndex = 17;
this.pictureBox1.TabStop = false; this.pictureBox1.TabStop = false;
// //
// LblQQ_Qun
//
this.LblQQ_Qun.AutoSize = true;
this.LblQQ_Qun.BackColor = System.Drawing.Color.Transparent;
this.LblQQ_Qun.Cursor = System.Windows.Forms.Cursors.Hand;
this.LblQQ_Qun.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.LblQQ_Qun.ForeColor = System.Drawing.Color.Blue;
this.LblQQ_Qun.Location = new System.Drawing.Point(218, 96);
this.LblQQ_Qun.Name = "LblQQ_Qun";
this.LblQQ_Qun.Size = new System.Drawing.Size(59, 12);
this.LblQQ_Qun.TabIndex = 14;
this.LblQQ_Qun.Text = "183161992";
this.toolTip1.SetToolTip(this.LblQQ_Qun, "点击复制");
this.LblQQ_Qun.Click += new System.EventHandler(this.LblQQ_Qun_Click);
//
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;

View File

@ -74,17 +74,18 @@
this.panelEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(216)))), ((int)(((byte)(223))))); this.panelEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(216)))), ((int)(((byte)(223)))));
this.panelEx1.Controls.Add(this.IconViewEx1); this.panelEx1.Controls.Add(this.IconViewEx1);
this.panelEx1.Controls.Add(this.panel1); this.panelEx1.Controls.Add(this.panel1);
this.panelEx1.Location = new System.Drawing.Point(84, 65); this.panelEx1.Location = new System.Drawing.Point(90, 100);
this.panelEx1.Name = "panelEx1"; this.panelEx1.Name = "panelEx1";
this.panelEx1.Padding = new System.Windows.Forms.Padding(3); this.panelEx1.Padding = new System.Windows.Forms.Padding(3);
this.panelEx1.RoundeStyle = ryControls.RoundStyle.None; this.panelEx1.RoundeStyle = ryControls.RoundStyle.None;
this.panelEx1.Size = new System.Drawing.Size(556, 401); this.panelEx1.Size = new System.Drawing.Size(587, 417);
this.panelEx1.TabIndex = 1; this.panelEx1.TabIndex = 1;
this.panelEx1.TileBackColor = System.Drawing.Color.White; this.panelEx1.TileBackColor = System.Drawing.Color.White;
// //
// IconViewEx1 // IconViewEx1
// //
this.IconViewEx1.AllowDrop = true; this.IconViewEx1.AllowDrop = true;
this.IconViewEx1.BadgeListImage = ((System.Collections.Generic.List<System.Drawing.Image>)(resources.GetObject("IconViewEx1.BadgeListImage")));
this.IconViewEx1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.IconViewEx1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.IconViewEx1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.IconViewEx1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1}); this.columnHeader1});
@ -93,15 +94,21 @@
this.IconViewEx1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.IconViewEx1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.IconViewEx1.HideSelection = false; this.IconViewEx1.HideSelection = false;
this.IconViewEx1.Icon = ((System.Drawing.Image)(resources.GetObject("IconViewEx1.Icon"))); this.IconViewEx1.Icon = ((System.Drawing.Image)(resources.GetObject("IconViewEx1.Icon")));
this.IconViewEx1.IconSize = 64;
this.IconViewEx1.IsDrawGridLines = false; this.IconViewEx1.IsDrawGridLines = false;
this.IconViewEx1.IsDrawIcon = true; this.IconViewEx1.IsDrawIcon = true;
this.IconViewEx1.Location = new System.Drawing.Point(3, 33); this.IconViewEx1.Location = new System.Drawing.Point(3, 33);
this.IconViewEx1.MultiSelect = false; this.IconViewEx1.MultiSelect = false;
this.IconViewEx1.Name = "IconViewEx1"; this.IconViewEx1.Name = "IconViewEx1";
this.IconViewEx1.OwnerDraw = true; 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.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(251)))), ((int)(((byte)(237)))));
this.IconViewEx1.ShowItemToolTips = true; this.IconViewEx1.ShowItemToolTips = true;
this.IconViewEx1.Size = new System.Drawing.Size(550, 365); this.IconViewEx1.Size = new System.Drawing.Size(581, 381);
this.IconViewEx1.TabIndex = 0; this.IconViewEx1.TabIndex = 0;
this.IconViewEx1.TextHeight = 20;
this.IconViewEx1.TileSize = new System.Drawing.Size(90, 90); this.IconViewEx1.TileSize = new System.Drawing.Size(90, 90);
this.IconViewEx1.UseCompatibleStateImageBehavior = false; this.IconViewEx1.UseCompatibleStateImageBehavior = false;
this.IconViewEx1.View = System.Windows.Forms.View.Tile; this.IconViewEx1.View = System.Windows.Forms.View.Tile;
@ -185,7 +192,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(3, 3); this.panel1.Location = new System.Drawing.Point(3, 3);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(550, 30); this.panel1.Size = new System.Drawing.Size(581, 30);
this.panel1.TabIndex = 1; this.panel1.TabIndex = 1;
this.panel1.Visible = false; this.panel1.Visible = false;
// //
@ -202,8 +209,9 @@
// //
this.rySearch1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(239)))), ((int)(((byte)(244))))); this.rySearch1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(239)))), ((int)(((byte)(244)))));
this.rySearch1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95))))); this.rySearch1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(76)))), ((int)(((byte)(95)))));
this.rySearch1.ButtonRoundBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(239)))), ((int)(((byte)(244)))));
this.rySearch1.EmptyText = "输入名称或拼音即可搜索"; this.rySearch1.EmptyText = "输入名称或拼音即可搜索";
this.rySearch1.Location = new System.Drawing.Point(87, 6); this.rySearch1.Location = new System.Drawing.Point(90, 34);
this.rySearch1.Name = "rySearch1"; this.rySearch1.Name = "rySearch1";
this.rySearch1.Size = new System.Drawing.Size(278, 27); this.rySearch1.Size = new System.Drawing.Size(278, 27);
this.rySearch1.TabIndex = 2; this.rySearch1.TabIndex = 2;
@ -214,7 +222,7 @@
// //
this.BtnAddColumn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BtnAddColumn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.BtnAddColumn.Image = ((System.Drawing.Image)(resources.GetObject("BtnAddColumn.Image"))); this.BtnAddColumn.Image = ((System.Drawing.Image)(resources.GetObject("BtnAddColumn.Image")));
this.BtnAddColumn.Location = new System.Drawing.Point(612, 34); this.BtnAddColumn.Location = new System.Drawing.Point(649, 65);
this.BtnAddColumn.Name = "BtnAddColumn"; this.BtnAddColumn.Name = "BtnAddColumn";
this.BtnAddColumn.Size = new System.Drawing.Size(27, 28); this.BtnAddColumn.Size = new System.Drawing.Size(27, 28);
this.BtnAddColumn.TabIndex = 3; this.BtnAddColumn.TabIndex = 3;
@ -276,7 +284,7 @@
// pictureBox1 // pictureBox1
// //
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(4, 3); this.pictureBox1.Location = new System.Drawing.Point(4, 34);
this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(80, 60); this.pictureBox1.Size = new System.Drawing.Size(80, 60);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
@ -306,12 +314,16 @@
this.TabList_Type.Icon = null; this.TabList_Type.Icon = null;
this.TabList_Type.IsDrawGridLines = false; this.TabList_Type.IsDrawGridLines = false;
this.TabList_Type.IsDrawIcon = false; this.TabList_Type.IsDrawIcon = false;
this.TabList_Type.Location = new System.Drawing.Point(4, 65); this.TabList_Type.Location = new System.Drawing.Point(4, 100);
this.TabList_Type.MultiSelect = false; this.TabList_Type.MultiSelect = false;
this.TabList_Type.Name = "TabList_Type"; this.TabList_Type.Name = "TabList_Type";
this.TabList_Type.OwnerDraw = true; this.TabList_Type.OwnerDraw = true;
this.TabList_Type.Scrollable = false; this.TabList_Type.Scrollable = false;
this.TabList_Type.Size = new System.Drawing.Size(74, 398); this.TabList_Type.SelectedBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(195)))), ((int)(((byte)(101)))));
this.TabList_Type.SelectedEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(236)))), ((int)(((byte)(181)))));
this.TabList_Type.SelectedForeColor = System.Drawing.Color.Black;
this.TabList_Type.SelectedStartBackColor = System.Drawing.Color.LightSkyBlue;
this.TabList_Type.Size = new System.Drawing.Size(83, 414);
this.TabList_Type.TabIndex = 4; this.TabList_Type.TabIndex = 4;
this.TabList_Type.TileSize = new System.Drawing.Size(80, 28); this.TabList_Type.TileSize = new System.Drawing.Size(80, 28);
this.TabList_Type.UseCompatibleStateImageBehavior = false; this.TabList_Type.UseCompatibleStateImageBehavior = false;
@ -340,12 +352,16 @@
this.TabList_Column.Icon = null; this.TabList_Column.Icon = null;
this.TabList_Column.IsDrawGridLines = false; this.TabList_Column.IsDrawGridLines = false;
this.TabList_Column.IsDrawIcon = false; this.TabList_Column.IsDrawIcon = false;
this.TabList_Column.Location = new System.Drawing.Point(87, 34); this.TabList_Column.Location = new System.Drawing.Point(87, 69);
this.TabList_Column.MultiSelect = false; this.TabList_Column.MultiSelect = false;
this.TabList_Column.Name = "TabList_Column"; this.TabList_Column.Name = "TabList_Column";
this.TabList_Column.OwnerDraw = true; this.TabList_Column.OwnerDraw = true;
this.TabList_Column.Scrollable = false; this.TabList_Column.Scrollable = false;
this.TabList_Column.Size = new System.Drawing.Size(519, 29); this.TabList_Column.SelectedBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(195)))), ((int)(((byte)(101)))));
this.TabList_Column.SelectedEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(236)))), ((int)(((byte)(181)))));
this.TabList_Column.SelectedForeColor = System.Drawing.Color.Black;
this.TabList_Column.SelectedStartBackColor = System.Drawing.Color.LightSkyBlue;
this.TabList_Column.Size = new System.Drawing.Size(556, 29);
this.TabList_Column.TabIndex = 1; this.TabList_Column.TabIndex = 1;
this.TabList_Column.TileSize = new System.Drawing.Size(70, 28); this.TabList_Column.TileSize = new System.Drawing.Size(70, 28);
this.TabList_Column.UseCompatibleStateImageBehavior = false; this.TabList_Column.UseCompatibleStateImageBehavior = false;
@ -361,7 +377,7 @@
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(652, 478); this.ClientSize = new System.Drawing.Size(689, 529);
this.Controls.Add(this.LblDrag); this.Controls.Add(this.LblDrag);
this.Controls.Add(this.pictureBox1); this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.TabList_Type); this.Controls.Add(this.TabList_Type);

View File

@ -1,22 +1,16 @@
using ryCommon; using ryCommon;
using ryCommonDb; using ryCommonDb;
using ryControls; using ryControls;
using SysFuns;
using System; using System;
using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
using System.Diagnostics;
using System.Drawing; using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using VSoft.Config;
using VSoft.Prams; using VSoft.Prams;
namespace VSoft namespace VSoft
{ {
public partial class FrmInCMD : Form public partial class FrmInCMD : Skins.SKinForm
{ {
public string SQLConnStr = Itrycn_Db.SQLConnStr_SysDb; public string SQLConnStr = Itrycn_Db.SQLConnStr_SysDb;
private bool ReadOnly { get; set; } = true; private bool ReadOnly { get; set; } = true;
@ -72,6 +66,7 @@ namespace VSoft
{ {
IsProcUse = true; IsProcUse = true;
TabList_Column.SelectedItems.Clear(); TabList_Column.SelectedItems.Clear();
panel1.Visible = false;
TabList_Type.Items.Clear(); TabList_Type.Items.Clear();
TabList_Type.Items.Add("默认分类").Tag =new ColumnInfo(); TabList_Type.Items.Add("默认分类").Tag =new ColumnInfo();
IsProcUse = false; IsProcUse = false;

View File

@ -117,6 +117,18 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="IconViewEx1.BadgeListImage" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAKABU3lzdGVtLkRyYXdpbmcsIFZlcnNpb249NC4wLjAuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNmNWY3ZjExZDUwYTNhXV0sIG1zY29ybGliLCBW
ZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0
ZTA4OQwDAAAAUVN5c3RlbS5EcmF3aW5nLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwg
UHVibGljS2V5VG9rZW49YjAzZjVmN2YxMWQ1MGEzYQUBAAAAN1N5c3RlbS5Db2xsZWN0aW9ucy5HZW5l
cmljLkxpc3RgMVtbU3lzdGVtLkRyYXdpbmcuSW1hZ2UDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgQA
ABZTeXN0ZW0uRHJhd2luZy5JbWFnZVtdAwAAAAgIAgAAAAkEAAAAAAAAAAAAAAAHBAAAAAABAAAAAAAA
AAQUU3lzdGVtLkRyYXdpbmcuSW1hZ2UDAAAACw==
</value>
</data>
<metadata name="MenuList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="MenuList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>167, 18</value> <value>167, 18</value>
</metadata> </metadata>

View File

@ -30,7 +30,11 @@ namespace VSoft
notifyIcon1.Text = Config.Soft_Info.Soft_Title; notifyIcon1.Text = Config.Soft_Info.Soft_Title;
Text = Config.Soft_Info.Soft_Title + " V" + RySoft.VersionStr; Text = Config.Soft_Info.Soft_Title + " V" + RySoft.VersionStr;
if (!Config.Soft_Info.ShowTray) { notifyIcon1.Visible = false; } if (!Config.Soft_Info.ShowTray) { notifyIcon1.Visible = false; }
if (!Config.Soft_Info.DonateVisabled) { ToolStripMenuItem.Text = "关于"; } #if DY
ToolStripMenuItem.Text = "关于";
#else
if (!Config.Soft_Info.DonateVisabled) { ToolStripMenuItem.Text = "关于"; } else { ToolStripMenuItem.Text = "捐助/关于"; }
#endif
if (Config.Soft_Info.Soft_Url.Length == 0) { ToolStripMenuItem.PerformClick(); } if (Config.Soft_Info.Soft_Url.Length == 0) { ToolStripMenuItem.PerformClick(); }
notifyIcon1.Icon = Icon; notifyIcon1.Icon = Icon;
@ -39,6 +43,7 @@ namespace VSoft
TabList_Type.BackColor = backcolor; TabList_Type.BackColor = backcolor;
//pictureBox1.BackColor = backcolor; //pictureBox1.BackColor = backcolor;
PnlLeft.BackColor = backcolor; PnlLeft.BackColor = backcolor;
} }
private void FrmVSoft_FormClosed(object sender, FormClosedEventArgs e) private void FrmVSoft_FormClosed(object sender, FormClosedEventArgs e)
{ {
@ -171,7 +176,7 @@ namespace VSoft
} }
if(ds.Tables[0].Rows.Count==0) if(ds.Tables[0].Rows.Count==0)
{ {
#region , #region ,
RyQuickSQL mySQL = new RyQuickSQL("Columns"); RyQuickSQL mySQL = new RyQuickSQL("Columns");
mySQL.AddField("Name", "默认栏目"); mySQL.AddField("Name", "默认栏目");
mySQL.AddField("editTime", DateTime.Now); mySQL.AddField("editTime", DateTime.Now);
@ -199,7 +204,7 @@ namespace VSoft
TabList_Column.Items.Add(row["Name"].ToString()).Tag = row["id"].ToInt(); TabList_Column.Items.Add(row["Name"].ToString()).Tag = row["id"].ToInt();
} }
ds2.Dispose(); ds2.Dispose();
#endregion #endregion
} }
ds.Dispose(); ds.Dispose();
TabList_Column.EndUpdate(); TabList_Column.EndUpdate();
@ -257,7 +262,7 @@ namespace VSoft
for (int i = 0; i < ds.Tables[0].Rows.Count; i++) for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{ {
DataRow row = ds.Tables[0].Rows[i]; DataRow row = ds.Tables[0].Rows[i];
#region #region
RyQuickSQL mySQL2 = new RyQuickSQL("Columns"); RyQuickSQL mySQL2 = new RyQuickSQL("Columns");
mySQL2.AddField("Name", "默认分类"); mySQL2.AddField("Name", "默认分类");
mySQL2.AddField("Des", ""); mySQL2.AddField("Des", "");
@ -267,7 +272,7 @@ namespace VSoft
mySQL2.AddField("addTime", DateTime.Now); mySQL2.AddField("addTime", DateTime.Now);
var ds_id = db.ReadData(mySQL2.GetInsertSQL() + ";select last_insert_rowid();", mySQL2); var ds_id = db.ReadData(mySQL2.GetInsertSQL() + ";select last_insert_rowid();", mySQL2);
var type_id = mydb.GetValue(ds_id); var type_id = mydb.GetValue(ds_id);
#endregion #endregion
RyQuickSQL mySQL3 = new RyQuickSQL("Softs"); RyQuickSQL mySQL3 = new RyQuickSQL("Softs");
mySQL3.AddField("ColumnId", type_id);//将直属分类修改为默认分类 mySQL3.AddField("ColumnId", type_id);//将直属分类修改为默认分类
db.ExecuteNonQuery(mySQL3.GetUpdateSQL()+ " where ColumnId="+ row["id"].ToInt(), mySQL3); db.ExecuteNonQuery(mySQL3.GetUpdateSQL()+ " where ColumnId="+ row["id"].ToInt(), mySQL3);
@ -367,11 +372,11 @@ namespace VSoft
{ {
case 17189: //处理消息 case 17189: //处理消息
{ {
#region #region
switch (msg.WParam.ToInt32()) switch (msg.WParam.ToInt32())
{ {
case 100:// case 100://
#region #region
if ((int)msg.LParam.ToInt32() == 100) if ((int)msg.LParam.ToInt32() == 100)
{ {
this.Show(); this.Show();
@ -387,10 +392,10 @@ namespace VSoft
RyForm.BringToTop(Handle); RyForm.BringToTop(Handle);
rySearch1.Focus(); rySearch1.Focus();
} }
#endregion #endregion
break; break;
} }
#endregion #endregion
} }
break; break;
default: default:
@ -409,7 +414,7 @@ namespace VSoft
} }
LoadDb(true); LoadDb(true);
} }
#region #region
/// <summary> /// <summary>
/// 将栏目列表中的第几个栏目修改 /// 将栏目列表中的第几个栏目修改
/// </summary> /// </summary>
@ -417,7 +422,7 @@ namespace VSoft
/// <param name="index"></param> /// <param name="index"></param>
private void SetColumnRow(int id, int index) private void SetColumnRow(int id, int index)
{ {
#region #region
DataProvider mydb = new DataProvider(); DataProvider mydb = new DataProvider();
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType); IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(SQLConnStr) == 1) if (db.ConnDb(SQLConnStr) == 1)
@ -431,7 +436,7 @@ namespace VSoft
} }
db.Free(); db.Free();
} }
#endregion #endregion
} }
private void BtnAddColumn_Click(object sender, EventArgs e) private void BtnAddColumn_Click(object sender, EventArgs e)
{ {
@ -511,8 +516,8 @@ namespace VSoft
} }
db.Free(); db.Free();
} }
#endregion #endregion
#region #region
/// <summary> /// <summary>
///将分类列表中的第几个分类进行修改 ///将分类列表中的第几个分类进行修改
/// </summary> /// </summary>
@ -520,7 +525,7 @@ namespace VSoft
/// <param name="index"></param> /// <param name="index"></param>
private void SetTypeRow(int id, int index) private void SetTypeRow(int id, int index)
{ {
#region #region
DataProvider mydb = new DataProvider(); DataProvider mydb = new DataProvider();
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType); IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(SQLConnStr) == 1) if (db.ConnDb(SQLConnStr) == 1)
@ -534,7 +539,7 @@ namespace VSoft
} }
db.Free(); db.Free();
} }
#endregion #endregion
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e) private void ToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@ -637,11 +642,11 @@ namespace VSoft
} }
db.Free(); db.Free();
} }
#endregion #endregion
#region #region
private void SetSoftRow(int id, int index) private void SetSoftRow(int id, int index)
{ {
#region #region
DataProvider mydb = new DataProvider(); DataProvider mydb = new DataProvider();
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType); IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(SQLConnStr) == 1) if (db.ConnDb(SQLConnStr) == 1)
@ -672,7 +677,7 @@ namespace VSoft
} }
db.Free(); db.Free();
} }
#endregion #endregion
} }
/// <summary> /// <summary>
/// 获取当前页面所属的分类或栏目ID /// 获取当前页面所属的分类或栏目ID
@ -848,9 +853,9 @@ namespace VSoft
RunByListSelected(false); RunByListSelected(false);
} }
} }
#endregion #endregion
#region #region
private void IconViewEx1_ItemDrag(object sender, ItemDragEventArgs e) private void IconViewEx1_ItemDrag(object sender, ItemDragEventArgs e)
{ {
this.DoDragDrop(e.Item, DragDropEffects.Move); this.DoDragDrop(e.Item, DragDropEffects.Move);
@ -877,7 +882,7 @@ namespace VSoft
var filedrop = e.Data.GetData(DataFormats.FileDrop); var filedrop = e.Data.GetData(DataFormats.FileDrop);
if (filedrop != null) if (filedrop != null)
{ {
#region #region
var ColumnId = 0; var ColumnId = 0;
if (TabList_Type.SelectedItems.Count > 0) if (TabList_Type.SelectedItems.Count > 0)
{ {
@ -961,7 +966,7 @@ namespace VSoft
} }
db3.Free(); db3.Free();
return; return;
#endregion #endregion
} }
Point pt; Point pt;
pt = ((IconViewEx)(sender)).PointToClient(new Point(e.X, e.Y)); pt = ((IconViewEx)(sender)).PointToClient(new Point(e.X, e.Y));
@ -1036,8 +1041,8 @@ namespace VSoft
LblDrag.Location = item.Position; LblDrag.Location = item.Position;
} }
} }
#endregion #endregion
#region #region
private void TabList_Column_DragEnter(object sender, DragEventArgs e) private void TabList_Column_DragEnter(object sender, DragEventArgs e)
{ {
//判定是否现在拖动的数据是LISTVIEW项 //判定是否现在拖动的数据是LISTVIEW项
@ -1063,7 +1068,7 @@ namespace VSoft
ListViewItem lvi = (ListViewItem)drag_item; ListViewItem lvi = (ListViewItem)drag_item;
if (lvi.ListView == IconViewEx1) if (lvi.ListView == IconViewEx1)
{ {
#region #region
var info = (SoftInfo)lvi.Tag; var info = (SoftInfo)lvi.Tag;
IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType); IDbInterface db = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db.ConnDb(SQLConnStr) == 1) if (db.ConnDb(SQLConnStr) == 1)
@ -1092,7 +1097,7 @@ namespace VSoft
ReSortSoftByList(db); ReSortSoftByList(db);
} }
db.Free(); db.Free();
#endregion #endregion
} }
else if (lvi.ListView == TabList_Column) else if (lvi.ListView == TabList_Column)
{ {
@ -1123,8 +1128,8 @@ namespace VSoft
{ {
this.DoDragDrop(e.Item, DragDropEffects.Move); this.DoDragDrop(e.Item, DragDropEffects.Move);
} }
#endregion #endregion
#region #region
private void TabList_Type_DragEnter(object sender, DragEventArgs e) private void TabList_Type_DragEnter(object sender, DragEventArgs e)
{ {
//判定是否现在拖动的数据是LISTVIEW项 //判定是否现在拖动的数据是LISTVIEW项
@ -1155,7 +1160,7 @@ namespace VSoft
ListViewItem lvi = (ListViewItem)drag_item; ListViewItem lvi = (ListViewItem)drag_item;
if (lvi.ListView == IconViewEx1) if (lvi.ListView == IconViewEx1)
{ {
#region #region
var info = (SoftInfo)lvi.Tag; var info = (SoftInfo)lvi.Tag;
RyQuickSQL mySQL = new RyQuickSQL("Softs"); RyQuickSQL mySQL = new RyQuickSQL("Softs");
mySQL.AddField("ColumnId", columnid); mySQL.AddField("ColumnId", columnid);
@ -1176,7 +1181,7 @@ namespace VSoft
ReSortSoftByList(db); ReSortSoftByList(db);
} }
db.Free(); db.Free();
#endregion #endregion
} }
else if (lvi.ListView == TabList_Type) else if (lvi.ListView == TabList_Type)
{ {
@ -1207,7 +1212,7 @@ namespace VSoft
{ {
this.DoDragDrop(e.Item, DragDropEffects.Move); this.DoDragDrop(e.Item, DragDropEffects.Move);
} }
#endregion #endregion
private void TabList_Type_SelectedIndexChanged(object sender, EventArgs e) private void TabList_Type_SelectedIndexChanged(object sender, EventArgs e)
{ {
if (IsProcUse) { return; } if (IsProcUse) { return; }
@ -1265,6 +1270,9 @@ namespace VSoft
private void ToolStripMenuItem_Click(object sender, EventArgs e) private void ToolStripMenuItem_Click(object sender, EventArgs e)
{ {
#if DY
Msg.ShowMsg(Config.Soft_Info.AboutText.Replace("#softname#", Config.Soft_Info.Soft_Title).Replace("#ver#", "V" + RySoft.VersionStr), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
#else
if (Config.Soft_Info.DonateVisabled) if (Config.Soft_Info.DonateVisabled)
{ {
FrmAbout frm = new FrmAbout(); FrmAbout frm = new FrmAbout();
@ -1276,23 +1284,31 @@ namespace VSoft
{ {
Msg.ShowMsg(Config.Soft_Info.AboutText.Replace("#softname#", Config.Soft_Info.Soft_Title).Replace("#ver#", "V" + RySoft.VersionStr), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); Msg.ShowMsg(Config.Soft_Info.AboutText.Replace("#softname#", Config.Soft_Info.Soft_Title).Replace("#ver#", "V" + RySoft.VersionStr), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
#endif
} }
private void ShowSetting(bool ShowInScreenCenter)
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{ {
hotkey.Enabled = false; hotkey.Enabled = false;
FrmSetting frm = new FrmSetting(); FrmSetting frm = new FrmSetting();
frm.TopMost = TopMost; frm.TopMost = TopMost;
if (frm.ShowDialog()==DialogResult.OK) if(!ShowInScreenCenter)
{
frm.StartPosition = FormStartPosition.CenterParent;
}
if (frm.ShowDialog() == DialogResult.OK)
{ {
VSoft.Config.Soft_Config.LoadSetting(); VSoft.Config.Soft_Config.LoadSetting();
hotkey.UnHotKey(); hotkey.UnHotKey();
HotkeyValue hot = new HotkeyValue(Soft_Config.ShowMainHotKey); HotkeyValue hot = new HotkeyValue(Soft_Config.ShowMainHotKey);
hotkey.RegHotKey(100,hot.Modifiers_Int, hot.KeyCode); hotkey.RegHotKey(100, hot.Modifiers_Int, hot.KeyCode);
} }
frm.Dispose(); frm.Dispose();
hotkey.Enabled = true; hotkey.Enabled = true;
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
ShowSetting(true);
}
int hideCount = 0; int hideCount = 0;
private void FrmVSoft_FormClosing(object sender, FormClosingEventArgs e) private void FrmVSoft_FormClosing(object sender, FormClosingEventArgs e)
{ {
@ -1507,7 +1523,7 @@ namespace VSoft
private void LblSetting_Click(object sender, EventArgs e) private void LblSetting_Click(object sender, EventArgs e)
{ {
ToolStripMenuItem.PerformClick(); ShowSetting(false);
} }
private void FrmVSoft_Shown(object sender, EventArgs e) private void FrmVSoft_Shown(object sender, EventArgs e)

View File

@ -80,7 +80,22 @@ namespace VSoft.Prams
frm.btnCancel.Visible = false; frm.btnCancel.Visible = false;
break; break;
} }
if (frm.Owner == null) { frm.StartPosition = FormStartPosition.CenterScreen; } frm.TopMost = true;
var handle= WinAPI.User32.GetActiveWindow();
var have_owner = false;
for (int i = 0; i < Application.OpenForms.Count; i++)
{
if(Application.OpenForms[i].Handle==handle)
{
var owner = Application.OpenForms[i];
frm.Location = new System.Drawing.Point(owner.Left + (owner.Width - frm.Width) / 2, owner.Top + (owner.Height - frm.Height) / 2);
have_owner = true;
}
}
//WinAPI.User32.GetWindowRect(handle,out var rectangle);
//var title2= ryCommon.RyForm.GetWinText(handle);
//frm.Location = new System.Drawing.Point(rectangle.X + (rectangle.Width - frm.Width) / 2, rectangle.Y + (rectangle.Height - frm.Height) / 2);
if (!have_owner) { frm.StartPosition = FormStartPosition.CenterScreen; }
return frm.ShowDialog(); return frm.ShowDialog();
} }
} }

View File

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

View File

@ -24,6 +24,7 @@ namespace VSoft.Skins
{ {
if (!this.DesignMode) if (!this.DesignMode)
{ base.XTheme = new VSoft.Skins.ThemeForm(); } { base.XTheme = new VSoft.Skins.ThemeForm(); }
Opacity = 0.9;
} }
} }
} }

View File

@ -18,7 +18,7 @@
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>..\..\Bin\Debug\VSoft\</OutputPath> <OutputPath>..\..\Bin\Debug\VSoft\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>

View File

@ -1,6 +1,7 @@
[project] [project]
name=VSoft快速启动 name=VSoft快速启动
engname=VSoft engname=VSoft
usqver=2.1 usqver=3.0
proglang=c# proglang=c#
progID=62a39388-ee7c-4377-9262-30574c5e9663 progID=62a39388-ee7c-4377-9262-30574c5e9663
confuse=0