94 lines
3.1 KiB
C#
94 lines
3.1 KiB
C#
namespace KellyReport_D
|
||
{
|
||
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.groupName = this.Factory.CreateRibbonGroup();
|
||
this.button1 = this.Factory.CreateRibbonButton();
|
||
this.tab1.SuspendLayout();
|
||
this.groupName.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// tab1
|
||
//
|
||
this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
|
||
this.tab1.Groups.Add(this.groupName);
|
||
this.tab1.Label = "TabAddIns";
|
||
this.tab1.Name = "tab1";
|
||
//
|
||
// groupName
|
||
//
|
||
this.groupName.Items.Add(this.button1);
|
||
this.groupName.Name = "groupName";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
||
this.button1.Image = global::KellyReport_D.Properties.Resources.icon_32;
|
||
this.button1.Label = "";
|
||
this.button1.Name = "button1";
|
||
this.button1.ShowImage = true;
|
||
this.button1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button1_Click);
|
||
//
|
||
// Ribbon1
|
||
//
|
||
this.Name = "Ribbon1";
|
||
this.RibbonType = "Microsoft.Excel.Workbook";
|
||
this.Tabs.Add(this.tab1);
|
||
this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load);
|
||
this.tab1.ResumeLayout(false);
|
||
this.tab1.PerformLayout();
|
||
this.groupName.ResumeLayout(false);
|
||
this.groupName.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonGroup groupName;
|
||
internal Microsoft.Office.Tools.Ribbon.RibbonButton button1;
|
||
}
|
||
|
||
partial class ThisRibbonCollection
|
||
{
|
||
internal Ribbon1 Ribbon1
|
||
{
|
||
get { return this.GetRibbon<Ribbon1>(); }
|
||
}
|
||
}
|
||
}
|