Click here to Skip to main content
15,885,757 members
Articles / Programming Languages / C#

The Code Project Browser Add-in for Visual Studio 2005 and 2008

Rate me:
Please Sign up or sign in to vote.
4.90/5 (108 votes)
27 Mar 2008CPOL9 min read 316.3K   4.9K   296  
An add-in for browsing, downloading and managing CodeProject samples directly in Visual Studio
//  Copyright (c) 2007, SlickEdit, Inc
//  Email:  info@slickedit.com
//  All rights reserved.
//
//  Redistribution and use in source and binary forms, with or without modification, 
//  are permitted provided that the following conditions are met:
//
//  Redistributions of source code must retain the above copyright notice, 
//  this list of conditions and the following disclaimer. 
//  Redistributions in binary form must reproduce the above copyright notice, 
//  this list of conditions and the following disclaimer in the documentation 
//  and/or other materials provided with the distribution. 
//
//  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. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER 
//  REMAINS UNCHANGED.

namespace CPBrowser
{
    partial class ProjectTreeView
    {
        /// <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(ProjectTreeView));
            this.ProjectTreeCtl = new System.Windows.Forms.TreeView();
            this.ContextMenuCtl = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.MenuGoToArticle = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuOpenSeperateBrowser = new System.Windows.Forms.ToolStripMenuItem();
            this.MenuBrowseDirectory = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.MenuDelete = new System.Windows.Forms.ToolStripMenuItem();
            this.ImageListCtl = new System.Windows.Forms.ImageList(this.components);
            this.label1 = new System.Windows.Forms.Label();
            this.CloseButtonCtl = new CPBrowser.CloseButton();
            this.ContextMenuCtl.SuspendLayout();
            this.SuspendLayout();
            // 
            // ProjectTreeCtl
            // 
            this.ProjectTreeCtl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.ProjectTreeCtl.ContextMenuStrip = this.ContextMenuCtl;
            this.ProjectTreeCtl.HideSelection = false;
            this.ProjectTreeCtl.ImageIndex = 0;
            this.ProjectTreeCtl.ImageList = this.ImageListCtl;
            this.ProjectTreeCtl.Location = new System.Drawing.Point(0, 20);
            this.ProjectTreeCtl.Name = "ProjectTreeCtl";
            this.ProjectTreeCtl.SelectedImageIndex = 0;
            this.ProjectTreeCtl.Size = new System.Drawing.Size(219, 216);
            this.ProjectTreeCtl.TabIndex = 0;
            this.ProjectTreeCtl.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.ProjectTreeCtl_NodeMouseDoubleClick);
            this.ProjectTreeCtl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ProjectTreeCtl_MouseDown);
            this.ProjectTreeCtl.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ProjectTreeCtl_KeyUp);
            // 
            // ContextMenuCtl
            // 
            this.ContextMenuCtl.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.MenuGoToArticle,
            this.MenuOpenSeperateBrowser,
            this.MenuBrowseDirectory,
            this.toolStripSeparator1,
            this.MenuDelete});
            this.ContextMenuCtl.Name = "ContextMenuCtl";
            this.ContextMenuCtl.Size = new System.Drawing.Size(243, 98);
            this.ContextMenuCtl.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuCtl_Opening);
            // 
            // MenuGoToArticle
            // 
            this.MenuGoToArticle.Image = global::CPBrowser.CommandBar.PublishPlanHS;
            this.MenuGoToArticle.Name = "MenuGoToArticle";
            this.MenuGoToArticle.Size = new System.Drawing.Size(242, 22);
            this.MenuGoToArticle.Text = "&Go to article";
            this.MenuGoToArticle.Click += new System.EventHandler(this.MenuGoToArticle_Click);
            // 
            // MenuOpenSeperateBrowser
            // 
            this.MenuOpenSeperateBrowser.Image = global::CPBrowser.CommandBar.PublishToWebHS;
            this.MenuOpenSeperateBrowser.Name = "MenuOpenSeperateBrowser";
            this.MenuOpenSeperateBrowser.Size = new System.Drawing.Size(242, 22);
            this.MenuOpenSeperateBrowser.Text = "&Open article in seperate browser";
            this.MenuOpenSeperateBrowser.Click += new System.EventHandler(this.MenuOpenSeperateBrowser_Click);
            // 
            // MenuBrowseDirectory
            // 
            this.MenuBrowseDirectory.Image = global::CPBrowser.CommandBar.openfolderHS;
            this.MenuBrowseDirectory.Name = "MenuBrowseDirectory";
            this.MenuBrowseDirectory.Size = new System.Drawing.Size(242, 22);
            this.MenuBrowseDirectory.Text = "&Browse directory";
            this.MenuBrowseDirectory.Click += new System.EventHandler(this.MenuBrowseDirectory_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(239, 6);
            // 
            // MenuDelete
            // 
            this.MenuDelete.Image = global::CPBrowser.CommandBar.DeleteHS;
            this.MenuDelete.Name = "MenuDelete";
            this.MenuDelete.Size = new System.Drawing.Size(242, 22);
            this.MenuDelete.Text = "&Delete";
            this.MenuDelete.Click += new System.EventHandler(this.MenuDelete_Click);
            // 
            // ImageListCtl
            // 
            this.ImageListCtl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageListCtl.ImageStream")));
            this.ImageListCtl.TransparentColor = System.Drawing.Color.Transparent;
            this.ImageListCtl.Images.SetKeyName(0, "Folder");
            this.ImageListCtl.Images.SetKeyName(1, "File");
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location = new System.Drawing.Point(2, 4);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(127, 13);
            this.label1.TabIndex = 4;
            this.label1.Text = "Downloaded Projects";
            // 
            // CloseButtonCtl
            // 
            this.CloseButtonCtl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.CloseButtonCtl.Location = new System.Drawing.Point(201, 4);
            this.CloseButtonCtl.Name = "CloseButtonCtl";
            this.CloseButtonCtl.Size = new System.Drawing.Size(14, 14);
            this.CloseButtonCtl.TabIndex = 3;
            this.CloseButtonCtl.Click += new System.EventHandler(this.CloseButtonCtl_Click);
            // 
            // ProjectTreeView
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.label1);
            this.Controls.Add(this.CloseButtonCtl);
            this.Controls.Add(this.ProjectTreeCtl);
            this.Name = "ProjectTreeView";
            this.Size = new System.Drawing.Size(219, 236);
            this.ContextMenuCtl.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TreeView ProjectTreeCtl;
        private System.Windows.Forms.ImageList ImageListCtl;
        private System.Windows.Forms.Label label1;
        private CloseButton CloseButtonCtl;
        private System.Windows.Forms.ContextMenuStrip ContextMenuCtl;
        private System.Windows.Forms.ToolStripMenuItem MenuGoToArticle;
        private System.Windows.Forms.ToolStripMenuItem MenuDelete;
        private System.Windows.Forms.ToolStripMenuItem MenuBrowseDirectory;
        private System.Windows.Forms.ToolStripMenuItem MenuOpenSeperateBrowser;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
    }
}

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
Web Developer
United States United States
SlickEdit Inc. provides software developers with multi-language development tools and the most advanced code editors available. Power programmers, from Fortune 500 companies to individuals, have chosen SlickEdit as their development tool of choice for over 19 years. Proven on Windows, Linux, UNIX, and Mac OS X platforms, SlickEdit products enable even the most accomplished developers to write more code faster, and more accurately. For more information about SlickEdit and free trial downloads, please visit http://www.slickedit.com.
This is a Organisation

1 members

Comments and Discussions