Click here to Skip to main content
15,891,777 members
Articles / Programming Languages / C++

What can be simpler than graphical primitives? Part 1

Rate me:
Please Sign up or sign in to vote.
4.96/5 (8 votes)
5 Mar 2013CPOL24 min read 24.7K   503   27  
This article is about the moving and resizing of different graphical primitives.
namespace GraphicalPrimitives
{
    partial class Form_StraightSegment_ArbitraryAngle
    {
        /// <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 .SuspendLayout ();
            // 
            // Form_StraightSegment_ArbitraryAngle
            // 
            this .AutoScaleDimensions = new System .Drawing .SizeF (8F, 16F);
            this .AutoScaleMode = System .Windows .Forms .AutoScaleMode .Font;
            this .ClientSize = new System .Drawing .Size (742, 556);
            this .DoubleBuffered = true;
            this .MaximizeBox = false;
            this .MinimizeBox = false;
            this .Name = "Form_StraightSegment_ArbitraryAngle";
            this .ShowIcon = false;
            this .Text = "Segments with arbitrary movable end points";
            this .Load += new System .EventHandler (this .OnLoad);
            this .MouseUp += new System .Windows .Forms .MouseEventHandler (this .OnMouseUp);
            this .MouseDoubleClick += new System .Windows .Forms .MouseEventHandler (this .OnMouseDoubleClick);
            this .Paint += new System .Windows .Forms .PaintEventHandler (this .OnPaint);
            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);
            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
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