From ab4a2d9424ec2a73b42a64a81c2a611d85337074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E7=82=B9lilac?= Date: Mon, 22 Feb 2021 01:16:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B03.0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ContextMenuManager/AppConfig.cs | 4 ++-- ContextMenuManager/AppImage.cs | 2 +- .../BluePointLilac.Controls/ReadOnlyRichTextBox.cs | 4 ++-- ContextMenuManager/ContextMenuManager.csproj | 2 +- ContextMenuManager/Controls/GuidBlockedList.cs | 2 +- ContextMenuManager/Controls/SendToItem.cs | 2 +- ContextMenuManager/Controls/WinXItem.cs | 3 ++- Update.ini | 6 +++--- 8 files changed, 13 insertions(+), 12 deletions(-) diff --git a/ContextMenuManager/AppConfig.cs b/ContextMenuManager/AppConfig.cs index 576d4f8..92b9348 100644 --- a/ContextMenuManager/AppConfig.cs +++ b/ContextMenuManager/AppConfig.cs @@ -1,9 +1,9 @@ -using System; +using BluePointLilac.Methods; +using System; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; -using BluePointLilac.Methods; namespace ContextMenuManager { diff --git a/ContextMenuManager/AppImage.cs b/ContextMenuManager/AppImage.cs index 7b65660..02a5175 100644 --- a/ContextMenuManager/AppImage.cs +++ b/ContextMenuManager/AppImage.cs @@ -60,7 +60,7 @@ public static class AppImage ///资源管理器图标 public static readonly Image Explorer = ResourceIcon.GetIcon("explorer.exe", 0).ToBitmap(); ///命令提示符图标 - public static readonly Image Cmd= ResourceIcon.GetIcon("cmd.exe", 0).ToBitmap(); + public static readonly Image Cmd = ResourceIcon.GetIcon("cmd.exe", 0).ToBitmap(); ///重启Explorer图标 public static readonly Image RestartExplorer = ResourceIcon.GetIcon("shell32.dll", 238).ToBitmap(); ///网络驱动器图标 diff --git a/ContextMenuManager/BluePointLilac.Controls/ReadOnlyRichTextBox.cs b/ContextMenuManager/BluePointLilac.Controls/ReadOnlyRichTextBox.cs index 0cb73af..fd203a7 100644 --- a/ContextMenuManager/BluePointLilac.Controls/ReadOnlyRichTextBox.cs +++ b/ContextMenuManager/BluePointLilac.Controls/ReadOnlyRichTextBox.cs @@ -1,6 +1,6 @@ -using System.Drawing; +using BluePointLilac.Methods; +using System.Drawing; using System.Windows.Forms; -using BluePointLilac.Methods; namespace BluePointLilac.Controls { diff --git a/ContextMenuManager/ContextMenuManager.csproj b/ContextMenuManager/ContextMenuManager.csproj index 7c73ab0..2ca3501 100644 --- a/ContextMenuManager/ContextMenuManager.csproj +++ b/ContextMenuManager/ContextMenuManager.csproj @@ -33,7 +33,7 @@ AnyCPU true full - false + true bin\Debug\ DEBUG;TRACE prompt diff --git a/ContextMenuManager/Controls/GuidBlockedList.cs b/ContextMenuManager/Controls/GuidBlockedList.cs index e846c7a..a1f4044 100644 --- a/ContextMenuManager/Controls/GuidBlockedList.cs +++ b/ContextMenuManager/Controls/GuidBlockedList.cs @@ -26,7 +26,7 @@ private void LoadBlockedItems() }); Array.ForEach(values.Distinct(StringComparer.OrdinalIgnoreCase).ToArray(), value => { - this.AddItem(new GuidBlockedItem(value)); + this.AddItem(new GuidBlockedItem(value)); }); } diff --git a/ContextMenuManager/Controls/SendToItem.cs b/ContextMenuManager/Controls/SendToItem.cs index bc76d0c..385aa4a 100644 --- a/ContextMenuManager/Controls/SendToItem.cs +++ b/ContextMenuManager/Controls/SendToItem.cs @@ -117,7 +117,7 @@ public string IconLocation if(IsShortcut) { location = Shortcut.IconLocation; - if(location==",0") location = Shortcut.TargetPath; + if(location == ",0") location = Shortcut.TargetPath; } else { diff --git a/ContextMenuManager/Controls/WinXItem.cs b/ContextMenuManager/Controls/WinXItem.cs index 0a46aad..8188ee1 100644 --- a/ContextMenuManager/Controls/WinXItem.cs +++ b/ContextMenuManager/Controls/WinXItem.cs @@ -132,7 +132,8 @@ private void InitializeComponents() TsiChangeGroup.Click += (sender, e) => ChangeGroup(); BtnMoveDown.MouseDown += (sender, e) => MoveItem(false); BtnMoveUp.MouseDown += (sender, e) => MoveItem(true); - TsiAdministrator.Click += (sender, e) => { + TsiAdministrator.Click += (sender, e) => + { WinXList.HashLnk(this.FilePath); ExplorerRestarter.Show(); }; diff --git a/Update.ini b/Update.ini index d262d45..144c48c 100644 --- a/Update.ini +++ b/Update.ini @@ -1,4 +1,4 @@ [Update] -Version=2.2.0.0 -Url=https://github.com/BluePointLilac/ContextMenuManager/releases/download/2.2.0.0/ContextMenuManager.zip -Info=【更新描述】\n(1).支持定义所有格式文件的右键菜单;\n(2).优化规则“使用 Skype 共享”,可永久禁用;\n(3).支持更改程序内网页搜索引擎;\n(4).添加设置文件格式感知类型功能;\n(5).扩充程序GUID字典,更友好! \ No newline at end of file +Version=3.0.0.0 +Url=https://github.com/BluePointLilac/ContextMenuManager/releases/download/3.0.0.0/ContextMenuManager.zip +Info=【更新描述】\n(1).支持通过GUID添加ShellEx菜单项目;\n(2).添加ShellExecute函数,方便创建更加强大的Shell菜单项目;\n(3).添加WinX菜单创建和排序功能;\n(4).添加IE右键菜单管理和创建功能;\n(5).添加管理和创建右键拖拽菜单项目功能;\n(6).添加了丰富的字典,添加了很多增强菜单;\n(7).整合文件类型管理功能,使管理更加方便;\n(8).添加状态栏实时显示文件路径功能;\n(9).优化程序部分UI,优化部分代码,解决一些已知Bug。 \ No newline at end of file