feat: 隐藏工具栏部分按钮
This commit is contained in:
parent
da40b60710
commit
3448b0f012
Binary file not shown.
@ -17,39 +17,28 @@ Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Test|Any CPU = Test|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Debug|Any CPU.ActiveCfg = Release_Anno|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Debug|Any CPU.Build.0 = Release_Anno|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Test|Any CPU.ActiveCfg = Release_Anno|Any CPU
|
||||
{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}.Test|Any CPU.Build.0 = Release_Anno|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Test|Any CPU.ActiveCfg = Test|Any CPU
|
||||
{455E23BE-F34F-4F6F-A9EA-381D66170B1B}.Test|Any CPU.Build.0 = Test|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Test|Any CPU.ActiveCfg = Test|Any CPU
|
||||
{FF204E99-82F8-405E-847B-88FC6DF07715}.Test|Any CPU.Build.0 = Test|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Test|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{73AC658D-CD49-4731-8491-A7BDBC811559}.Test|Any CPU.Build.0 = Debug|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Test|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{48C0B207-150A-40B7-9A25-ECF9218FF86F}.Test|Any CPU.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -19,7 +19,7 @@ namespace AIProofread
|
||||
/// <summary>
|
||||
/// 测试环境
|
||||
/// </summary>
|
||||
public const string TEST = "http://gm2-plugin.zverse.group/";
|
||||
public const string TEST = "http://gm-gg.zverse.group/";
|
||||
/// <summary>
|
||||
/// 果麦预发布-灰度
|
||||
/// </summary>
|
||||
@ -52,11 +52,11 @@ namespace AIProofread
|
||||
/// <summary>
|
||||
/// 网页访问地址
|
||||
/// </summary>
|
||||
public static string WEB_PATH = AppServer.GM_FN; //pre-gm-plugin.gachafun.com localhost:5173 gm2-plugin.zverse.group
|
||||
public static string WEB_PATH = AppServer.DEV; //pre-gm-plugin.gachafun.com localhost:5173 gm2-plugin.zverse.group
|
||||
public static bool RUN_IN_DEBUG = true;
|
||||
public static AppEnvironment APP_ENV = AppEnvironment.Dev;
|
||||
#else
|
||||
public static string WEB_PATH = AppServer.GM_FN; // gm-plugin.gachafun.com pre-gm-plugin.gachafun.com
|
||||
public static string WEB_PATH = AppServer.TEST; // gm-plugin.gachafun.com pre-gm-plugin.gachafun.com
|
||||
public static bool RUN_IN_DEBUG = false;
|
||||
public static AppEnvironment APP_ENV = AppEnvironment.Prod;
|
||||
#endif
|
||||
|
4
AIProofread/Controls/FormSetting.Designer.cs
generated
4
AIProofread/Controls/FormSetting.Designer.cs
generated
@ -41,7 +41,7 @@
|
||||
this.WebViewSetting.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.WebViewSetting.Location = new System.Drawing.Point(0, 0);
|
||||
this.WebViewSetting.Name = "WebViewSetting";
|
||||
this.WebViewSetting.Size = new System.Drawing.Size(621, 450);
|
||||
this.WebViewSetting.Size = new System.Drawing.Size(286, 206);
|
||||
this.WebViewSetting.TabIndex = 0;
|
||||
this.WebViewSetting.ZoomFactor = 1D;
|
||||
//
|
||||
@ -49,7 +49,7 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(621, 450);
|
||||
this.ClientSize = new System.Drawing.Size(500, 360);
|
||||
this.Controls.Add(this.WebViewSetting);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
|
346
AIProofread/Ribbon1.Designer.cs
generated
346
AIProofread/Ribbon1.Designer.cs
generated
@ -41,28 +41,20 @@ namespace AIProofread
|
||||
Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl3 = this.Factory.CreateRibbonDropDownItem();
|
||||
this.tabAIProofreadAnno = this.Factory.CreateRibbonTab();
|
||||
this.group1 = this.Factory.CreateRibbonGroup();
|
||||
this.grpOther = this.Factory.CreateRibbonGroup();
|
||||
this.LblDate = this.Factory.CreateRibbonLabel();
|
||||
this.LblNickname = this.Factory.CreateRibbonLabel();
|
||||
this.group2 = this.Factory.CreateRibbonGroup();
|
||||
this.grpDebug = this.Factory.CreateRibbonGroup();
|
||||
this.dropDown1 = this.Factory.CreateRibbonDropDown();
|
||||
this.btnShowPane = this.Factory.CreateRibbonButton();
|
||||
this.btnHidePane = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenLog = this.Factory.CreateRibbonButton();
|
||||
this.button1 = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenLogger = this.Factory.CreateRibbonButton();
|
||||
this.BtnTest = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenAppDir = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowVersion = this.Factory.CreateRibbonButton();
|
||||
this.BtnProofreadAll = this.Factory.CreateRibbonButton();
|
||||
this.menuProofreadList = this.Factory.CreateRibbonMenu();
|
||||
this.BtnProofreadExact = this.Factory.CreateRibbonButton();
|
||||
this.BtnProofreadFull = this.Factory.CreateRibbonButton();
|
||||
this.BtnExportProofreadResult = this.Factory.CreateRibbonButton();
|
||||
this.btnClear = this.Factory.CreateRibbonButton();
|
||||
this.BtnQueryStock = this.Factory.CreateRibbonButton();
|
||||
this.BtnQueryLaw = this.Factory.CreateRibbonButton();
|
||||
this.btnClear = this.Factory.CreateRibbonButton();
|
||||
this.BtnGetContact = this.Factory.CreateRibbonButton();
|
||||
this.BtnUpdate = this.Factory.CreateRibbonButton();
|
||||
this.btnLogout = this.Factory.CreateRibbonButton();
|
||||
this.btnLogin = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowManual = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowPanel = this.Factory.CreateRibbonButton();
|
||||
this.menuSencenDect = this.Factory.CreateRibbonMenu();
|
||||
this.btnDetectionAll = this.Factory.CreateRibbonButton();
|
||||
this.btnDetectionParagraph = this.Factory.CreateRibbonButton();
|
||||
@ -72,12 +64,20 @@ namespace AIProofread
|
||||
this.ButtonSaveCache = this.Factory.CreateRibbonButton();
|
||||
this.ButtonLoadCache = this.Factory.CreateRibbonButton();
|
||||
this.btnSetting = this.Factory.CreateRibbonButton();
|
||||
this.BtnGetContact = this.Factory.CreateRibbonButton();
|
||||
this.BtnUpdate = this.Factory.CreateRibbonButton();
|
||||
this.btnLogin = this.Factory.CreateRibbonButton();
|
||||
this.btnLogout = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowPanel = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowManual = this.Factory.CreateRibbonButton();
|
||||
this.grpOther = this.Factory.CreateRibbonGroup();
|
||||
this.LblDate = this.Factory.CreateRibbonLabel();
|
||||
this.LblNickname = this.Factory.CreateRibbonLabel();
|
||||
this.group2 = this.Factory.CreateRibbonGroup();
|
||||
this.grpDebug = this.Factory.CreateRibbonGroup();
|
||||
this.btnShowPane = this.Factory.CreateRibbonButton();
|
||||
this.btnHidePane = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenLog = this.Factory.CreateRibbonButton();
|
||||
this.button1 = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenLogger = this.Factory.CreateRibbonButton();
|
||||
this.BtnTest = this.Factory.CreateRibbonButton();
|
||||
this.BtnOpenAppDir = this.Factory.CreateRibbonButton();
|
||||
this.BtnShowVersion = this.Factory.CreateRibbonButton();
|
||||
this.dropDown1 = this.Factory.CreateRibbonDropDown();
|
||||
this.tabAIProofreadAnno.SuspendLayout();
|
||||
this.group1.SuspendLayout();
|
||||
this.grpOther.SuspendLayout();
|
||||
@ -112,102 +112,6 @@ namespace AIProofread
|
||||
this.group1.Items.Add(this.MenuMore);
|
||||
this.group1.Name = "group1";
|
||||
//
|
||||
// grpOther
|
||||
//
|
||||
this.grpOther.Items.Add(this.LblDate);
|
||||
this.grpOther.Items.Add(this.LblNickname);
|
||||
this.grpOther.Name = "grpOther";
|
||||
//
|
||||
// LblDate
|
||||
//
|
||||
this.LblDate.Label = "过期时间:";
|
||||
this.LblDate.Name = "LblDate";
|
||||
this.LblDate.Visible = false;
|
||||
//
|
||||
// LblNickname
|
||||
//
|
||||
this.LblNickname.Label = "xxx 已登录";
|
||||
this.LblNickname.Name = "LblNickname";
|
||||
this.LblNickname.Visible = false;
|
||||
//
|
||||
// group2
|
||||
//
|
||||
this.group2.Name = "group2";
|
||||
//
|
||||
// grpDebug
|
||||
//
|
||||
this.grpDebug.Items.Add(this.btnShowPane);
|
||||
this.grpDebug.Items.Add(this.btnHidePane);
|
||||
this.grpDebug.Items.Add(this.BtnOpenLog);
|
||||
this.grpDebug.Items.Add(this.button1);
|
||||
this.grpDebug.Items.Add(this.BtnOpenLogger);
|
||||
this.grpDebug.Items.Add(this.BtnTest);
|
||||
this.grpDebug.Items.Add(this.BtnOpenAppDir);
|
||||
this.grpDebug.Items.Add(this.BtnShowVersion);
|
||||
this.grpDebug.Items.Add(this.dropDown1);
|
||||
this.grpDebug.Label = "开发调试";
|
||||
this.grpDebug.Name = "grpDebug";
|
||||
this.grpDebug.Visible = false;
|
||||
//
|
||||
// dropDown1
|
||||
//
|
||||
ribbonDropDownItemImpl1.Label = "开发";
|
||||
ribbonDropDownItemImpl2.Label = "测试";
|
||||
ribbonDropDownItemImpl3.Label = "生产";
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl1);
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl2);
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl3);
|
||||
this.dropDown1.Label = "环境";
|
||||
this.dropDown1.Name = "dropDown1";
|
||||
//
|
||||
// btnShowPane
|
||||
//
|
||||
this.btnShowPane.Label = "显示面板";
|
||||
this.btnShowPane.Name = "btnShowPane";
|
||||
this.btnShowPane.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnShowPane_Click);
|
||||
//
|
||||
// btnHidePane
|
||||
//
|
||||
this.btnHidePane.Label = "隐藏面板";
|
||||
this.btnHidePane.Name = "btnHidePane";
|
||||
this.btnHidePane.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnHidePane_Click);
|
||||
//
|
||||
// BtnOpenLog
|
||||
//
|
||||
this.BtnOpenLog.Label = "打开日志目录";
|
||||
this.BtnOpenLog.Name = "BtnOpenLog";
|
||||
this.BtnOpenLog.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenLog_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Label = "更新测试版本";
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button1_Click);
|
||||
//
|
||||
// BtnOpenLogger
|
||||
//
|
||||
this.BtnOpenLogger.Label = "打开日志窗口";
|
||||
this.BtnOpenLogger.Name = "BtnOpenLogger";
|
||||
this.BtnOpenLogger.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenLogger_Click);
|
||||
//
|
||||
// BtnTest
|
||||
//
|
||||
this.BtnTest.Label = "获取当前位置";
|
||||
this.BtnTest.Name = "BtnTest";
|
||||
this.BtnTest.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnTest_Click);
|
||||
//
|
||||
// BtnOpenAppDir
|
||||
//
|
||||
this.BtnOpenAppDir.Label = "打开插件目录";
|
||||
this.BtnOpenAppDir.Name = "BtnOpenAppDir";
|
||||
this.BtnOpenAppDir.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenAppDir_Click);
|
||||
//
|
||||
// BtnShowVersion
|
||||
//
|
||||
this.BtnShowVersion.Label = "版本查看";
|
||||
this.BtnShowVersion.Name = "BtnShowVersion";
|
||||
this.BtnShowVersion.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowVersion_Click);
|
||||
//
|
||||
// BtnProofreadAll
|
||||
//
|
||||
this.BtnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
@ -249,17 +153,9 @@ namespace AIProofread
|
||||
this.BtnExportProofreadResult.Label = "导出勘误表\r\n";
|
||||
this.BtnExportProofreadResult.Name = "BtnExportProofreadResult";
|
||||
this.BtnExportProofreadResult.ShowImage = true;
|
||||
this.BtnExportProofreadResult.Visible = false;
|
||||
this.BtnExportProofreadResult.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnExportProofreadResult_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnClear.Image = global::AIProofread.Properties.Resources.icon_clear;
|
||||
this.btnClear.Label = "清除标注\r\n";
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.ShowImage = true;
|
||||
this.btnClear.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnClear_Click);
|
||||
//
|
||||
// BtnQueryStock
|
||||
//
|
||||
this.BtnQueryStock.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
@ -278,6 +174,72 @@ namespace AIProofread
|
||||
this.BtnQueryLaw.ShowImage = true;
|
||||
this.BtnQueryLaw.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnQueryLaw_Click);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnClear.Image = global::AIProofread.Properties.Resources.icon_clear;
|
||||
this.btnClear.Label = "清除标注\r\n";
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.ShowImage = true;
|
||||
this.btnClear.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnClear_Click);
|
||||
//
|
||||
// BtnGetContact
|
||||
//
|
||||
this.BtnGetContact.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnGetContact.Image = global::AIProofread.Properties.Resources.icon_phone;
|
||||
this.BtnGetContact.Label = "联系客服\r\n";
|
||||
this.BtnGetContact.Name = "BtnGetContact";
|
||||
this.BtnGetContact.ShowImage = true;
|
||||
this.BtnGetContact.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnGetContact_Click);
|
||||
//
|
||||
// BtnUpdate
|
||||
//
|
||||
this.BtnUpdate.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnUpdate.Image = global::AIProofread.Properties.Resources.icon_update;
|
||||
this.BtnUpdate.Label = "版本更新\r\n";
|
||||
this.BtnUpdate.Name = "BtnUpdate";
|
||||
this.BtnUpdate.ShowImage = true;
|
||||
this.BtnUpdate.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnUpdate_Click);
|
||||
//
|
||||
// btnLogout
|
||||
//
|
||||
this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnLogout.Image = global::AIProofread.Properties.Resources.icon_logout;
|
||||
this.btnLogout.Label = "退出登录\r\n";
|
||||
this.btnLogout.Name = "btnLogout";
|
||||
this.btnLogout.ShowImage = true;
|
||||
this.btnLogout.Visible = false;
|
||||
this.btnLogout.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogout_Click);
|
||||
//
|
||||
// btnLogin
|
||||
//
|
||||
this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnLogin.Image = global::AIProofread.Properties.Resources.icon_user;
|
||||
this.btnLogin.Label = "用户登录\r\n";
|
||||
this.btnLogin.Name = "btnLogin";
|
||||
this.btnLogin.ShowImage = true;
|
||||
this.btnLogin.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogin_Click);
|
||||
//
|
||||
// BtnShowManual
|
||||
//
|
||||
this.BtnShowManual.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnShowManual.Image = global::AIProofread.Properties.Resources.icon_manual;
|
||||
this.BtnShowManual.Label = "用户手册\r\n";
|
||||
this.BtnShowManual.Name = "BtnShowManual";
|
||||
this.BtnShowManual.ShowImage = true;
|
||||
this.BtnShowManual.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowManual_Click);
|
||||
//
|
||||
// BtnShowPanel
|
||||
//
|
||||
this.BtnShowPanel.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnShowPanel.Enabled = false;
|
||||
this.BtnShowPanel.Image = global::AIProofread.Properties.Resources.icon_panel;
|
||||
this.BtnShowPanel.Label = "显示面板\r\n";
|
||||
this.BtnShowPanel.Name = "BtnShowPanel";
|
||||
this.BtnShowPanel.ShowImage = true;
|
||||
this.BtnShowPanel.Visible = false;
|
||||
this.BtnShowPanel.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowPanel_Click);
|
||||
//
|
||||
// menuSencenDect
|
||||
//
|
||||
this.menuSencenDect.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
@ -326,7 +288,6 @@ namespace AIProofread
|
||||
//
|
||||
// btnOpenLexicon
|
||||
//
|
||||
this.btnOpenLexicon.Image = global::AIProofread.Properties.Resources.icon_book;
|
||||
this.btnOpenLexicon.Label = "词库管理\r\n";
|
||||
this.btnOpenLexicon.Name = "btnOpenLexicon";
|
||||
this.btnOpenLexicon.ShowImage = true;
|
||||
@ -334,7 +295,6 @@ namespace AIProofread
|
||||
//
|
||||
// ButtonSaveCache
|
||||
//
|
||||
this.ButtonSaveCache.Image = global::AIProofread.Properties.Resources.icon_save;
|
||||
this.ButtonSaveCache.Label = "保存进度\r\n";
|
||||
this.ButtonSaveCache.Name = "ButtonSaveCache";
|
||||
this.ButtonSaveCache.ShowImage = true;
|
||||
@ -342,7 +302,6 @@ namespace AIProofread
|
||||
//
|
||||
// ButtonLoadCache
|
||||
//
|
||||
this.ButtonLoadCache.Image = global::AIProofread.Properties.Resources.icon_history;
|
||||
this.ButtonLoadCache.Label = "加载进度\r\n";
|
||||
this.ButtonLoadCache.Name = "ButtonLoadCache";
|
||||
this.ButtonLoadCache.ShowImage = true;
|
||||
@ -350,67 +309,106 @@ namespace AIProofread
|
||||
//
|
||||
// btnSetting
|
||||
//
|
||||
this.btnSetting.Image = global::AIProofread.Properties.Resources.icon_setting;
|
||||
this.btnSetting.Label = "设置\r\n";
|
||||
this.btnSetting.Name = "btnSetting";
|
||||
this.btnSetting.ShowImage = true;
|
||||
this.btnSetting.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSetting_Click);
|
||||
//
|
||||
// BtnGetContact
|
||||
// grpOther
|
||||
//
|
||||
this.BtnGetContact.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnGetContact.Image = global::AIProofread.Properties.Resources.icon_phone;
|
||||
this.BtnGetContact.Label = "联系客服\r\n";
|
||||
this.BtnGetContact.Name = "BtnGetContact";
|
||||
this.BtnGetContact.ShowImage = true;
|
||||
this.BtnGetContact.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnGetContact_Click);
|
||||
this.grpOther.Items.Add(this.LblDate);
|
||||
this.grpOther.Items.Add(this.LblNickname);
|
||||
this.grpOther.Name = "grpOther";
|
||||
//
|
||||
// BtnUpdate
|
||||
// LblDate
|
||||
//
|
||||
this.BtnUpdate.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnUpdate.Image = global::AIProofread.Properties.Resources.icon_update;
|
||||
this.BtnUpdate.Label = "版本更新\r\n";
|
||||
this.BtnUpdate.Name = "BtnUpdate";
|
||||
this.BtnUpdate.ShowImage = true;
|
||||
this.BtnUpdate.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnUpdate_Click);
|
||||
this.LblDate.Label = "过期时间:";
|
||||
this.LblDate.Name = "LblDate";
|
||||
this.LblDate.Visible = false;
|
||||
//
|
||||
// btnLogin
|
||||
// LblNickname
|
||||
//
|
||||
this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnLogin.Image = global::AIProofread.Properties.Resources.icon_user;
|
||||
this.btnLogin.Label = "用户登录\r\n";
|
||||
this.btnLogin.Name = "btnLogin";
|
||||
this.btnLogin.ShowImage = true;
|
||||
this.btnLogin.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogin_Click);
|
||||
this.LblNickname.Label = "xxx 已登录";
|
||||
this.LblNickname.Name = "LblNickname";
|
||||
this.LblNickname.Visible = false;
|
||||
//
|
||||
// btnLogout
|
||||
// group2
|
||||
//
|
||||
this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.btnLogout.Image = global::AIProofread.Properties.Resources.icon_logout;
|
||||
this.btnLogout.Label = "退出登录\r\n";
|
||||
this.btnLogout.Name = "btnLogout";
|
||||
this.btnLogout.ShowImage = true;
|
||||
this.btnLogout.Visible = false;
|
||||
this.btnLogout.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogout_Click);
|
||||
this.group2.Name = "group2";
|
||||
//
|
||||
// BtnShowPanel
|
||||
// grpDebug
|
||||
//
|
||||
this.BtnShowPanel.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnShowPanel.Enabled = false;
|
||||
this.BtnShowPanel.Image = global::AIProofread.Properties.Resources.icon_panel;
|
||||
this.BtnShowPanel.Label = "显示面板\r\n";
|
||||
this.BtnShowPanel.Name = "BtnShowPanel";
|
||||
this.BtnShowPanel.ShowImage = true;
|
||||
this.BtnShowPanel.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowPanel_Click);
|
||||
this.grpDebug.Items.Add(this.btnShowPane);
|
||||
this.grpDebug.Items.Add(this.btnHidePane);
|
||||
this.grpDebug.Items.Add(this.BtnOpenLog);
|
||||
this.grpDebug.Items.Add(this.button1);
|
||||
this.grpDebug.Items.Add(this.BtnOpenLogger);
|
||||
this.grpDebug.Items.Add(this.BtnTest);
|
||||
this.grpDebug.Items.Add(this.BtnOpenAppDir);
|
||||
this.grpDebug.Items.Add(this.BtnShowVersion);
|
||||
this.grpDebug.Items.Add(this.dropDown1);
|
||||
this.grpDebug.Label = "开发调试";
|
||||
this.grpDebug.Name = "grpDebug";
|
||||
this.grpDebug.Visible = false;
|
||||
//
|
||||
// BtnShowManual
|
||||
// btnShowPane
|
||||
//
|
||||
this.BtnShowManual.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||||
this.BtnShowManual.Image = global::AIProofread.Properties.Resources.icon_manual;
|
||||
this.BtnShowManual.Label = "用户手册\r\n";
|
||||
this.BtnShowManual.Name = "BtnShowManual";
|
||||
this.BtnShowManual.ShowImage = true;
|
||||
this.BtnShowManual.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowManual_Click);
|
||||
this.btnShowPane.Label = "显示面板";
|
||||
this.btnShowPane.Name = "btnShowPane";
|
||||
this.btnShowPane.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnShowPane_Click);
|
||||
//
|
||||
// btnHidePane
|
||||
//
|
||||
this.btnHidePane.Label = "隐藏面板";
|
||||
this.btnHidePane.Name = "btnHidePane";
|
||||
this.btnHidePane.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnHidePane_Click);
|
||||
//
|
||||
// BtnOpenLog
|
||||
//
|
||||
this.BtnOpenLog.Label = "打开日志目录";
|
||||
this.BtnOpenLog.Name = "BtnOpenLog";
|
||||
this.BtnOpenLog.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenLog_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Label = "更新测试版本";
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button1_Click);
|
||||
//
|
||||
// BtnOpenLogger
|
||||
//
|
||||
this.BtnOpenLogger.Label = "打开日志窗口";
|
||||
this.BtnOpenLogger.Name = "BtnOpenLogger";
|
||||
this.BtnOpenLogger.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenLogger_Click);
|
||||
//
|
||||
// BtnTest
|
||||
//
|
||||
this.BtnTest.Label = "获取当前位置";
|
||||
this.BtnTest.Name = "BtnTest";
|
||||
this.BtnTest.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnTest_Click);
|
||||
//
|
||||
// BtnOpenAppDir
|
||||
//
|
||||
this.BtnOpenAppDir.Label = "打开插件目录";
|
||||
this.BtnOpenAppDir.Name = "BtnOpenAppDir";
|
||||
this.BtnOpenAppDir.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnOpenAppDir_Click);
|
||||
//
|
||||
// BtnShowVersion
|
||||
//
|
||||
this.BtnShowVersion.Label = "版本查看";
|
||||
this.BtnShowVersion.Name = "BtnShowVersion";
|
||||
this.BtnShowVersion.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnShowVersion_Click);
|
||||
//
|
||||
// dropDown1
|
||||
//
|
||||
ribbonDropDownItemImpl1.Label = "开发";
|
||||
ribbonDropDownItemImpl2.Label = "测试";
|
||||
ribbonDropDownItemImpl3.Label = "生产";
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl1);
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl2);
|
||||
this.dropDown1.Items.Add(ribbonDropDownItemImpl3);
|
||||
this.dropDown1.Label = "环境";
|
||||
this.dropDown1.Name = "dropDown1";
|
||||
//
|
||||
// Ribbon1
|
||||
//
|
||||
|
@ -84,20 +84,24 @@ namespace AIProofread
|
||||
BtnProofreadAll.Image = Resources.icon_proofread_wps;
|
||||
menuProofreadList.Image = Resources.icon_proofread_wps;
|
||||
btnClear.Image = Resources.icon_clear_wps;
|
||||
btnOpenLexicon.Image = Resources.icon_book_wps;
|
||||
btnSetting.Image = Resources.icon_setting_wps;
|
||||
// 词库
|
||||
//btnOpenLexicon.Image = Resources.icon_book_wps;
|
||||
// 设置
|
||||
//btnSetting.Image = Resources.icon_setting_wps;
|
||||
// 客服
|
||||
BtnGetContact.Image = Resources.icon_phone_wps;
|
||||
|
||||
BtnUpdate.Image = Resources.icon_update_wps;
|
||||
btnLogin.Image = Resources.icon_user_wps;
|
||||
menuSencenDect.Image = Resources.icon_ai_robot_wps;
|
||||
//menuSencenDect.Image = Resources.icon_ai_robot_wps;
|
||||
btnLogout.Image = Resources.icon_logout_wps;
|
||||
// 缓存相关
|
||||
ButtonLoadCache.Image = Resources.icon_refresh_wps;
|
||||
ButtonSaveCache.Image = Resources.icon_save_wps;
|
||||
//ButtonLoadCache.Image = Resources.icon_refresh_wps;
|
||||
//ButtonSaveCache.Image = Resources.icon_save_wps;
|
||||
// 显示面板
|
||||
BtnShowPanel.Image = Resources.icon_panel_wps;
|
||||
// 导出校对结果
|
||||
BtnExportProofreadResult.Image = Resources.icon_export_wps;
|
||||
//BtnExportProofreadResult.Image = Resources.icon_export_wps;
|
||||
BtnShowManual.Image = Resources.icon_manual_wps;
|
||||
// 股市查询
|
||||
BtnQueryStock.Image = Resources.icon_stock_wps;
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user