更新 APP_VERSION 和 Ribbon1 组件属性

更新了 `Config.cs` 文件中的 `APP_VERSION` 常量值,从 "2.0.0" 改为 "2.2.2"。
在 `Ribbon1.Designer.cs` 文件中,删除了 `menuProofreadList` 的 `Enabled` 属性设置,使其默认启用。
新增了 `BtnShowPanel` 的 `Enabled` 属性设置,并将其设为 `false`,使其默认禁用。
This commit is contained in:
LittleBoy 2025-04-14 19:16:56 +08:00
parent ddf2c5c7e8
commit 7e26695000
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -36,7 +36,7 @@ namespace AIProofread
public class Config public class Config
{ {
public static readonly string APP_NAME = "AI校对王(公告版)"; public static readonly string APP_NAME = "AI校对王(公告版)";
public static readonly string APP_VERSION = "2.0.0"; public static readonly string APP_VERSION = "2.2.2";
public static bool IS_WPS = false; public static bool IS_WPS = false;
public static bool UpgradeForcedNotice = false; public static bool UpgradeForcedNotice = false;
public static readonly string APP_BASE_DIR = AppDomain.CurrentDomain.BaseDirectory; public static readonly string APP_BASE_DIR = AppDomain.CurrentDomain.BaseDirectory;

View File

@ -121,7 +121,6 @@ namespace AIProofread
// menuProofreadList // menuProofreadList
// //
this.menuProofreadList.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.menuProofreadList.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.menuProofreadList.Enabled = false;
this.menuProofreadList.Image = global::AIProofread.Properties.Resources.icon_proofread; this.menuProofreadList.Image = global::AIProofread.Properties.Resources.icon_proofread;
this.menuProofreadList.Items.Add(this.BtnProofreadExact); this.menuProofreadList.Items.Add(this.BtnProofreadExact);
this.menuProofreadList.Items.Add(this.BtnProofreadFull); this.menuProofreadList.Items.Add(this.BtnProofreadFull);
@ -314,6 +313,7 @@ namespace AIProofread
// BtnShowPanel // BtnShowPanel
// //
this.BtnShowPanel.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.BtnShowPanel.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.BtnShowPanel.Enabled = false;
this.BtnShowPanel.Image = global::AIProofread.Properties.Resources.icon_panel; this.BtnShowPanel.Image = global::AIProofread.Properties.Resources.icon_panel;
this.BtnShowPanel.Label = "显示面板\r\n"; this.BtnShowPanel.Label = "显示面板\r\n";
this.BtnShowPanel.Name = "BtnShowPanel"; this.BtnShowPanel.Name = "BtnShowPanel";