229 lines
9.8 KiB
C#
229 lines
9.8 KiB
C#
namespace WordAddInTest2024
|
||
{
|
||
partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
public Ribbon1()
|
||
: base(Globals.Factory.GetRibbonFactory())
|
||
{
|
||
InitializeComponent();
|
||
}
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region 组件设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.tabAIProofread = this.Factory.CreateRibbonTab();
|
||
this.group1 = this.Factory.CreateRibbonGroup();
|
||
this.btnProofreadAll = this.Factory.CreateRibbonButton();
|
||
this.btnProofreadSelect = this.Factory.CreateRibbonButton();
|
||
this.btnClear = this.Factory.CreateRibbonButton();
|
||
this.group3 = this.Factory.CreateRibbonGroup();
|
||
this.btnOpenLexicon = this.Factory.CreateRibbonButton();
|
||
this.group2 = this.Factory.CreateRibbonGroup();
|
||
this.btnSetting = this.Factory.CreateRibbonButton();
|
||
this.gpLogin = this.Factory.CreateRibbonGroup();
|
||
this.btnLogin = this.Factory.CreateRibbonButton();
|
||
this.gpLogout = this.Factory.CreateRibbonGroup();
|
||
this.btnLogout = this.Factory.CreateRibbonButton();
|
||
this.label1 = this.Factory.CreateRibbonLabel();
|
||
this.label2 = this.Factory.CreateRibbonLabel();
|
||
this.label3 = this.Factory.CreateRibbonLabel();
|
||
this.tabAIProofread.SuspendLayout();
|
||
this.group1.SuspendLayout();
|
||
this.group3.SuspendLayout();
|
||
this.group2.SuspendLayout();
|
||
this.gpLogin.SuspendLayout();
|
||
this.gpLogout.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// tabAIProofread
|
||
//
|
||
this.tabAIProofread.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
|
||
this.tabAIProofread.Groups.Add(this.group1);
|
||
this.tabAIProofread.Groups.Add(this.group3);
|
||
this.tabAIProofread.Groups.Add(this.group2);
|
||
this.tabAIProofread.Groups.Add(this.gpLogin);
|
||
this.tabAIProofread.Groups.Add(this.gpLogout);
|
||
this.tabAIProofread.Label = "AI校对王";
|
||
this.tabAIProofread.Name = "tabAIProofread";
|
||
//
|
||
// group1
|
||
//
|
||
this.group1.Items.Add(this.btnProofreadAll);
|
||
this.group1.Items.Add(this.btnProofreadSelect);
|
||
this.group1.Items.Add(this.btnClear);
|
||
this.group1.Name = "group1";
|
||
//
|
||
// btnProofreadAll
|
||
//
|
||
this.btnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnProofreadAll.Image = global::WordAddInTest2024.Properties.Resources.search_proofread;
|
||
this.btnProofreadAll.Label = "全文校对";
|
||
this.btnProofreadAll.Name = "btnProofreadAll";
|
||
this.btnProofreadAll.ShowImage = true;
|
||
//
|
||
// btnProofreadSelect
|
||
//
|
||
this.btnProofreadSelect.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnProofreadSelect.Image = global::WordAddInTest2024.Properties.Resources.selection;
|
||
this.btnProofreadSelect.Label = "全文校对";
|
||
this.btnProofreadSelect.Name = "btnProofreadSelect";
|
||
this.btnProofreadSelect.ShowImage = true;
|
||
//
|
||
// btnClear
|
||
//
|
||
this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnClear.Image = global::WordAddInTest2024.Properties.Resources.clear;
|
||
this.btnClear.Label = "清除标注";
|
||
this.btnClear.Name = "btnClear";
|
||
this.btnClear.ShowImage = true;
|
||
//
|
||
// group3
|
||
//
|
||
this.group3.Items.Add(this.btnOpenLexicon);
|
||
this.group3.Label = "group3";
|
||
this.group3.Name = "group3";
|
||
//
|
||
// btnOpenLexicon
|
||
//
|
||
this.btnOpenLexicon.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnOpenLexicon.Image = global::WordAddInTest2024.Properties.Resources.lexicon;
|
||
this.btnOpenLexicon.Label = "词库管理";
|
||
this.btnOpenLexicon.Name = "btnOpenLexicon";
|
||
this.btnOpenLexicon.ShowImage = true;
|
||
this.btnOpenLexicon.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnOpenLexicon_Click);
|
||
//
|
||
// group2
|
||
//
|
||
this.group2.Items.Add(this.btnSetting);
|
||
this.group2.Label = "group2";
|
||
this.group2.Name = "group2";
|
||
//
|
||
// btnSetting
|
||
//
|
||
this.btnSetting.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnSetting.Image = global::WordAddInTest2024.Properties.Resources.setting;
|
||
this.btnSetting.Label = "插件设置";
|
||
this.btnSetting.Name = "btnSetting";
|
||
this.btnSetting.ShowImage = true;
|
||
//
|
||
// gpLogin
|
||
//
|
||
this.gpLogin.Items.Add(this.btnLogin);
|
||
this.gpLogin.Name = "gpLogin";
|
||
//
|
||
// btnLogin
|
||
//
|
||
this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnLogin.Image = global::WordAddInTest2024.Properties.Resources.user;
|
||
this.btnLogin.Label = "用户登录";
|
||
this.btnLogin.Name = "btnLogin";
|
||
this.btnLogin.ShowImage = true;
|
||
this.btnLogin.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogin_Click);
|
||
//
|
||
// gpLogout
|
||
//
|
||
this.gpLogout.Items.Add(this.btnLogout);
|
||
this.gpLogout.Items.Add(this.label1);
|
||
this.gpLogout.Items.Add(this.label2);
|
||
this.gpLogout.Items.Add(this.label3);
|
||
this.gpLogout.Name = "gpLogout";
|
||
this.gpLogout.Visible = false;
|
||
//
|
||
// btnLogout
|
||
//
|
||
this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.btnLogout.Image = global::WordAddInTest2024.Properties.Resources.logout;
|
||
this.btnLogout.Label = "退出登录";
|
||
this.btnLogout.Name = "btnLogout";
|
||
this.btnLogout.ShowImage = true;
|
||
this.btnLogout.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogout_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.Label = "18982208214已登录";
|
||
this.label1.Name = "label1";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.Label = "企业内测版";
|
||
this.label2.Name = "label2";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.Label = "到期时间:2025-12-31";
|
||
this.label3.Name = "label3";
|
||
//
|
||
// Ribbon1
|
||
//
|
||
this.Name = "Ribbon1";
|
||
this.RibbonType = "Microsoft.Word.Document";
|
||
this.Tabs.Add(this.tabAIProofread);
|
||
this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load);
|
||
this.tabAIProofread.ResumeLayout(false);
|
||
this.tabAIProofread.PerformLayout();
|
||
this.group1.ResumeLayout(false);
|
||
this.group1.PerformLayout();
|
||
this.group3.ResumeLayout(false);
|
||
this.group3.PerformLayout();
|
||
this.group2.ResumeLayout(false);
|
||
this.group2.PerformLayout();
|
||
this.gpLogin.ResumeLayout(false);
|
||
this.gpLogin.PerformLayout();
|
||
this.gpLogout.ResumeLayout(false);
|
||
this.gpLogout.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonTab tabAIProofread;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group1;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup gpLogin;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup gpLogout;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnLogout;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonLabel label1;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonLabel label2;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonLabel label3;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnLogin;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnProofreadAll;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnProofreadSelect;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnClear;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group3;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnOpenLexicon;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group2;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnSetting;
|
||
}
|
||
|
||
partial class ThisRibbonCollection
|
||
{
|
||
internal Ribbon1 Ribbon1
|
||
{
|
||
get { return this.GetRibbon<Ribbon1>(); }
|
||
}
|
||
}
|
||
}
|