Click here to Skip to main content
15,881,828 members
Articles / Desktop Programming / Windows Forms

BizDraw framework for .NET

Rate me:
Please Sign up or sign in to vote.
4.80/5 (21 votes)
30 May 20075 min read 127.6K   3.2K   102  
A small framework to design and print documents containing shapes, text, images, bar codes...
namespace BizDraw.Objects.Editors
{
    partial class FrmRectangleEditor
    {
        /// <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.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label7 = new System.Windows.Forms.Label();
            this.nWidth = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.nY = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.nHeight = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.label8 = new System.Windows.Forms.Label();
            this.nX = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.penWidthEditor1 = new BizDraw.Objects.Editors.PenWidthEditor(this.components);
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.colorEditor1 = new BizDraw.Objects.Editors.ColorEditor();
            this.btOk = new System.Windows.Forms.Button();
            this.btCancel = new System.Windows.Forms.Button();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nWidth)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nHeight)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
            this.groupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.penWidthEditor1)).BeginInit();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this.nWidth);
            this.groupBox1.Controls.Add(this.nY);
            this.groupBox1.Controls.Add(this.nHeight);
            this.groupBox1.Controls.Add(this.label8);
            this.groupBox1.Controls.Add(this.nX);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location = new System.Drawing.Point(2, 3);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(311, 67);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Position";
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(177, 41);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(35, 13);
            this.label7.TabIndex = 13;
            this.label7.Text = "Width";
            // 
            // nWidth
            // 
            this.nWidth.Location = new System.Drawing.Point(226, 39);
            this.nWidth.Maximum = new decimal(new int[] {
            1000,
            0,
            0,
            0});
            this.nWidth.Minimum = new decimal(new int[] {
            10000,
            0,
            0,
            -2147483648});
            this.nWidth.Name = "nWidth";
            this.nWidth.Pixels = 0;
            this.nWidth.Size = new System.Drawing.Size(74, 20);
            this.nWidth.TabIndex = 15;
            // 
            // nY
            // 
            this.nY.Location = new System.Drawing.Point(59, 40);
            this.nY.Maximum = new decimal(new int[] {
            1000,
            0,
            0,
            0});
            this.nY.Minimum = new decimal(new int[] {
            10000,
            0,
            0,
            -2147483648});
            this.nY.Name = "nY";
            this.nY.Pixels = 0;
            this.nY.Size = new System.Drawing.Size(74, 20);
            this.nY.TabIndex = 5;
            // 
            // nHeight
            // 
            this.nHeight.Location = new System.Drawing.Point(226, 13);
            this.nHeight.Maximum = new decimal(new int[] {
            1000,
            0,
            0,
            0});
            this.nHeight.Minimum = new decimal(new int[] {
            10000,
            0,
            0,
            -2147483648});
            this.nHeight.Name = "nHeight";
            this.nHeight.Pixels = 0;
            this.nHeight.Size = new System.Drawing.Size(74, 20);
            this.nHeight.TabIndex = 14;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(175, 15);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(38, 13);
            this.label8.TabIndex = 12;
            this.label8.Text = "Height";
            // 
            // nX
            // 
            this.nX.Location = new System.Drawing.Point(59, 14);
            this.nX.Maximum = new decimal(new int[] {
            1000,
            0,
            0,
            0});
            this.nX.Minimum = new decimal(new int[] {
            10000,
            0,
            0,
            -2147483648});
            this.nX.Name = "nX";
            this.nX.Pixels = 0;
            this.nX.Size = new System.Drawing.Size(74, 20);
            this.nX.TabIndex = 4;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(10, 42);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(14, 13);
            this.label2.TabIndex = 1;
            this.label2.Text = "Y";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(10, 16);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(14, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "X";
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.penWidthEditor1);
            this.groupBox2.Controls.Add(this.label6);
            this.groupBox2.Controls.Add(this.label5);
            this.groupBox2.Controls.Add(this.colorEditor1);
            this.groupBox2.Location = new System.Drawing.Point(2, 76);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(311, 53);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Line";
            // 
            // penWidthEditor1
            // 
            this.penWidthEditor1.DecimalPlaces = 2;
            this.penWidthEditor1.Increment = new decimal(new int[] {
            25,
            0,
            0,
            131072});
            this.penWidthEditor1.Location = new System.Drawing.Point(226, 17);
            this.penWidthEditor1.Maximum = new decimal(new int[] {
            6,
            0,
            0,
            0});
            this.penWidthEditor1.Minimum = new decimal(new int[] {
            25,
            0,
            0,
            131072});
            this.penWidthEditor1.Name = "penWidthEditor1";
            this.penWidthEditor1.ReadOnly = true;
            this.penWidthEditor1.Size = new System.Drawing.Size(81, 20);
            this.penWidthEditor1.TabIndex = 3;
            this.penWidthEditor1.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(167, 20);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(35, 13);
            this.label6.TabIndex = 2;
            this.label6.Text = "Width";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(11, 20);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(31, 13);
            this.label5.TabIndex = 1;
            this.label5.Text = "Color";
            // 
            // colorEditor1
            // 
            this.colorEditor1.Color = System.Drawing.SystemColors.Window;
            this.colorEditor1.Location = new System.Drawing.Point(60, 17);
            this.colorEditor1.Name = "colorEditor1";
            this.colorEditor1.Size = new System.Drawing.Size(101, 20);
            this.colorEditor1.TabIndex = 0;
            // 
            // btOk
            // 
            this.btOk.Location = new System.Drawing.Point(194, 135);
            this.btOk.Name = "btOk";
            this.btOk.Size = new System.Drawing.Size(57, 23);
            this.btOk.TabIndex = 2;
            this.btOk.Text = "&Ok";
            this.btOk.UseVisualStyleBackColor = true;
            this.btOk.Click += new System.EventHandler(this.btOk_Click);
            // 
            // btCancel
            // 
            this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btCancel.Location = new System.Drawing.Point(257, 135);
            this.btCancel.Name = "btCancel";
            this.btCancel.Size = new System.Drawing.Size(56, 23);
            this.btCancel.TabIndex = 3;
            this.btCancel.Text = "&Cancel";
            this.btCancel.UseVisualStyleBackColor = true;
            this.btCancel.Click += new System.EventHandler(this.btCancel_Click);
            // 
            // FrmRectangleEditor
            // 
            this.AcceptButton = this.btOk;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btCancel;
            this.ClientSize = new System.Drawing.Size(321, 161);
            this.Controls.Add(this.btCancel);
            this.Controls.Add(this.btOk);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FrmRectangleEditor";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Rectangle";
            this.Load += new System.EventHandler(this.FrmLineEditor_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nWidth)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nHeight)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.penWidthEditor1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox1;
        private MMUpDown nY;
        private MMUpDown nX;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Label label5;
        private ColorEditor colorEditor1;
        private PenWidthEditor penWidthEditor1;
        private System.Windows.Forms.Button btOk;
        private System.Windows.Forms.Button btCancel;
        private MMUpDown nWidth;
        private MMUpDown nHeight;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label8;
    }
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
France France
MCSD Asp.Net certified developer

Comments and Discussions