### 2022-04-16更新

------
#### VSoft    V1.0.2204.1601
- *.[改进]启动时加载图标缓存,增加切换分组的流畅度。
This commit is contained in:
紫林软件 2022-04-16 20:43:43 +08:00
parent 96e9feaa03
commit 28d84616e8
14 changed files with 41 additions and 27 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@ Res/
**/obj **/obj
*.pdb *.pdb
**/dcu **/dcu
*.dcu *.dcu
/Source/.vs

View File

@ -1,5 +1,5 @@
[VSoft] [VSoft]
hwnd=334384 hwnd=134844
width=745 width=745
height=543 height=543
[VSoft_Test] [VSoft_Test]

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,9 @@
### 2022-02-20更新 ### 2022-04-16更新
------
#### VSoft V1.0.2204.1601
- *.[改进]启动时加载图标缓存,增加切换分组的流畅度。
### 2022-02-20更新
------ ------
#### VSoft V1.0.2202.2001 #### VSoft V1.0.2202.2001
- *.[改进]删除鼠标移上去提示功能。 - *.[改进]删除鼠标移上去提示功能。

View File

@ -1,21 +0,0 @@
{
"Version": 1,
"ProjectMap": {
"13c45e68-2da3-4c9e-9bca-e63d0fa9a760": {
"ProjectGuid": "13c45e68-2da3-4c9e-9bca-e63d0fa9a760",
"DisplayName": "VSoft",
"ColorIndex": 0
},
"8ee4505a-7d76-4209-85d5-274357a81fb8": {
"ProjectGuid": "8ee4505a-7d76-4209-85d5-274357a81fb8",
"DisplayName": "DyLine",
"ColorIndex": 1
},
"ca619284-2939-4a14-9525-30fd7c04adc7": {
"ProjectGuid": "ca619284-2939-4a14-9525-30fd7c04adc7",
"DisplayName": "VSoftBox",
"ColorIndex": 2
}
},
"NextColorIndex": 3
}

Binary file not shown.

Binary file not shown.

View File

@ -145,7 +145,7 @@ namespace VSoft
} }
else else
{ {
img_path = RyFiles.GetRealPath(row["IconPath"].ToString()); img_path = RyFiles.GetRealPath(info.IconPath);
} }
if(dictCacheImg.ContainsKey(img_path)) if(dictCacheImg.ContainsKey(img_path))
{ {
@ -352,6 +352,35 @@ namespace VSoft
hotkey = new SysFuns.WinHotReg(Handle); hotkey = new SysFuns.WinHotReg(Handle);
hotkey.OnHotkey += Hotkey_OnHotkey; hotkey.OnHotkey += Hotkey_OnHotkey;
RegisterHotkey(); RegisterHotkey();
#region
IDbInterface db2 = Itrycn_Db.CreateDataProvider(Itrycn_Db.dataType);
if (db2.ConnDb(SQLConnStr) == 1)
{
DataSet ds = db2.ReadData("select * from Softs");
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
DataRow row = ds.Tables[0].Rows[i];
var IconPath = row["IconPath"].ToString();
var TruePath = RyFiles.GetRealPath(row["Path"].ToString());
string img_path;
Image image;
if (IconPath.Length == 0)
{
img_path = TruePath;
}
else
{
img_path = RyFiles.GetRealPath(IconPath);
}
if (!dictCacheImg.ContainsKey(img_path))
{
image = API.GetImg(img_path, 128);
dictCacheImg.Add(img_path, image);
}
}
}
db2.Free();
#endregion
ryCommon.RyRegedit.RegRoot = Microsoft.Win32.RegistryHive.CurrentUser; ryCommon.RyRegedit.RegRoot = Microsoft.Win32.RegistryHive.CurrentUser;
//如果开机启动没有启动 //如果开机启动没有启动
if(!ryCommon.RyRegedit.IsAutoRun(Soft_Info.Soft_Id, "\"" + Application.ExecutablePath.Replace("/", "\\") + "\" " + Soft_Info.Soft_Pram)) if(!ryCommon.RyRegedit.IsAutoRun(Soft_Info.Soft_Id, "\"" + Application.ExecutablePath.Replace("/", "\\") + "\" " + Soft_Info.Soft_Pram))

View File

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