92 lines
3.3 KiB
C#
92 lines
3.3 KiB
C#
namespace Outlook2013TodoAddIn
|
|
{
|
|
partial class TodoRibbonAddIn : Microsoft.Office.Tools.Ribbon.RibbonBase
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
public TodoRibbonAddIn()
|
|
: base(Globals.Factory.GetRibbonFactory())
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.tab1 = this.Factory.CreateRibbonTab();
|
|
this.group1 = this.Factory.CreateRibbonGroup();
|
|
this.toggleButton1 = this.Factory.CreateRibbonToggleButton();
|
|
this.tab1.SuspendLayout();
|
|
this.group1.SuspendLayout();
|
|
//
|
|
// tab1
|
|
//
|
|
this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
|
|
this.tab1.Groups.Add(this.group1);
|
|
this.tab1.Label = "TabAddIns";
|
|
this.tab1.Name = "tab1";
|
|
//
|
|
// group1
|
|
//
|
|
this.group1.Items.Add(this.toggleButton1);
|
|
this.group1.Label = "To-Do AddIn";
|
|
this.group1.Name = "group1";
|
|
//
|
|
// toggleButton1
|
|
//
|
|
this.toggleButton1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
|
|
this.toggleButton1.Image = global::Outlook2013TodoAddIn.Properties.Resources.todoIcon;
|
|
this.toggleButton1.Label = "Show To-Do Panel";
|
|
this.toggleButton1.Name = "toggleButton1";
|
|
this.toggleButton1.ShowImage = true;
|
|
this.toggleButton1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.toggleButton1_Click);
|
|
//
|
|
// TodoRibbonAddIn
|
|
//
|
|
this.Name = "TodoRibbonAddIn";
|
|
this.RibbonType = "Microsoft.Outlook.Explorer";
|
|
this.Tabs.Add(this.tab1);
|
|
this.tab1.ResumeLayout(false);
|
|
this.tab1.PerformLayout();
|
|
this.group1.ResumeLayout(false);
|
|
this.group1.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
|
|
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group1;
|
|
internal Microsoft.Office.Tools.Ribbon.RibbonToggleButton toggleButton1;
|
|
}
|
|
|
|
partial class ThisRibbonCollection
|
|
{
|
|
internal TodoRibbonAddIn TodoRibbonAddIn
|
|
{
|
|
get { return this.GetRibbon<TodoRibbonAddIn>(); }
|
|
}
|
|
}
|
|
}
|