UI Manager Sample for .NET 4.0

This sample demonstrates how to customize the user interface (UI) of Microsoft Office Outlook 2007 by implementing extensibility interfaces in an add-in. This sample uses extensibility interfaces to create a Ribbon customization, a custom task pane, and a custom form region.

 
 
 
 
 
4 Star
(2)
6,210 times
Add to favorites
2/19/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
VB.NET
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.

namespace UiManagerOutlookAddIn
{
    partial class SimpleControl
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <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()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SimpleControl));
            this._coffeePicture = new System.Windows.Forms.PictureBox();
            this._coffeeList = new System.Windows.Forms.ListBox();
            this._coffeeGroup = new System.Windows.Forms.GroupBox();
            this._closeCoffeeList = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this._coffeePicture)).BeginInit();
            this._coffeeGroup.SuspendLayout();
            this.SuspendLayout();
            // 
            // _coffeePicture
            // 
            this._coffeePicture.Image = global::UiManagerOutlookAddIn.Properties.Resources.espressoCup_tall;
            resources.ApplyResources(this._coffeePicture, "_coffeePicture");
            this._coffeePicture.Name = "_coffeePicture";
            this._coffeePicture.TabStop = false;
            // 
            // _coffeeList
            // 
            resources.ApplyResources(this._coffeeList, "_coffeeList");
            this._coffeeList.FormattingEnabled = true;
            this._coffeeList.Name = "_coffeeList";
            // 
            // _coffeeGroup
            // 
            this._coffeeGroup.Controls.Add(this._closeCoffeeList);
            this._coffeeGroup.Controls.Add(this._coffeeList);
            this._coffeeGroup.ForeColor = System.Drawing.SystemColors.ControlLightLight;
            resources.ApplyResources(this._coffeeGroup, "_coffeeGroup");
            this._coffeeGroup.Name = "_coffeeGroup";
            this._coffeeGroup.TabStop = false;
            // 
            // _closeCoffeeList
            // 
            this._closeCoffeeList.ForeColor = System.Drawing.SystemColors.ControlText;
            resources.ApplyResources(this._closeCoffeeList, "_closeCoffeeList");
            this._closeCoffeeList.Name = "_closeCoffeeList";
            this._closeCoffeeList.UseVisualStyleBackColor = true;
            this._closeCoffeeList.Click += new System.EventHandler(this.closeCoffeeList_Click);
            // 
            // SimpleControl
            // 
            resources.ApplyResources(this, "$this");
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.ControlText;
            this.Controls.Add(this._coffeeGroup);
            this.Controls.Add(this._coffeePicture);
            this.Name = "SimpleControl";
            ((System.ComponentModel.ISupportInitialize)(this._coffeePicture)).EndInit();
            this._coffeeGroup.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.PictureBox _coffeePicture;
        internal System.Windows.Forms.ListBox _coffeeList;
        internal System.Windows.Forms.GroupBox _coffeeGroup;
        internal System.Windows.Forms.Button _closeCoffeeList;

    }
}