Click here to Skip to main content
15,894,291 members
Articles / Programming Languages / C#

Outlook 2003 Style Navigation Pane

Rate me:
Please Sign up or sign in to vote.
4.82/5 (100 votes)
8 Nov 2007CPOL5 min read 557.5K   20.2K   389  
Outlook 2003 Style Navigation Pane (Almost 2007 Style)
namespace NavigationPaneDemo
{
    partial class MailTree
    {
        /// <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()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MailTree));
            this.treeMailBox = new System.Windows.Forms.TreeView();
            this.ImageList = new System.Windows.Forms.ImageList(this.components);
            this.SuspendLayout();
            // 
            // treeMailBox
            // 
            this.treeMailBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeMailBox.ImageIndex = 0;
            this.treeMailBox.ImageList = this.ImageList;
            this.treeMailBox.Location = new System.Drawing.Point(0, 0);
            this.treeMailBox.Name = "treeMailBox";
            this.treeMailBox.SelectedImageIndex = 0;
            this.treeMailBox.ShowRootLines = false;
            this.treeMailBox.Size = new System.Drawing.Size(227, 234);
            this.treeMailBox.TabIndex = 0;
            // 
            // ImageList
            // 
            this.ImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList.ImageStream")));
            this.ImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.ImageList.Images.SetKeyName(0, "Drafts.bmp");
            this.ImageList.Images.SetKeyName(1, "Outbox.bmp");
            this.ImageList.Images.SetKeyName(2, "Recycle.bmp");
            this.ImageList.Images.SetKeyName(3, "Send.bmp");
            // 
            // MailTree
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.treeMailBox);
            this.Name = "MailTree";
            this.Size = new System.Drawing.Size(227, 234);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TreeView treeMailBox;
        private System.Windows.Forms.ImageList ImageList;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions