Click here to Skip to main content
15,884,353 members
Articles / Programming Languages / C#

Super Context Menu Strip

Rate me:
Please Sign up or sign in to vote.
4.77/5 (51 votes)
5 Oct 2009CPOL2 min read 195.8K   10K   224  
How to build a context menu that displays any group of controls
namespace SuperContextMenu
{
    partial class PopedCotainer
    {

        private System.ComponentModel.IContainer components = null;

        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code
        private void InitializeComponent()
        {
            this.SuspendLayout();
            // 
            // PopedCotainer
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
            this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            this.Margin = new System.Windows.Forms.Padding(0);
            this.Name = "PopedCotainer";
            this.Padding = new System.Windows.Forms.Padding(9);
            this.Size = new System.Drawing.Size(40, 32);
            this.ResumeLayout(false);

        }

        #endregion

    }
}

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
Engineer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions