vsto-demo/TestWordAddIn1/Ribbon1.Designer.cs
2023-12-12 16:53:12 +08:00

162 lines
6.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace TestWordAddIn1
{
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.tab1 = this.Factory.CreateRibbonTab();
this.group1 = this.Factory.CreateRibbonGroup();
this.button1 = this.Factory.CreateRibbonButton();
this.btnLoadDocument = this.Factory.CreateRibbonButton();
this.button3 = this.Factory.CreateRibbonButton();
this.group2 = this.Factory.CreateRibbonGroup();
this.btnProofread = this.Factory.CreateRibbonButton();
this.btnOpenForm = this.Factory.CreateRibbonButton();
this.button8 = this.Factory.CreateRibbonButton();
this.button6 = this.Factory.CreateRibbonButton();
this.tab1.SuspendLayout();
this.group1.SuspendLayout();
this.group2.SuspendLayout();
this.SuspendLayout();
//
// tab1
//
this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
this.tab1.Groups.Add(this.group1);
this.tab1.Groups.Add(this.group2);
this.tab1.Label = "测试加载项";
this.tab1.Name = "tab1";
//
// group1
//
this.group1.Items.Add(this.button1);
this.group1.Items.Add(this.btnLoadDocument);
this.group1.Items.Add(this.button3);
this.group1.Label = "分组1";
this.group1.Name = "group1";
//
// button1
//
this.button1.Label = "获取当前文本";
this.button1.Name = "button1";
this.button1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button1_Click);
//
// btnLoadDocument
//
this.btnLoadDocument.Label = "加载文档";
this.btnLoadDocument.Name = "btnLoadDocument";
this.btnLoadDocument.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button2_Click);
//
// button3
//
this.button3.Label = "插入";
this.button3.Name = "button3";
this.button3.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button3_Click);
//
// group2
//
this.group2.Items.Add(this.btnProofread);
this.group2.Items.Add(this.btnOpenForm);
this.group2.Items.Add(this.button8);
this.group2.Items.Add(this.button6);
this.group2.Label = "分组2";
this.group2.Name = "group2";
//
// btnProofread
//
this.btnProofread.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnProofread.Image = global::TestWordAddIn1.Properties.Resources.search_proofread;
this.btnProofread.Label = "开始校验";
this.btnProofread.Name = "btnProofread";
this.btnProofread.ShowImage = true;
this.btnProofread.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button4_Click);
//
// btnOpenForm
//
this.btnOpenForm.Image = global::TestWordAddIn1.Properties.Resources.favicon;
this.btnOpenForm.Label = "打开原生窗口";
this.btnOpenForm.Name = "btnOpenForm";
this.btnOpenForm.ShowImage = true;
this.btnOpenForm.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnOpenForm_Click);
//
// button8
//
this.button8.Label = "测试3";
this.button8.Name = "button8";
this.button8.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button8_Click);
//
// button6
//
this.button6.Label = "保存文档";
this.button6.Name = "button6";
this.button6.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button6_Click);
//
// Ribbon1
//
this.Name = "Ribbon1";
this.RibbonType = "Microsoft.Word.Document";
this.Tabs.Add(this.tab1);
this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load);
this.tab1.ResumeLayout(false);
this.tab1.PerformLayout();
this.group1.ResumeLayout(false);
this.group1.PerformLayout();
this.group2.ResumeLayout(false);
this.group2.PerformLayout();
this.ResumeLayout(false);
}
#endregion
internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group1;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button1;
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnLoadDocument;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button3;
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group2;
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnProofread;
internal Microsoft.Office.Tools.Ribbon.RibbonButton btnOpenForm;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button8;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button6;
}
partial class ThisRibbonCollection
{
internal Ribbon1 Ribbon1
{
get { return this.GetRibbon<Ribbon1>(); }
}
}
}