using System; namespace AIProofread { partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; public Ribbon1() : base(Globals.Factory.GetRibbonFactory()) { InitializeComponent(); } /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.tabAIProofread = this.Factory.CreateRibbonTab(); this.group1 = this.Factory.CreateRibbonGroup(); this.BtnProofreadAll = this.Factory.CreateRibbonButton(); this.btnClear = this.Factory.CreateRibbonButton(); this.btnOpenLexicon = 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.LblNickname = this.Factory.CreateRibbonLabel(); this.LblDate = this.Factory.CreateRibbonLabel(); 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.tabAIProofread.SuspendLayout(); this.group1.SuspendLayout(); this.grpDebug.SuspendLayout(); this.SuspendLayout(); // // tabAIProofread // this.tabAIProofread.Groups.Add(this.group1); this.tabAIProofread.Groups.Add(this.grpDebug); this.tabAIProofread.Label = "AI校对王"; this.tabAIProofread.Name = "tabAIProofread"; this.tabAIProofread.Position = this.Factory.RibbonPosition.AfterOfficeId("TabHelp"); // // group1 // this.group1.Items.Add(this.BtnProofreadAll); this.group1.Items.Add(this.btnClear); this.group1.Items.Add(this.btnOpenLexicon); this.group1.Items.Add(this.btnSetting); this.group1.Items.Add(this.BtnGetContact); this.group1.Items.Add(this.BtnUpdate); this.group1.Items.Add(this.btnLogin); this.group1.Items.Add(this.btnLogout); this.group1.Items.Add(this.LblNickname); this.group1.Items.Add(this.LblDate); this.group1.Name = "group1"; // // BtnProofreadAll // this.BtnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.BtnProofreadAll.Image = global::AIProofread.Properties.Resources.icon_proofread; this.BtnProofreadAll.Label = "全文校对\n"; this.BtnProofreadAll.Name = "BtnProofreadAll"; this.BtnProofreadAll.ShowImage = true; this.BtnProofreadAll.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnProofreadAll_Click); // // btnClear // this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnClear.Image = global::AIProofread.Properties.Resources.icon_clear; this.btnClear.Label = "清除标注\n"; this.btnClear.Name = "btnClear"; this.btnClear.ShowImage = true; this.btnClear.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnClear_Click); // // btnOpenLexicon // this.btnOpenLexicon.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnOpenLexicon.Image = global::AIProofread.Properties.Resources.icon_book; this.btnOpenLexicon.Label = "词库管理\n"; this.btnOpenLexicon.Name = "btnOpenLexicon"; this.btnOpenLexicon.ShowImage = true; this.btnOpenLexicon.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnOpenLexicon_Click); // // btnSetting // this.btnSetting.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnSetting.Image = global::AIProofread.Properties.Resources.icon_setting; this.btnSetting.Label = "插件设置\n"; this.btnSetting.Name = "btnSetting"; this.btnSetting.ShowImage = true; this.btnSetting.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSetting_Click); // // BtnGetContact // this.BtnGetContact.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.BtnGetContact.Image = global::AIProofread.Properties.Resources.icon_phone; this.BtnGetContact.Label = "联系客服\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 = "版本更新\n"; this.BtnUpdate.Name = "BtnUpdate"; this.BtnUpdate.ShowImage = true; this.BtnUpdate.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BtnUpdate_Click); // // btnLogin // this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnLogin.Image = global::AIProofread.Properties.Resources.icon_user; this.btnLogin.Label = "用户登录\n"; this.btnLogin.Name = "btnLogin"; this.btnLogin.ShowImage = true; this.btnLogin.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogin_Click); // // btnLogout // this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnLogout.Image = global::AIProofread.Properties.Resources.icon_logout; this.btnLogout.Label = "退出登录\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); // // LblNickname // this.LblNickname.Label = "xxx 已登录"; this.LblNickname.Name = "LblNickname"; this.LblNickname.Visible = false; // // LblDate // this.LblDate.Label = "过期时间:"; this.LblDate.Name = "LblDate"; this.LblDate.Visible = false; // // 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.Label = "开发调试"; this.grpDebug.Name = "grpDebug"; this.grpDebug.Visible = false; // // 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); // // 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.grpDebug.ResumeLayout(false); this.grpDebug.PerformLayout(); this.ResumeLayout(false); } #endregion internal Microsoft.Office.Tools.Ribbon.RibbonTab tabAIProofread; internal Microsoft.Office.Tools.Ribbon.RibbonGroup group1; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnLogout; internal Microsoft.Office.Tools.Ribbon.RibbonLabel LblNickname; internal Microsoft.Office.Tools.Ribbon.RibbonLabel LblDate; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnLogin; internal Microsoft.Office.Tools.Ribbon.RibbonButton BtnProofreadAll; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnClear; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnOpenLexicon; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnSetting; internal Microsoft.Office.Tools.Ribbon.RibbonButton BtnGetContact; internal Microsoft.Office.Tools.Ribbon.RibbonButton BtnUpdate; internal Microsoft.Office.Tools.Ribbon.RibbonGroup grpDebug; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnShowPane; internal Microsoft.Office.Tools.Ribbon.RibbonButton btnHidePane; internal Microsoft.Office.Tools.Ribbon.RibbonButton BtnOpenLog; internal Microsoft.Office.Tools.Ribbon.RibbonButton button1; } partial class ThisRibbonCollection { internal Ribbon1 Ribbon1 { get { return this.GetRibbon(); } } } }