### 2022-05-07更新
------ #### MyDbV4 V3.0.2205.0701 - *.[新增]新增多个注册表操作相关函数。
This commit is contained in:
parent
bfb3e7a2b3
commit
cf9b35d77e
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@ Res/
|
|||
*.dcu
|
||||
/Source/.vs/公用控件组V4/v17/*.suo
|
||||
/Source/.vs/公用控件组V4/FileContentIndex/*.vsidx
|
||||
/Source/.vs
|
||||
.vs
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1197,6 +1197,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Decimal,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
|
|
@ -1204,6 +1212,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToInt(System.Object)">
|
||||
<summary>
|
||||
将指定类型转换成整型
|
||||
|
|
@ -3142,6 +3158,12 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.GetForegroundWindow">
|
||||
<summary>
|
||||
获取当前前台的窗口句柄
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.SetActiveWindow(System.IntPtr)">
|
||||
<summary>
|
||||
设置为当前活动窗口
|
||||
|
|
@ -3222,6 +3244,59 @@
|
|||
<param name="Path"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键(如果存在子键,子键将一并被删除)
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="KeyName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.GetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
获取注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="defValue"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.UInt32)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetAutoRun(System.Boolean,System.String,System.String)">
|
||||
<summary>
|
||||
设置是否开机启动
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -16148,6 +16148,11 @@
|
|||
将给定对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.CopyObjectsToClipboard">
|
||||
<summary>
|
||||
将所有对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.ObjectsToHtml(System.Collections.IList)">
|
||||
<summary>
|
||||
返回给定对象的html表示形式
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1197,6 +1197,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Decimal,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
|
|
@ -1204,6 +1212,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToInt(System.Object)">
|
||||
<summary>
|
||||
将指定类型转换成整型
|
||||
|
|
@ -3142,6 +3158,12 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.GetForegroundWindow">
|
||||
<summary>
|
||||
获取当前前台的窗口句柄
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.SetActiveWindow(System.IntPtr)">
|
||||
<summary>
|
||||
设置为当前活动窗口
|
||||
|
|
@ -3222,6 +3244,59 @@
|
|||
<param name="Path"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键(如果存在子键,子键将一并被删除)
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="KeyName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.GetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
获取注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="defValue"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.UInt32)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetAutoRun(System.Boolean,System.String,System.String)">
|
||||
<summary>
|
||||
设置是否开机启动
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -16148,6 +16148,11 @@
|
|||
将给定对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.CopyObjectsToClipboard">
|
||||
<summary>
|
||||
将所有对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.ObjectsToHtml(System.Collections.IList)">
|
||||
<summary>
|
||||
返回给定对象的html表示形式
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1197,6 +1197,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Decimal,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
|
|
@ -1204,6 +1212,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToInt(System.Object)">
|
||||
<summary>
|
||||
将指定类型转换成整型
|
||||
|
|
@ -3142,6 +3158,12 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.GetForegroundWindow">
|
||||
<summary>
|
||||
获取当前前台的窗口句柄
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.SetActiveWindow(System.IntPtr)">
|
||||
<summary>
|
||||
设置为当前活动窗口
|
||||
|
|
@ -3222,6 +3244,59 @@
|
|||
<param name="Path"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键(如果存在子键,子键将一并被删除)
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="KeyName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.GetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
获取注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="defValue"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.UInt32)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetAutoRun(System.Boolean,System.String,System.String)">
|
||||
<summary>
|
||||
设置是否开机启动
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -16148,6 +16148,11 @@
|
|||
将给定对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.CopyObjectsToClipboard">
|
||||
<summary>
|
||||
将所有对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.ObjectsToHtml(System.Collections.IList)">
|
||||
<summary>
|
||||
返回给定对象的html表示形式
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1197,6 +1197,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Decimal,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
|
|
@ -1204,6 +1212,14 @@
|
|||
<param name="input"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToNString(System.Double,System.String)">
|
||||
<summary>
|
||||
将数字转换成字符串,小数点末尾后面不包含0
|
||||
</summary>
|
||||
<param name="input"></param>
|
||||
<param name="format"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.VarExtension.ToInt(System.Object)">
|
||||
<summary>
|
||||
将指定类型转换成整型
|
||||
|
|
@ -3142,6 +3158,12 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.GetForegroundWindow">
|
||||
<summary>
|
||||
获取当前前台的窗口句柄
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyForm.SetActiveWindow(System.IntPtr)">
|
||||
<summary>
|
||||
设置为当前活动窗口
|
||||
|
|
@ -3222,6 +3244,59 @@
|
|||
<param name="Path"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键(如果存在子键,子键将一并被删除)
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="KeyName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.DelValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String)">
|
||||
<summary>
|
||||
删除注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.GetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
获取注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="defValue"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetValue(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView,System.String,System.String,System.UInt32)">
|
||||
<summary>
|
||||
设置注册表键值
|
||||
</summary>
|
||||
<param name="_RegRoot"></param>
|
||||
<param name="_UseSystemBit"></param>
|
||||
<param name="Path"></param>
|
||||
<param name="ValueName"></param>
|
||||
<param name="Value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:ryCommon.RyRegedit.SetAutoRun(System.Boolean,System.String,System.String)">
|
||||
<summary>
|
||||
设置是否开机启动
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -16148,6 +16148,11 @@
|
|||
将给定对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.CopyObjectsToClipboard">
|
||||
<summary>
|
||||
将所有对象的文本和HTML表示复制到剪贴板上。
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:BrightIdeasSoftware.ObjectListView.ObjectsToHtml(System.Collections.IList)">
|
||||
<summary>
|
||||
返回给定对象的html表示形式
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,4 +1,9 @@
|
|||
### 2022-03-11更新
|
||||
### 2022-05-07更新
|
||||
------
|
||||
#### MyDbV4 V3.0.2205.0701
|
||||
- *.[新增]新增多个注册表操作相关函数。
|
||||
|
||||
### 2022-03-11更新
|
||||
------
|
||||
#### MyDbV4 V3.0.2203.1101
|
||||
- *.[改进]ryQuickSQL中的int和long类型直接转变为数值,而不是参数变量。
|
||||
|
|
|
|||
|
|
@ -1,51 +0,0 @@
|
|||
{
|
||||
"Version": 1,
|
||||
"ProjectMap": {
|
||||
"9df20d86-a56e-4cf6-a3d8-f30421297b1b": {
|
||||
"ProjectGuid": "9df20d86-a56e-4cf6-a3d8-f30421297b1b",
|
||||
"DisplayName": "MyDbV4",
|
||||
"ColorIndex": 0
|
||||
},
|
||||
"11a63e24-0257-4c54-a109-f1a609a52a62": {
|
||||
"ProjectGuid": "11a63e24-0257-4c54-a109-f1a609a52a62",
|
||||
"DisplayName": "ryUpdateV4",
|
||||
"ColorIndex": 1
|
||||
},
|
||||
"9eca3a84-8545-4c4d-84d6-d23e3bdf2d90": {
|
||||
"ProjectGuid": "9eca3a84-8545-4c4d-84d6-d23e3bdf2d90",
|
||||
"DisplayName": "ryControlsV4",
|
||||
"ColorIndex": 2
|
||||
},
|
||||
"dc9fdb61-fedd-4795-afdc-8376ab781c56": {
|
||||
"ProjectGuid": "dc9fdb61-fedd-4795-afdc-8376ab781c56",
|
||||
"DisplayName": "Itrycn_Project2",
|
||||
"ColorIndex": 3
|
||||
},
|
||||
"6b969ce8-d723-4b2c-a8fd-fad2fb28ff01": {
|
||||
"ProjectGuid": "6b969ce8-d723-4b2c-a8fd-fad2fb28ff01",
|
||||
"DisplayName": "MyDb_SQLiteV4",
|
||||
"ColorIndex": 4
|
||||
},
|
||||
"de092c43-1ab5-4229-8ec8-35c9936c4331": {
|
||||
"ProjectGuid": "de092c43-1ab5-4229-8ec8-35c9936c4331",
|
||||
"DisplayName": "MyDb_MySQLV4",
|
||||
"ColorIndex": 5
|
||||
},
|
||||
"b6784652-825a-482c-8a21-08e2539af2bf": {
|
||||
"ProjectGuid": "b6784652-825a-482c-8a21-08e2539af2bf",
|
||||
"DisplayName": "RyPrint",
|
||||
"ColorIndex": 6
|
||||
},
|
||||
"a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
|
||||
"ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
|
||||
"DisplayName": "杂项文件",
|
||||
"ColorIndex": -1
|
||||
},
|
||||
"62b5c3e8-4af1-4a7f-a40b-a6186f83dbd2": {
|
||||
"ProjectGuid": "62b5c3e8-4af1-4a7f-a40b-a6186f83dbd2",
|
||||
"DisplayName": "Itrycn_Project",
|
||||
"ColorIndex": 7
|
||||
}
|
||||
},
|
||||
"NextColorIndex": 8
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
165
Source/Itrycn_Project2/OTools/FrmScan.Designer.cs
generated
165
Source/Itrycn_Project2/OTools/FrmScan.Designer.cs
generated
|
|
@ -31,101 +31,30 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.MenuTray = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.显示主窗体ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.退出软件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.打开官网ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.捐助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.chromeTabControl1 = new ryControls.ChromeTabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.BtnScan = new ryControls.ButtonEx();
|
||||
this.LvCbResult = new BrightIdeasSoftware.FastObjectListView();
|
||||
this.OlvGameName = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.OlvFileName = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.OlvAddTime = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.TabLogs = new System.Windows.Forms.TabPage();
|
||||
this.LvLogs = new BrightIdeasSoftware.FastObjectListView();
|
||||
this.OlvLog = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.OlvLogText = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.OlvLogTime = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.TsState = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.MenuLogs = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.复制日志信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MenuTray.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.TsState = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.导出日志ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.chromeTabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.LvCbResult)).BeginInit();
|
||||
this.TabLogs.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.LvLogs)).BeginInit();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.MenuLogs.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// notifyIcon1
|
||||
//
|
||||
this.notifyIcon1.ContextMenuStrip = this.MenuTray;
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.显示主窗体ToolStripMenuItem_Click);
|
||||
//
|
||||
// MenuTray
|
||||
//
|
||||
this.MenuTray.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.显示主窗体ToolStripMenuItem,
|
||||
this.退出软件ToolStripMenuItem});
|
||||
this.MenuTray.Name = "MenuTray";
|
||||
this.MenuTray.Size = new System.Drawing.Size(137, 48);
|
||||
//
|
||||
// 显示主窗体ToolStripMenuItem
|
||||
//
|
||||
this.显示主窗体ToolStripMenuItem.Name = "显示主窗体ToolStripMenuItem";
|
||||
this.显示主窗体ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.显示主窗体ToolStripMenuItem.Text = "显示主窗体";
|
||||
this.显示主窗体ToolStripMenuItem.Click += new System.EventHandler(this.显示主窗体ToolStripMenuItem_Click);
|
||||
//
|
||||
// 退出软件ToolStripMenuItem
|
||||
//
|
||||
this.退出软件ToolStripMenuItem.Name = "退出软件ToolStripMenuItem";
|
||||
this.退出软件ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.退出软件ToolStripMenuItem.Text = "退出软件";
|
||||
this.退出软件ToolStripMenuItem.Click += new System.EventHandler(this.退出软件ToolStripMenuItem_Click);
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.关于ToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(1, 27);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(802, 25);
|
||||
this.menuStrip1.TabIndex = 2;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// 关于ToolStripMenuItem
|
||||
//
|
||||
this.关于ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.打开官网ToolStripMenuItem,
|
||||
this.捐助ToolStripMenuItem});
|
||||
this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
||||
this.关于ToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
|
||||
this.关于ToolStripMenuItem.Text = "关于";
|
||||
//
|
||||
// 打开官网ToolStripMenuItem
|
||||
//
|
||||
this.打开官网ToolStripMenuItem.Name = "打开官网ToolStripMenuItem";
|
||||
this.打开官网ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.打开官网ToolStripMenuItem.Text = "打开官网";
|
||||
this.打开官网ToolStripMenuItem.Click += new System.EventHandler(this.打开官网ToolStripMenuItem_Click);
|
||||
//
|
||||
// 捐助ToolStripMenuItem
|
||||
//
|
||||
this.捐助ToolStripMenuItem.Name = "捐助ToolStripMenuItem";
|
||||
this.捐助ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.捐助ToolStripMenuItem.Text = "关于和捐助";
|
||||
this.捐助ToolStripMenuItem.Click += new System.EventHandler(this.捐助ToolStripMenuItem_Click);
|
||||
//
|
||||
// chromeTabControl1
|
||||
//
|
||||
this.chromeTabControl1.AllowDragTab = false;
|
||||
|
|
@ -137,12 +66,12 @@
|
|||
this.chromeTabControl1.Controls.Add(this.TabLogs);
|
||||
this.chromeTabControl1.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.chromeTabControl1.ItemSize = new System.Drawing.Size(100, 25);
|
||||
this.chromeTabControl1.Location = new System.Drawing.Point(1, 55);
|
||||
this.chromeTabControl1.Location = new System.Drawing.Point(1, 30);
|
||||
this.chromeTabControl1.Name = "chromeTabControl1";
|
||||
this.chromeTabControl1.SelectedIndex = 0;
|
||||
this.chromeTabControl1.ShowAddButton = false;
|
||||
this.chromeTabControl1.ShowCloseButton = false;
|
||||
this.chromeTabControl1.Size = new System.Drawing.Size(802, 513);
|
||||
this.chromeTabControl1.Size = new System.Drawing.Size(802, 538);
|
||||
this.chromeTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.chromeTabControl1.TabContextMenuStrip = null;
|
||||
this.chromeTabControl1.TabIndex = 0;
|
||||
|
|
@ -155,7 +84,7 @@
|
|||
this.tabPage1.Location = new System.Drawing.Point(1, 29);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(800, 483);
|
||||
this.tabPage1.Size = new System.Drawing.Size(800, 508);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "首页";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
|
|
@ -174,7 +103,6 @@
|
|||
// LvCbResult
|
||||
//
|
||||
this.LvCbResult.AllColumns.Add(this.OlvGameName);
|
||||
this.LvCbResult.AllColumns.Add(this.OlvFileName);
|
||||
this.LvCbResult.AllColumns.Add(this.OlvAddTime);
|
||||
this.LvCbResult.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
|
|
@ -182,7 +110,6 @@
|
|||
this.LvCbResult.CellEditUseWholeCell = false;
|
||||
this.LvCbResult.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.OlvGameName,
|
||||
this.OlvFileName,
|
||||
this.OlvAddTime});
|
||||
this.LvCbResult.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.LvCbResult.EmptyListMsg = "当前列表没有任何项";
|
||||
|
|
@ -193,7 +120,7 @@
|
|||
this.LvCbResult.RowHeight = 25;
|
||||
this.LvCbResult.ShowGroups = false;
|
||||
this.LvCbResult.ShowItemToolTips = true;
|
||||
this.LvCbResult.Size = new System.Drawing.Size(794, 433);
|
||||
this.LvCbResult.Size = new System.Drawing.Size(794, 458);
|
||||
this.LvCbResult.TabIndex = 84;
|
||||
this.LvCbResult.UseCompatibleStateImageBehavior = false;
|
||||
this.LvCbResult.UseFiltering = true;
|
||||
|
|
@ -205,11 +132,6 @@
|
|||
this.OlvGameName.Text = "游戏名";
|
||||
this.OlvGameName.Width = 200;
|
||||
//
|
||||
// OlvFileName
|
||||
//
|
||||
this.OlvFileName.Text = "文件名";
|
||||
this.OlvFileName.Width = 180;
|
||||
//
|
||||
// OlvAddTime
|
||||
//
|
||||
this.OlvAddTime.Text = "提交时间";
|
||||
|
|
@ -221,22 +143,23 @@
|
|||
this.TabLogs.Location = new System.Drawing.Point(1, 29);
|
||||
this.TabLogs.Name = "TabLogs";
|
||||
this.TabLogs.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.TabLogs.Size = new System.Drawing.Size(800, 464);
|
||||
this.TabLogs.Size = new System.Drawing.Size(800, 508);
|
||||
this.TabLogs.TabIndex = 1;
|
||||
this.TabLogs.Text = "日志";
|
||||
this.TabLogs.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// LvLogs
|
||||
//
|
||||
this.LvLogs.AllColumns.Add(this.OlvLog);
|
||||
this.LvLogs.AllColumns.Add(this.OlvLogTime);
|
||||
this.LvLogs.AllColumns.Add(this.OlvLogText);
|
||||
this.LvLogs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.LvLogs.CellEditUseWholeCell = false;
|
||||
this.LvLogs.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.OlvLog,
|
||||
this.OlvLogTime});
|
||||
this.OlvLogTime,
|
||||
this.OlvLogText});
|
||||
this.LvLogs.ContextMenuStrip = this.MenuLogs;
|
||||
this.LvLogs.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.LvLogs.EmptyListMsg = "当前列表没有任何项";
|
||||
this.LvLogs.FullRowSelect = true;
|
||||
|
|
@ -246,23 +169,39 @@
|
|||
this.LvLogs.RowHeight = 25;
|
||||
this.LvLogs.ShowGroups = false;
|
||||
this.LvLogs.ShowItemToolTips = true;
|
||||
this.LvLogs.Size = new System.Drawing.Size(794, 458);
|
||||
this.LvLogs.Size = new System.Drawing.Size(794, 483);
|
||||
this.LvLogs.TabIndex = 85;
|
||||
this.LvLogs.UseCompatibleStateImageBehavior = false;
|
||||
this.LvLogs.UseFiltering = true;
|
||||
this.LvLogs.View = System.Windows.Forms.View.Details;
|
||||
this.LvLogs.VirtualMode = true;
|
||||
//
|
||||
// OlvLog
|
||||
// OlvLogText
|
||||
//
|
||||
this.OlvLog.Text = "日志";
|
||||
this.OlvLog.Width = 400;
|
||||
this.OlvLogText.DisplayIndex = 0;
|
||||
this.OlvLogText.Text = "日志";
|
||||
this.OlvLogText.Width = 400;
|
||||
//
|
||||
// OlvLogTime
|
||||
//
|
||||
this.OlvLogTime.Text = "日志时间";
|
||||
this.OlvLogTime.Width = 180;
|
||||
//
|
||||
// MenuLogs
|
||||
//
|
||||
this.MenuLogs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.复制日志信息ToolStripMenuItem,
|
||||
this.导出日志ToolStripMenuItem});
|
||||
this.MenuLogs.Name = "MenuLogs";
|
||||
this.MenuLogs.Size = new System.Drawing.Size(149, 48);
|
||||
//
|
||||
// 复制日志信息ToolStripMenuItem
|
||||
//
|
||||
this.复制日志信息ToolStripMenuItem.Name = "复制日志信息ToolStripMenuItem";
|
||||
this.复制日志信息ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.复制日志信息ToolStripMenuItem.Text = "复制日志信息";
|
||||
this.复制日志信息ToolStripMenuItem.Click += new System.EventHandler(this.复制日志信息ToolStripMenuItem_Click);
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
|
@ -279,19 +218,12 @@
|
|||
this.TsState.Size = new System.Drawing.Size(83, 17);
|
||||
this.TsState.Text = "状态:准备就绪";
|
||||
//
|
||||
// MenuLogs
|
||||
// 导出日志ToolStripMenuItem
|
||||
//
|
||||
this.MenuLogs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.复制日志信息ToolStripMenuItem});
|
||||
this.MenuLogs.Name = "MenuLogs";
|
||||
this.MenuLogs.Size = new System.Drawing.Size(149, 26);
|
||||
//
|
||||
// 复制日志信息ToolStripMenuItem
|
||||
//
|
||||
this.复制日志信息ToolStripMenuItem.Name = "复制日志信息ToolStripMenuItem";
|
||||
this.复制日志信息ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.复制日志信息ToolStripMenuItem.Text = "复制日志信息";
|
||||
this.复制日志信息ToolStripMenuItem.Click += new System.EventHandler(this.复制日志信息ToolStripMenuItem_Click);
|
||||
this.导出日志ToolStripMenuItem.Name = "导出日志ToolStripMenuItem";
|
||||
this.导出日志ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.导出日志ToolStripMenuItem.Text = "导出日志";
|
||||
this.导出日志ToolStripMenuItem.Click += new System.EventHandler(this.导出日志ToolStripMenuItem_Click);
|
||||
//
|
||||
// FrmScan
|
||||
//
|
||||
|
|
@ -299,25 +231,22 @@
|
|||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(804, 596);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Controls.Add(this.chromeTabControl1);
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Name = "FrmScan";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "扫描";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmStart_FormClosing);
|
||||
this.Load += new System.EventHandler(this.FrmStart_Load);
|
||||
this.Shown += new System.EventHandler(this.FrmStart_Shown);
|
||||
this.MenuTray.ResumeLayout(false);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.chromeTabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.LvCbResult)).EndInit();
|
||||
this.TabLogs.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.LvLogs)).EndInit();
|
||||
this.MenuLogs.ResumeLayout(false);
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.MenuLogs.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
|
@ -327,26 +256,18 @@
|
|||
|
||||
private ryControls.ChromeTabControl chromeTabControl1;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
private System.Windows.Forms.ContextMenuStrip MenuTray;
|
||||
private System.Windows.Forms.ToolStripMenuItem 显示主窗体ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 退出软件ToolStripMenuItem;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 捐助ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 打开官网ToolStripMenuItem;
|
||||
private BrightIdeasSoftware.FastObjectListView LvCbResult;
|
||||
private BrightIdeasSoftware.OLVColumn OlvGameName;
|
||||
private BrightIdeasSoftware.OLVColumn OlvFileName;
|
||||
private BrightIdeasSoftware.OLVColumn OlvAddTime;
|
||||
private ryControls.ButtonEx BtnScan;
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel TsState;
|
||||
private System.Windows.Forms.TabPage TabLogs;
|
||||
private BrightIdeasSoftware.FastObjectListView LvLogs;
|
||||
private BrightIdeasSoftware.OLVColumn OlvLog;
|
||||
private BrightIdeasSoftware.OLVColumn OlvLogText;
|
||||
private BrightIdeasSoftware.OLVColumn OlvLogTime;
|
||||
private System.Windows.Forms.ContextMenuStrip MenuLogs;
|
||||
private System.Windows.Forms.ToolStripMenuItem 复制日志信息ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 导出日志ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
|
@ -14,136 +14,86 @@ namespace Itrycn_Project2
|
|||
{
|
||||
public partial class FrmScan : RySkins.SKinForm
|
||||
{
|
||||
string[] prog_args;
|
||||
public FrmScan(string[] args)
|
||||
/// <summary>
|
||||
/// 最大日志数量
|
||||
/// </summary>
|
||||
private int MaxLogsCount { get; set; } = 1000;
|
||||
public FrmScan()
|
||||
{
|
||||
InitializeComponent();
|
||||
prog_args = args;
|
||||
//配置软件信息
|
||||
notifyIcon1.Text = Soft_ConstInfo.Soft_Title;
|
||||
Text = Soft_ConstInfo.Soft_Title + " V" + RySoft.VersionStr;
|
||||
if (!Soft_ConstInfo.ShowTray) { notifyIcon1.Visible = false; }
|
||||
if (!Soft_ConstInfo.DonateVisabled) { 捐助ToolStripMenuItem.Text = "关于"; }
|
||||
if (Soft_ConstInfo.Soft_Url.Length == 0) { 打开官网ToolStripMenuItem.PerformClick(); }
|
||||
notifyIcon1.Icon = Icon;
|
||||
OlvLog.AspectName = "LogText";
|
||||
OlvLogTime.AspectName = "LogTime";
|
||||
OlvGameName.AspectGetter = delegate (object x) { return ((ItemInfo)x).Name; };
|
||||
OlvAddTime.AspectGetter = delegate (object x) { return ((ItemInfo)x).AddTime.ToDateTimeStr(); };
|
||||
OlvLogTime.AspectGetter = delegate (object x) { return ((LogInfo)x).LogTime.ToDateTimeStr(); };
|
||||
OlvLogText.AspectGetter = delegate (object x) { return ((LogInfo)x).LogText; };
|
||||
LvLogs.FormatRow += delegate (object x, BrightIdeasSoftware.FormatRowEventArgs e) {
|
||||
LogInfo item = (LogInfo)e.Model;
|
||||
if (item.Color != Color.Black)
|
||||
{
|
||||
e.Item.ForeColor = item.Color;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private void 显示主窗体ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
var topmost = this.TopMost;
|
||||
this.TopMost = true;
|
||||
this.Show();
|
||||
this.TopMost = topmost;
|
||||
}
|
||||
|
||||
private void 退出软件ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
private void FrmStart_Shown(object sender, EventArgs e)
|
||||
{
|
||||
ryCommon.Ini ini = new Ini(Soft_ConstInfo.UserDataFolder + "\\Win.dat");
|
||||
ini.WriteIni(Soft_ConstInfo.Soft_Id, "hwnd", Handle.ToInt32());
|
||||
if (prog_args.Length >= 1)
|
||||
{
|
||||
//如果是自启动,并且开启了右下角托盘图标,则隐藏自身。
|
||||
if (prog_args[0] == Soft_ConstInfo.Soft_Pram && Soft_ConstInfo.ShowTray)
|
||||
this.Hide();
|
||||
}
|
||||
}
|
||||
|
||||
private void FrmStart_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (Soft_ConstInfo.ShowTray && Public_Config.HideByCloseBtn && e.CloseReason== CloseReason.UserClosing)
|
||||
{
|
||||
e.Cancel = true;
|
||||
this.Hide();
|
||||
notifyIcon1.ShowBalloonTip(3000, Soft_ConstInfo.Soft_Title, "软件已经最小化到此处,请右击托盘图标进行关闭。", ToolTipIcon.Info);
|
||||
return;
|
||||
}
|
||||
if (!Soft_MemInfo.IsCanCloseForm)
|
||||
{
|
||||
e.Cancel = true;
|
||||
MessageBox.Show("当前还有操作正在运行,请稍后关闭软件。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
protected override void WndProc(ref System.Windows.Forms.Message msg)
|
||||
{
|
||||
switch (msg.Msg)
|
||||
{
|
||||
case 17189: //处理消息
|
||||
{
|
||||
#region 激活窗体
|
||||
switch (msg.WParam.ToInt32())
|
||||
{
|
||||
case 100://
|
||||
#region 显示界面
|
||||
if ((int)msg.LParam.ToInt32() == 100)
|
||||
{
|
||||
this.Show();
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.Top = (Screen.PrimaryScreen.WorkingArea.Height - this.Height) / 2;
|
||||
this.Left = (Screen.PrimaryScreen.WorkingArea.Width - this.Width) / 2;
|
||||
//RyForm.SetActiveWindow(Handle);
|
||||
RyForm.BringToTop(Handle);
|
||||
显示主窗体ToolStripMenuItem.PerformClick();
|
||||
this.BringToFront();
|
||||
this.Select();
|
||||
this.Focus();
|
||||
RyForm.BringToTop(Handle);
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
break;
|
||||
default:
|
||||
base.WndProc(ref msg);//调用基类函数处理非自定义消息。
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void 捐助ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Soft_ConstInfo.DonateVisabled)
|
||||
{
|
||||
FrmAbout frm = new FrmAbout();
|
||||
frm.ShowDialog();
|
||||
frm.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
RySkins.Msg.ShowMsg(Soft_ConstInfo.AboutText.Replace("#softname#", Soft_ConstInfo.Soft_Title).Replace("#ver#", "V" + RySoft.VersionStr), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void 打开官网ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ryCommon.RyFiles.OpenUrl(Soft_ConstInfo.Soft_Url);
|
||||
}
|
||||
|
||||
private void FrmStart_Load(object sender, EventArgs e)
|
||||
{
|
||||
//Itrycn_Project.Itrycn_Db.CreateTable();
|
||||
LiveUpdate.RyUpdate update = new LiveUpdate.RyUpdate(Soft_ConstInfo.Update_Url);
|
||||
update.CheckUpdate();
|
||||
}
|
||||
/// <summary>
|
||||
/// 添加日志
|
||||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
private void AddLogs(string text)
|
||||
/// <param name="log"></param>
|
||||
public void AddLog(string log)
|
||||
{
|
||||
AddLog(log, "", Color.Black);
|
||||
}
|
||||
/// <summary>
|
||||
/// 添加日志
|
||||
/// </summary>
|
||||
/// <param name="log"></param>
|
||||
/// <param name="color"></param>
|
||||
public void AddLog(string log, Color color)
|
||||
{
|
||||
AddLog(log, "", color);
|
||||
}
|
||||
/// <summary>
|
||||
/// 添加日志
|
||||
/// </summary>
|
||||
/// <param name="log"></param>
|
||||
/// <param name="tag"></param>
|
||||
/// <param name="color"></param>
|
||||
public void AddLog(string log, string tag, Color color)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
var count = LvLogs.GetItemCount();
|
||||
if (count > MaxLogsCount)
|
||||
{
|
||||
LvLogs.RemoveObject(LvLogs.GetModelObject(count - 1));
|
||||
}
|
||||
LvLogs.InsertObjects(0, new LogInfo[] { new LogInfo() { LogTime = DateTime.Now, LogText = log, LogTag = tag, Color = color } });
|
||||
OlvLogTime.Text = "时间(" + LvLogs.GetItemCount() + ")";
|
||||
}));
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
/// <summary>
|
||||
/// 显示状态
|
||||
/// </summary>
|
||||
/// <param name="state"></param>
|
||||
private void ShowState(string state)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
LvLogs.AddObject(new LogInfo() { LogText = text, LogTime = DateTime.Now.ToString("yyyy-MM-dd dddd HH:mm:ss") });
|
||||
TabLogs.Text = "日志("+LvLogs.GetItemCount()+")";
|
||||
TsState.Text = "状态:" + state;
|
||||
}));
|
||||
}
|
||||
bool IsRunning = false;
|
||||
|
|
@ -152,7 +102,6 @@ namespace Itrycn_Project2
|
|||
{
|
||||
if (IsRunning) { IsExit = true; return; }
|
||||
IsRunning = true;
|
||||
Soft_MemInfo.IsCanCloseForm = false;
|
||||
BtnScan.Text = "停止";
|
||||
LvCbResult.ClearObjects();
|
||||
LvLogs.ClearObjects();
|
||||
|
|
@ -163,13 +112,13 @@ namespace Itrycn_Project2
|
|||
th.Start();
|
||||
void Start()
|
||||
{
|
||||
List<ItemInfo> list = new List<ItemInfo>();
|
||||
//RyWeb.QuickWeb ry3h3 = new RyWeb.QuickWeb();
|
||||
//将扫描的代码写在下面
|
||||
|
||||
//↑将扫描的代码写在上面
|
||||
IsExit = false;
|
||||
IsRunning = false;
|
||||
Soft_MemInfo.IsCanCloseForm = true;
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
//LvCbResult.AddObjects(list);
|
||||
|
|
@ -190,8 +139,31 @@ namespace Itrycn_Project2
|
|||
/// </summary>
|
||||
class LogInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 日志时间
|
||||
/// </summary>
|
||||
public DateTime LogTime { get; set; } = DateTime.Now;
|
||||
/// <summary>
|
||||
/// 日志内容
|
||||
/// </summary>
|
||||
public string LogText { get; set; }
|
||||
public string LogTime { get; set; }
|
||||
/// <summary>
|
||||
/// 日志Tag
|
||||
/// </summary>
|
||||
public string LogTag { get; set; }
|
||||
/// <summary>
|
||||
/// 日志文字颜色
|
||||
/// </summary>
|
||||
public Color Color { get; set; } = Color.Black;
|
||||
}
|
||||
class ItemInfo
|
||||
{
|
||||
public string Name { get; set; } = "";
|
||||
public DateTime AddTime { get; set; }
|
||||
}
|
||||
private void 导出日志ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
LvLogs.CopyObjectsToClipboard();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,20 +117,11 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="notifyIcon1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="MenuTray.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>135, 17</value>
|
||||
</metadata>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>246, 17</value>
|
||||
<metadata name="MenuLogs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>144, 19</value>
|
||||
</metadata>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>366, 17</value>
|
||||
</metadata>
|
||||
<metadata name="MenuLogs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>487, 17</value>
|
||||
<value>23, 19</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>54</value>
|
||||
|
|
|
|||
|
|
@ -202,10 +202,21 @@ namespace ryCommon
|
|||
/// <returns></returns>
|
||||
static public string ToNString(this decimal input)
|
||||
{
|
||||
var str= input.ToString();
|
||||
if (str.IndexOfEx(".") >= 0) {
|
||||
str= str.TrimEnd('0');
|
||||
if(str.EndsWith("."))
|
||||
return ToNString(input,"");
|
||||
}
|
||||
/// <summary>
|
||||
/// 将数字转换成字符串,小数点末尾后面不包含0
|
||||
/// </summary>
|
||||
/// <param name="input"></param>
|
||||
/// <param name="format"></param>
|
||||
/// <returns></returns>
|
||||
static public string ToNString(this decimal input,string format)
|
||||
{
|
||||
var str = format.Length==0? input.ToString(): input.ToString(format);
|
||||
if (str.IndexOfEx(".") >= 0)
|
||||
{
|
||||
str = str.TrimEnd('0');
|
||||
if (str.EndsWith("."))
|
||||
{
|
||||
str = str.Substring(0, str.Length - 1);
|
||||
}
|
||||
|
|
@ -219,7 +230,17 @@ namespace ryCommon
|
|||
/// <returns></returns>
|
||||
static public string ToNString(this double input)
|
||||
{
|
||||
var str = input.ToString();
|
||||
return ToNString(input, "");
|
||||
}
|
||||
/// <summary>
|
||||
/// 将数字转换成字符串,小数点末尾后面不包含0
|
||||
/// </summary>
|
||||
/// <param name="input"></param>
|
||||
/// <param name="format"></param>
|
||||
/// <returns></returns>
|
||||
static public string ToNString(this double input,string format)
|
||||
{
|
||||
var str = format.Length == 0 ? input.ToString() : input.ToString(format);
|
||||
if (str.IndexOfEx(".") >= 0)
|
||||
{
|
||||
str = str.TrimEnd('0');
|
||||
|
|
|
|||
|
|
@ -722,7 +722,7 @@ namespace ryCommon
|
|||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
/// <param name="content"></param>
|
||||
public void AppendLogs(string path, string content)
|
||||
public static void AppendLogs(string path, string content)
|
||||
{
|
||||
AppendAllText(path, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "\t" + content);
|
||||
}
|
||||
|
|
@ -731,7 +731,7 @@ namespace ryCommon
|
|||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
/// <param name="content"></param>
|
||||
public void AppendAllText(string path, string content)
|
||||
public static void AppendAllText(string path, string content)
|
||||
{
|
||||
if (!System.IO.File.Exists(path))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ using System;
|
|||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
|
||||
// 方法是按如下所示使用“*”: :
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("3.0.2203.1101")]
|
||||
[assembly: AssemblyFileVersion("3.0.2203.1101")]
|
||||
[assembly: AssemblyVersion("3.0.2205.0701")]
|
||||
[assembly: AssemblyFileVersion("3.0.2205.0701")]
|
||||
|
|
@ -117,6 +117,14 @@ namespace ryCommon
|
|||
public static IntPtr GetActiveWindow()
|
||||
{
|
||||
return User32.GetActiveWindow();
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取当前前台的窗口句柄
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IntPtr GetForegroundWindow()
|
||||
{
|
||||
return User32.GetForegroundWindow();
|
||||
}
|
||||
/// <summary>
|
||||
/// 设置为当前活动窗口
|
||||
|
|
|
|||
|
|
@ -47,6 +47,165 @@ namespace ryCommon
|
|||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除注册表键(如果存在子键,子键将一并被删除)
|
||||
/// </summary>
|
||||
/// <param name="_RegRoot"></param>
|
||||
/// <param name="_UseSystemBit"></param>
|
||||
/// <param name="Path"></param>
|
||||
/// <param name="KeyName"></param>
|
||||
/// <returns></returns>
|
||||
public static bool DelKey(RegistryHive _RegRoot, RegistryView _UseSystemBit, string Path,string KeyName)
|
||||
{
|
||||
var result = false;
|
||||
try
|
||||
{
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(_RegRoot, _UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(Path, false);
|
||||
if (softwareRun != null)
|
||||
{
|
||||
softwareRun.DeleteSubKeyTree(KeyName,false);
|
||||
result= true;
|
||||
}
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除注册表键值
|
||||
/// </summary>
|
||||
/// <param name="_RegRoot"></param>
|
||||
/// <param name="_UseSystemBit"></param>
|
||||
/// <param name="Path"></param>
|
||||
/// <param name="ValueName"></param>
|
||||
/// <returns></returns>
|
||||
public static bool DelValue(RegistryHive _RegRoot, RegistryView _UseSystemBit, string Path, string ValueName)
|
||||
{
|
||||
var result = false;
|
||||
try
|
||||
{
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(_RegRoot, _UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(Path, false);
|
||||
if (softwareRun != null)
|
||||
{
|
||||
if (softwareRun.GetValue(ValueName) != null)
|
||||
{
|
||||
softwareRun.DeleteValue(ValueName, false);
|
||||
result= true;
|
||||
}
|
||||
else
|
||||
{
|
||||
result= false;
|
||||
}
|
||||
}
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取注册表键值
|
||||
/// </summary>
|
||||
/// <param name="_RegRoot"></param>
|
||||
/// <param name="_UseSystemBit"></param>
|
||||
/// <param name="Path"></param>
|
||||
/// <param name="ValueName"></param>
|
||||
/// <param name="defValue"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetValue(RegistryHive _RegRoot, RegistryView _UseSystemBit, string Path, string ValueName,string defValue)
|
||||
{
|
||||
var result = defValue;
|
||||
try
|
||||
{
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(_RegRoot, _UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(Path, false);
|
||||
if (softwareRun != null)
|
||||
{
|
||||
var value = softwareRun.GetValue(ValueName);
|
||||
if (value == null) { result= defValue; }
|
||||
else { result= value.ToString(); }
|
||||
}
|
||||
else { result= defValue; }
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 设置注册表键值
|
||||
/// </summary>
|
||||
/// <param name="_RegRoot"></param>
|
||||
/// <param name="_UseSystemBit"></param>
|
||||
/// <param name="Path"></param>
|
||||
/// <param name="ValueName"></param>
|
||||
/// <param name="Value"></param>
|
||||
/// <returns></returns>
|
||||
public static bool SetValue(RegistryHive _RegRoot, RegistryView _UseSystemBit, string Path, string ValueName, string Value)
|
||||
{
|
||||
var result = false;
|
||||
try
|
||||
{
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(_RegRoot, _UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(Path, true);
|
||||
if (softwareRun != null)
|
||||
{
|
||||
softwareRun.SetValue(ValueName, Value);
|
||||
result = true;
|
||||
}
|
||||
else { result = false; }
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 设置注册表键值
|
||||
/// </summary>
|
||||
/// <param name="_RegRoot"></param>
|
||||
/// <param name="_UseSystemBit"></param>
|
||||
/// <param name="Path"></param>
|
||||
/// <param name="ValueName"></param>
|
||||
/// <param name="Value"></param>
|
||||
/// <returns></returns>
|
||||
public static bool SetValue(RegistryHive _RegRoot, RegistryView _UseSystemBit, string Path, string ValueName, uint Value)
|
||||
{
|
||||
var result = false;
|
||||
try
|
||||
{
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(_RegRoot, _UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(Path, true);
|
||||
if (softwareRun != null)
|
||||
{
|
||||
softwareRun.SetValue(ValueName, Value, RegistryValueKind.DWord);
|
||||
result = true;
|
||||
}
|
||||
else { result = false; }
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 设置是否开机启动
|
||||
/// </summary>
|
||||
/// <param name="AutoRun">是否开机启动</param>
|
||||
|
|
@ -109,13 +268,10 @@ namespace ryCommon
|
|||
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)
|
||||
var value = GetValue(RegRoot, UseSystemBit, @"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", StartName, "");
|
||||
if (value == StartCommand)
|
||||
{ sxResult = true; }
|
||||
else { sxResult = false; }
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return sxResult;
|
||||
}
|
||||
catch
|
||||
|
|
@ -133,13 +289,10 @@ namespace ryCommon
|
|||
try
|
||||
{
|
||||
bool sxResult = false;
|
||||
RegistryKey LMach = RegistryKey.OpenBaseKey(RegRoot, UseSystemBit);
|
||||
RegistryKey softwareRun = LMach.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run");
|
||||
if (softwareRun.GetValue(StartName, "").ToString() != "")
|
||||
var value = GetValue(RegRoot, UseSystemBit, @"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", StartName, "");
|
||||
if (value != "")
|
||||
{ sxResult = true; }
|
||||
else { sxResult = false; }
|
||||
softwareRun.Close();
|
||||
LMach.Close();
|
||||
return sxResult;
|
||||
}
|
||||
catch
|
||||
|
|
@ -186,12 +339,7 @@ namespace ryCommon
|
|||
{
|
||||
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;
|
||||
return SetValue(RegRoot, UseSystemBit, @"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", filename, IEMode);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
@ -371,12 +519,7 @@ namespace ryCommon
|
|||
{
|
||||
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;
|
||||
return SetValue(RegRoot, UseSystemBit, @"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", filename, (uint)IEMode);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2492,8 +2492,8 @@ namespace BrightIdeasSoftware
|
|||
get
|
||||
{
|
||||
ArrayList list = new ArrayList();
|
||||
if (objects == null) { return list; }
|
||||
var enumer = this.objects.GetEnumerator();
|
||||
if (this.Objects == null) { return list; }
|
||||
var enumer = this.Objects.GetEnumerator();
|
||||
while(enumer.MoveNext())
|
||||
{
|
||||
list.Add(enumer.Current);
|
||||
|
|
@ -4380,7 +4380,13 @@ namespace BrightIdeasSoftware
|
|||
dataObject.CreateTextFormats();
|
||||
Clipboard.SetDataObject(dataObject);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将所有对象的文本和HTML表示复制到剪贴板上。
|
||||
/// </summary>
|
||||
public virtual void CopyObjectsToClipboard()
|
||||
{
|
||||
CopyObjectsToClipboard(ObjectsList);
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回给定对象的html表示形式
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
|
||||
// 方法是按如下所示使用“*”: :
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("3.0.2111.2601")]
|
||||
[assembly: AssemblyFileVersion("3.0.2111.2601")]
|
||||
[assembly: AssemblyVersion("3.0.2204.1201")]
|
||||
[assembly: AssemblyFileVersion("3.0.2204.1201")]
|
||||
Loading…
Reference in New Issue
Block a user