Click here to Skip to main content
15,895,777 members
Articles / Programming Languages / C#

What can be simpler than graphical primitives? Part 3

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
8 Apr 2013CPOL43 min read 23.9K   560   32  
namespace GraphicalPrimitives
{
    partial class Form_Pies
    {
        /// <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 Windows Form 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 ();
            this .btnCovers = new System .Windows .Forms .Button ();
            this .numericUD_Slices = new System .Windows .Forms .NumericUpDown ();
            this .btnAdd = new System .Windows .Forms .Button ();
            this .menuOnPies = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miPutOnTop = new System .Windows .Forms .ToolStripMenuItem ();
            this .miOneLevelUp = new System .Windows .Forms .ToolStripMenuItem ();
            this .miOneLevelDown = new System .Windows .Forms .ToolStripMenuItem ();
            this .miPutUnderneath = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator8 = new System .Windows .Forms .ToolStripSeparator ();
            this .miDuplicate = new System .Windows .Forms .ToolStripMenuItem ();
            this .miDelete = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator1 = new System .Windows .Forms .ToolStripSeparator ();
            this .miColor = new System .Windows .Forms .ToolStripMenuItem ();
            this .miSliceRadiusEqualNeighbour = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator2 = new System .Windows .Forms .ToolStripSeparator ();
            this .miPieAsCircle = new System .Windows .Forms .ToolStripMenuItem ();
            this .menuOnInfo = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miInfoFont = new System .Windows .Forms .ToolStripMenuItem ();
            this .miInfoTextColor = new System .Windows .Forms .ToolStripMenuItem ();
            this .miInfoBackColor = new System .Windows .Forms .ToolStripMenuItem ();
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_Slices)) .BeginInit ();
            this .menuOnPies .SuspendLayout ();
            this .menuOnInfo .SuspendLayout ();
            this .SuspendLayout ();
            // 
            // btnCovers
            // 
            this .btnCovers .Image = global::GraphicalPrimitives .Properties .Resources .Covers;
            this .btnCovers .Location = new System .Drawing .Point (12, 12);
            this .btnCovers .Name = "btnCovers";
            this .btnCovers .Size = new System .Drawing .Size (28, 28);
            this .btnCovers .TabIndex = 27;
            this .btnCovers .UseVisualStyleBackColor = true;
            this .btnCovers .Click += new System .EventHandler (this .Click_btnCovers);
            // 
            // numericUD_Slices
            // 
            this .numericUD_Slices .Location = new System .Drawing .Point (31, 74);
            this .numericUD_Slices .Maximum = new decimal (new int [] {
            12,
            0,
            0,
            0});
            this .numericUD_Slices .MaximumSize = new System .Drawing .Size (80, 0);
            this .numericUD_Slices .Minimum = new decimal (new int [] {
            3,
            0,
            0,
            0});
            this .numericUD_Slices .MinimumSize = new System .Drawing .Size (40, 0);
            this .numericUD_Slices .Name = "numericUD_Slices";
            this .numericUD_Slices .Size = new System .Drawing .Size (46, 22);
            this .numericUD_Slices .TabIndex = 36;
            this .numericUD_Slices .TextAlign = System .Windows .Forms .HorizontalAlignment .Center;
            this .numericUD_Slices .Value = new decimal (new int [] {
            3,
            0,
            0,
            0});
            // 
            // btnAdd
            // 
            this .btnAdd .Location = new System .Drawing .Point (31, 106);
            this .btnAdd .MaximumSize = new System .Drawing .Size (200, 200);
            this .btnAdd .MinimumSize = new System .Drawing .Size (20, 20);
            this .btnAdd .Name = "btnAdd";
            this .btnAdd .Size = new System .Drawing .Size (100, 28);
            this .btnAdd .TabIndex = 37;
            this .btnAdd .Text = "Add";
            this .btnAdd .UseVisualStyleBackColor = true;
            this .btnAdd .Click += new System .EventHandler (this .Click_btnAdd);
            // 
            // menuOnPies
            // 
            this .menuOnPies .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miPutOnTop,
            this.miOneLevelUp,
            this.miOneLevelDown,
            this.miPutUnderneath,
            this.toolStripSeparator8,
            this.miDuplicate,
            this.miDelete,
            this.toolStripSeparator1,
            this.miColor,
            this.miSliceRadiusEqualNeighbour,
            this.toolStripSeparator2,
            this.miPieAsCircle});
            this .menuOnPies .Name = "menuOnTriangles";
            this .menuOnPies .ShowImageMargin = false;
            this .menuOnPies .Size = new System .Drawing .Size (262, 220);
            this .menuOnPies .Opening += new System .ComponentModel .CancelEventHandler (this .Opening_menuOnPies);
            // 
            // miPutOnTop
            // 
            this .miPutOnTop .Name = "miPutOnTop";
            this .miPutOnTop .Size = new System .Drawing .Size (261, 22);
            this .miPutOnTop .Text = "Put on top";
            this .miPutOnTop .Click += new System .EventHandler (this .Click_miPutOnTop);
            // 
            // miOneLevelUp
            // 
            this .miOneLevelUp .Name = "miOneLevelUp";
            this .miOneLevelUp .Size = new System .Drawing .Size (261, 22);
            this .miOneLevelUp .Text = "Move one level up";
            this .miOneLevelUp .Click += new System .EventHandler (this .Click_miOneLevelUp);
            // 
            // miOneLevelDown
            // 
            this .miOneLevelDown .Name = "miOneLevelDown";
            this .miOneLevelDown .Size = new System .Drawing .Size (261, 22);
            this .miOneLevelDown .Text = "Move one level down";
            this .miOneLevelDown .Click += new System .EventHandler (this .Click_miOneLevelDown);
            // 
            // miPutUnderneath
            // 
            this .miPutUnderneath .Name = "miPutUnderneath";
            this .miPutUnderneath .Size = new System .Drawing .Size (261, 22);
            this .miPutUnderneath .Text = "Put underneath";
            this .miPutUnderneath .Click += new System .EventHandler (this .Click_miPutUnderneath);
            // 
            // toolStripSeparator8
            // 
            this .toolStripSeparator8 .Name = "toolStripSeparator8";
            this .toolStripSeparator8 .Size = new System .Drawing .Size (258, 6);
            // 
            // miDuplicate
            // 
            this .miDuplicate .Name = "miDuplicate";
            this .miDuplicate .Size = new System .Drawing .Size (261, 22);
            this .miDuplicate .Text = "Duplicate (pie)";
            this .miDuplicate .Click += new System .EventHandler (this .Click_miDuplicate);
            // 
            // miDelete
            // 
            this .miDelete .Name = "miDelete";
            this .miDelete .Size = new System .Drawing .Size (261, 22);
            this .miDelete .Text = "Delete (pie)";
            this .miDelete .Click += new System .EventHandler (this .Click_miDelete);
            // 
            // toolStripSeparator1
            // 
            this .toolStripSeparator1 .Name = "toolStripSeparator1";
            this .toolStripSeparator1 .Size = new System .Drawing .Size (258, 6);
            // 
            // miColor
            // 
            this .miColor .Name = "miColor";
            this .miColor .Size = new System .Drawing .Size (261, 22);
            this .miColor .Text = "Color (slice)...";
            this .miColor .Click += new System .EventHandler (this .Click_miColor);
            // 
            // miSliceRadiusEqualNeighbour
            // 
            this .miSliceRadiusEqualNeighbour .Name = "miSliceRadiusEqualNeighbour";
            this .miSliceRadiusEqualNeighbour .Size = new System .Drawing .Size (261, 22);
            this .miSliceRadiusEqualNeighbour .Text = "Slice radius equal to neighbour";
            this .miSliceRadiusEqualNeighbour .Click += new System .EventHandler (this .Click_miEqualRadius);
            // 
            // toolStripSeparator2
            // 
            this .toolStripSeparator2 .Name = "toolStripSeparator2";
            this .toolStripSeparator2 .Size = new System .Drawing .Size (258, 6);
            // 
            // miPieAsCircle
            // 
            this .miPieAsCircle .Name = "miPieAsCircle";
            this .miPieAsCircle .Size = new System .Drawing .Size (261, 22);
            this .miPieAsCircle .Text = "Pie as circle";
            this .miPieAsCircle .Click += new System .EventHandler (this .Click_miSlicesIntoCircle);
            // 
            // menuOnInfo
            // 
            this .menuOnInfo .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miInfoFont,
            this.miInfoTextColor,
            this.miInfoBackColor});
            this .menuOnInfo .Name = "menuOnInfo";
            this .menuOnInfo .ShowImageMargin = false;
            this .menuOnInfo .Size = new System .Drawing .Size (148, 70);
            // 
            // miInfoFont
            // 
            this .miInfoFont .Name = "miInfoFont";
            this .miInfoFont .Size = new System .Drawing .Size (147, 22);
            this .miInfoFont .Text = "Font...";
            this .miInfoFont .Click += new System .EventHandler (this .Click_miInfoFont);
            // 
            // miInfoTextColor
            // 
            this .miInfoTextColor .Name = "miInfoTextColor";
            this .miInfoTextColor .Size = new System .Drawing .Size (147, 22);
            this .miInfoTextColor .Text = "Text color...";
            this .miInfoTextColor .Click += new System .EventHandler (this .Click_miInfoTextColor);
            // 
            // miInfoBackColor
            // 
            this .miInfoBackColor .Name = "miInfoBackColor";
            this .miInfoBackColor .Size = new System .Drawing .Size (147, 22);
            this .miInfoBackColor .Text = "Back color...";
            this .miInfoBackColor .Click += new System .EventHandler (this .Click_miInfoBackColor);
            // 
            // Form_Pies
            // 
            this .AutoScaleDimensions = new System .Drawing .SizeF (8F, 16F);
            this .AutoScaleMode = System .Windows .Forms .AutoScaleMode .Font;
            this .ClientSize = new System .Drawing .Size (818, 626);
            this .Controls .Add (this .btnAdd);
            this .Controls .Add (this .numericUD_Slices);
            this .Controls .Add (this .btnCovers);
            this .DoubleBuffered = true;
            this .MaximizeBox = false;
            this .MinimizeBox = false;
            this .Name = "Form_Pies";
            this .ShowIcon = false;
            this .Text = "Pies";
            this .Load += new System .EventHandler (this .OnLoad);
            this .MouseUp += new System .Windows .Forms .MouseEventHandler (this .OnMouseUp);
            this .Paint += new System .Windows .Forms .PaintEventHandler (this .OnPaint);
            this .ContextMenuStripChanged += new System .EventHandler (this .OnContextMenuChanged);
            this .MouseDown += new System .Windows .Forms .MouseEventHandler (this .OnMouseDown);
            this .FormClosing += new System .Windows .Forms .FormClosingEventHandler (this .OnFormClosing);
            this .MouseMove += new System .Windows .Forms .MouseEventHandler (this .OnMouseMove);
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_Slices)) .EndInit ();
            this .menuOnPies .ResumeLayout (false);
            this .menuOnInfo .ResumeLayout (false);
            this .ResumeLayout (false);

        }

        #endregion

        private System .Windows .Forms .Button btnCovers;
        private System .Windows .Forms .NumericUpDown numericUD_Slices;
        private System .Windows .Forms .Button btnAdd;
        private System .Windows .Forms .ContextMenuStrip menuOnPies;
        private System .Windows .Forms .ToolStripMenuItem miPutOnTop;
        private System .Windows .Forms .ToolStripMenuItem miOneLevelUp;
        private System .Windows .Forms .ToolStripMenuItem miOneLevelDown;
        private System .Windows .Forms .ToolStripMenuItem miPutUnderneath;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator8;
        private System .Windows .Forms .ToolStripMenuItem miDuplicate;
        private System .Windows .Forms .ToolStripMenuItem miDelete;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator1;
        private System .Windows .Forms .ToolStripMenuItem miColor;
        private System .Windows .Forms .ToolStripMenuItem miSliceRadiusEqualNeighbour;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator2;
        private System .Windows .Forms .ToolStripMenuItem miPieAsCircle;
        private System .Windows .Forms .ContextMenuStrip menuOnInfo;
        private System .Windows .Forms .ToolStripMenuItem miInfoFont;
        private System .Windows .Forms .ToolStripMenuItem miInfoTextColor;
        private System .Windows .Forms .ToolStripMenuItem miInfoBackColor;
    }
}

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
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