Click here to Skip to main content
15,881,172 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 FrmTextEditor
    {
        /// <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.label1 = new System.Windows.Forms.Label();
            this.tbPolice = new System.Windows.Forms.TextBox();
            this.lbPolice = new System.Windows.Forms.ListBox();
            this.lbStyles = new System.Windows.Forms.ListBox();
            this.tbStyle = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label9 = new System.Windows.Forms.Label();
            this.cbColumns = new System.Windows.Forms.ComboBox();
            this.label8 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.tbText = new System.Windows.Forms.TextBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.sizeEditor1 = new BizDraw.Objects.Editors.SizeEditor();
            this.cbDirection = new System.Windows.Forms.ComboBox();
            this.label5 = new System.Windows.Forms.Label();
            this.btChangeColor = new System.Windows.Forms.Button();
            this.tbForeColor = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.colorDialog1 = new System.Windows.Forms.ColorDialog();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.cbUnderlined = new System.Windows.Forms.CheckBox();
            this.cbStrikeOut = new System.Windows.Forms.CheckBox();
            this.btOk = new System.Windows.Forms.Button();
            this.btCancel = new System.Windows.Forms.Button();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.label7 = new System.Windows.Forms.Label();
            this.nY = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.label6 = new System.Windows.Forms.Label();
            this.nX = new BizDraw.Objects.Editors.MMUpDown(this.components);
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(5, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(31, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Font";
            // 
            // tbPolice
            // 
            this.tbPolice.Location = new System.Drawing.Point(8, 36);
            this.tbPolice.Name = "tbPolice";
            this.tbPolice.Size = new System.Drawing.Size(197, 21);
            this.tbPolice.TabIndex = 1;
            this.tbPolice.TextChanged += new System.EventHandler(this.tbPolice_TextChanged);
            // 
            // lbPolice
            // 
            this.lbPolice.FormattingEnabled = true;
            this.lbPolice.Location = new System.Drawing.Point(22, 58);
            this.lbPolice.Name = "lbPolice";
            this.lbPolice.Size = new System.Drawing.Size(183, 95);
            this.lbPolice.TabIndex = 2;
            this.lbPolice.SelectedIndexChanged += new System.EventHandler(this.lbPolice_SelectedIndexChanged);
            // 
            // lbStyles
            // 
            this.lbStyles.FormattingEnabled = true;
            this.lbStyles.Items.AddRange(new object[] {
            "Normal",
            "Italique",
            "Gras",
            "Gras Italique"});
            this.lbStyles.Location = new System.Drawing.Point(214, 58);
            this.lbStyles.Name = "lbStyles";
            this.lbStyles.Size = new System.Drawing.Size(127, 95);
            this.lbStyles.TabIndex = 5;
            this.lbStyles.SelectedIndexChanged += new System.EventHandler(this.lbStyles_SelectedIndexChanged);
            // 
            // tbStyle
            // 
            this.tbStyle.Location = new System.Drawing.Point(211, 35);
            this.tbStyle.Name = "tbStyle";
            this.tbStyle.Size = new System.Drawing.Size(130, 21);
            this.tbStyle.TabIndex = 4;
            this.tbStyle.TextChanged += new System.EventHandler(this.tbStyle_TextChanged);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(208, 17);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(36, 13);
            this.label2.TabIndex = 3;
            this.label2.Text = "Style";
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this.cbColumns);
            this.groupBox1.Controls.Add(this.label8);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.tbText);
            this.groupBox1.Location = new System.Drawing.Point(15, 3);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(451, 92);
            this.groupBox1.TabIndex = 9;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Text";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.Location = new System.Drawing.Point(63, 73);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(293, 12);
            this.label9.TabIndex = 4;
            this.label9.Text = "(Uniquement si le document contient une source de donn�es)";
            // 
            // cbColumns
            // 
            this.cbColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbColumns.FormattingEnabled = true;
            this.cbColumns.Location = new System.Drawing.Point(65, 49);
            this.cbColumns.Name = "cbColumns";
            this.cbColumns.Size = new System.Drawing.Size(203, 21);
            this.cbColumns.TabIndex = 3;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(10, 49);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(43, 13);
            this.label8.TabIndex = 2;
            this.label8.Text = "Bound";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(10, 23);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(23, 13);
            this.label3.TabIndex = 1;
            this.label3.Text = "Fix";
            // 
            // tbText
            // 
            this.tbText.Location = new System.Drawing.Point(65, 20);
            this.tbText.Name = "tbText";
            this.tbText.Size = new System.Drawing.Size(380, 21);
            this.tbText.TabIndex = 0;
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.sizeEditor1);
            this.groupBox2.Controls.Add(this.cbDirection);
            this.groupBox2.Controls.Add(this.label5);
            this.groupBox2.Controls.Add(this.btChangeColor);
            this.groupBox2.Controls.Add(this.tbForeColor);
            this.groupBox2.Controls.Add(this.label4);
            this.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.tbPolice);
            this.groupBox2.Controls.Add(this.lbPolice);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Controls.Add(this.lbStyles);
            this.groupBox2.Controls.Add(this.tbStyle);
            this.groupBox2.Location = new System.Drawing.Point(6, 101);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(468, 211);
            this.groupBox2.TabIndex = 10;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Format";
            // 
            // sizeEditor1
            // 
            this.sizeEditor1.Location = new System.Drawing.Point(347, 17);
            this.sizeEditor1.Name = "sizeEditor1";
            this.sizeEditor1.SelectedSize = 6;
            this.sizeEditor1.Size = new System.Drawing.Size(115, 143);
            this.sizeEditor1.TabIndex = 14;
            // 
            // cbDirection
            // 
            this.cbDirection.FormattingEnabled = true;
            this.cbDirection.Location = new System.Drawing.Point(211, 180);
            this.cbDirection.Name = "cbDirection";
            this.cbDirection.Size = new System.Drawing.Size(251, 21);
            this.cbDirection.TabIndex = 13;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(208, 164);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(58, 13);
            this.label5.TabIndex = 12;
            this.label5.Text = "Direction";
            // 
            // btChangeColor
            // 
            this.btChangeColor.Location = new System.Drawing.Point(180, 179);
            this.btChangeColor.Name = "btChangeColor";
            this.btChangeColor.Size = new System.Drawing.Size(25, 23);
            this.btChangeColor.TabIndex = 11;
            this.btChangeColor.Text = "...";
            this.btChangeColor.UseVisualStyleBackColor = true;
            this.btChangeColor.Click += new System.EventHandler(this.btChangeColor_Click);
            // 
            // tbForeColor
            // 
            this.tbForeColor.Location = new System.Drawing.Point(8, 179);
            this.tbForeColor.Name = "tbForeColor";
            this.tbForeColor.ReadOnly = true;
            this.tbForeColor.Size = new System.Drawing.Size(170, 21);
            this.tbForeColor.TabIndex = 10;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(9, 164);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(38, 13);
            this.label4.TabIndex = 9;
            this.label4.Text = "Color";
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.cbUnderlined);
            this.groupBox3.Controls.Add(this.cbStrikeOut);
            this.groupBox3.Location = new System.Drawing.Point(6, 370);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(468, 49);
            this.groupBox3.TabIndex = 11;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Attributs";
            // 
            // cbUnderlined
            // 
            this.cbUnderlined.AutoSize = true;
            this.cbUnderlined.Location = new System.Drawing.Point(382, 20);
            this.cbUnderlined.Name = "cbUnderlined";
            this.cbUnderlined.Size = new System.Drawing.Size(80, 17);
            this.cbUnderlined.TabIndex = 1;
            this.cbUnderlined.Text = "Underline";
            this.cbUnderlined.UseVisualStyleBackColor = true;
            // 
            // cbStrikeOut
            // 
            this.cbStrikeOut.AutoSize = true;
            this.cbStrikeOut.Location = new System.Drawing.Point(11, 18);
            this.cbStrikeOut.Name = "cbStrikeOut";
            this.cbStrikeOut.Size = new System.Drawing.Size(60, 17);
            this.cbStrikeOut.TabIndex = 0;
            this.cbStrikeOut.Text = "Strike";
            this.cbStrikeOut.UseVisualStyleBackColor = true;
            // 
            // btOk
            // 
            this.btOk.Location = new System.Drawing.Point(351, 425);
            this.btOk.Name = "btOk";
            this.btOk.Size = new System.Drawing.Size(56, 23);
            this.btOk.TabIndex = 12;
            this.btOk.Text = "Ok";
            this.btOk.UseVisualStyleBackColor = true;
            this.btOk.Click += new System.EventHandler(this.btOk_Click);
            // 
            // btCancel
            // 
            this.btCancel.Location = new System.Drawing.Point(413, 425);
            this.btCancel.Name = "btCancel";
            this.btCancel.Size = new System.Drawing.Size(61, 23);
            this.btCancel.TabIndex = 13;
            this.btCancel.Text = "Cancel";
            this.btCancel.UseVisualStyleBackColor = true;
            this.btCancel.Click += new System.EventHandler(this.btCancel_Click);
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.label7);
            this.groupBox4.Controls.Add(this.nY);
            this.groupBox4.Controls.Add(this.label6);
            this.groupBox4.Controls.Add(this.nX);
            this.groupBox4.Location = new System.Drawing.Point(6, 318);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(468, 49);
            this.groupBox4.TabIndex = 14;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Position";
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(375, 18);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(14, 13);
            this.label7.TabIndex = 3;
            this.label7.Text = "Y";
            // 
            // nY
            // 
            this.nY.Location = new System.Drawing.Point(405, 16);
            this.nY.Maximum = new decimal(new int[] {
            10000,
            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(63, 21);
            this.nY.TabIndex = 2;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(11, 18);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(15, 13);
            this.label6.TabIndex = 1;
            this.label6.Text = "X";
            // 
            // nX
            // 
            this.nX.Location = new System.Drawing.Point(41, 16);
            this.nX.Maximum = new decimal(new int[] {
            10000,
            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(63, 21);
            this.nX.TabIndex = 0;
            // 
            // FrmTextEditor
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(486, 451);
            this.Controls.Add(this.groupBox4);
            this.Controls.Add(this.btCancel);
            this.Controls.Add(this.btOk);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FrmTextEditor";
            this.Text = "Text";
            this.Load += new System.EventHandler(this.FrmTextObjectPropertiesEditor_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox tbPolice;
        private System.Windows.Forms.ListBox lbPolice;
        private System.Windows.Forms.ListBox lbStyles;
        private System.Windows.Forms.TextBox tbStyle;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.TextBox tbText;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Button btChangeColor;
        private System.Windows.Forms.TextBox tbForeColor;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.ColorDialog colorDialog1;
        private System.Windows.Forms.ComboBox cbDirection;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.CheckBox cbUnderlined;
        private System.Windows.Forms.CheckBox cbStrikeOut;
        private System.Windows.Forms.Button btOk;
        private System.Windows.Forms.Button btCancel;
        private System.Windows.Forms.GroupBox groupBox4;
        private System.Windows.Forms.Label label7;
        private MMUpDown nY;
        private System.Windows.Forms.Label label6;
        private MMUpDown nX;
        private SizeEditor sizeEditor1;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.ComboBox cbColumns;
    }
}

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