Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._dash        = new MindFusion.Controls.DashEdit();
     this._compound    = new MindFusion.Controls.DashEdit();
     this._lblDash     = new System.Windows.Forms.Label();
     this._lblCompound = new System.Windows.Forms.Label();
     this._styleCombo  = new System.Windows.Forms.ComboBox();
     this._lblStyle    = new System.Windows.Forms.Label();
     this._lblWidth    = new System.Windows.Forms.Label();
     this._width       = new System.Windows.Forms.TextBox();
     this._lblColor    = new System.Windows.Forms.Label();
     this._color       = new System.Windows.Forms.TextBox();
     this._preview     = new MindFusion.Controls.PenView();
     this.SuspendLayout();
     //
     // _dash
     //
     this._dash.Location     = new System.Drawing.Point(4, 60);
     this._dash.Name         = "_dash";
     this._dash.Size         = new System.Drawing.Size(108, 8);
     this._dash.TabIndex     = 0;
     this._dash.DashChanged += new System.EventHandler(this.OnDashChanged);
     //
     // _compound
     //
     this._compound.ForeColor    = System.Drawing.SystemColors.WindowText;
     this._compound.Location     = new System.Drawing.Point(4, 84);
     this._compound.Name         = "_compound";
     this._compound.Size         = new System.Drawing.Size(108, 8);
     this._compound.TabIndex     = 1;
     this._compound.DashChanged += new System.EventHandler(this.OnDashChanged);
     //
     // _lblDash
     //
     this._lblDash.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this._lblDash.Location  = new System.Drawing.Point(8, 48);
     this._lblDash.Name      = "_lblDash";
     this._lblDash.Size      = new System.Drawing.Size(100, 12);
     this._lblDash.TabIndex  = 2;
     this._lblDash.Text      = "Dash pattern:";
     //
     // _lblCompound
     //
     this._lblCompound.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this._lblCompound.Location  = new System.Drawing.Point(8, 72);
     this._lblCompound.Name      = "_lblCompound";
     this._lblCompound.Size      = new System.Drawing.Size(100, 12);
     this._lblCompound.TabIndex  = 2;
     this._lblCompound.Text      = "Compound array:";
     //
     // _styleCombo
     //
     this._styleCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._styleCombo.Items.AddRange(new object[] {
         "Solid",
         "Dash",
         "Dot",
         "DashDot",
         "DashDotDot",
         "Custom"
     });
     this._styleCombo.Location              = new System.Drawing.Point(40, 4);
     this._styleCombo.Name                  = "_styleCombo";
     this._styleCombo.Size                  = new System.Drawing.Size(68, 20);
     this._styleCombo.TabIndex              = 3;
     this._styleCombo.SelectedIndexChanged += new System.EventHandler(this.OnStyleChanged);
     //
     // _lblStyle
     //
     this._lblStyle.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this._lblStyle.Location  = new System.Drawing.Point(8, 8);
     this._lblStyle.Name      = "_lblStyle";
     this._lblStyle.Size      = new System.Drawing.Size(28, 12);
     this._lblStyle.TabIndex  = 4;
     this._lblStyle.Text      = "Style:";
     //
     // _lblWidth
     //
     this._lblWidth.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this._lblWidth.Location  = new System.Drawing.Point(116, 48);
     this._lblWidth.Name      = "_lblWidth";
     this._lblWidth.Size      = new System.Drawing.Size(32, 12);
     this._lblWidth.TabIndex  = 4;
     this._lblWidth.Text      = "Width:";
     //
     // _width
     //
     this._width.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this._width.Location    = new System.Drawing.Point(116, 64);
     this._width.Name        = "_width";
     this._width.Size        = new System.Drawing.Size(32, 17);
     this._width.TabIndex    = 5;
     this._width.Text        = "0";
     this._width.TextAlign   = System.Windows.Forms.HorizontalAlignment.Right;
     this._width.Leave      += new System.EventHandler(this.OnWidthChanged);
     //
     // _lblColor
     //
     this._lblColor.Font      = new System.Drawing.Font("Microsoft Sans Serif", 6.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblColor.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this._lblColor.Location  = new System.Drawing.Point(8, 30);
     this._lblColor.Name      = "_lblColor";
     this._lblColor.Size      = new System.Drawing.Size(28, 12);
     this._lblColor.TabIndex  = 4;
     this._lblColor.Text      = "Color:";
     //
     // _color
     //
     this._color.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this._color.Location    = new System.Drawing.Point(40, 28);
     this._color.Name        = "_color";
     this._color.Size        = new System.Drawing.Size(68, 17);
     this._color.TabIndex    = 6;
     this._color.Text        = "0, 0, 0";
     this._color.TextAlign   = System.Windows.Forms.HorizontalAlignment.Right;
     this._color.Leave      += new System.EventHandler(this.OnColorChanged);
     //
     // _preview
     //
     this._preview.Location = new System.Drawing.Point(116, 4);
     this._preview.Name     = "_preview";
     this._preview.Pen      = null;
     this._preview.Size     = new System.Drawing.Size(32, 20);
     this._preview.TabIndex = 7;
     //
     // PenEdit
     //
     this.Controls.Add(this._preview);
     this.Controls.Add(this._color);
     this.Controls.Add(this._width);
     this.Controls.Add(this._lblStyle);
     this.Controls.Add(this._styleCombo);
     this.Controls.Add(this._lblDash);
     this.Controls.Add(this._compound);
     this.Controls.Add(this._dash);
     this.Controls.Add(this._lblCompound);
     this.Controls.Add(this._lblWidth);
     this.Controls.Add(this._lblColor);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "PenEdit";
     this.Size = new System.Drawing.Size(152, 96);
     this.ResumeLayout(false);
 }
Пример #2
0
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this._dash = new MindFusion.Controls.DashEdit();
			this._compound = new MindFusion.Controls.DashEdit();
			this._lblDash = new System.Windows.Forms.Label();
			this._lblCompound = new System.Windows.Forms.Label();
			this._styleCombo = new System.Windows.Forms.ComboBox();
			this._lblStyle = new System.Windows.Forms.Label();
			this._lblWidth = new System.Windows.Forms.Label();
			this._width = new System.Windows.Forms.TextBox();
			this._lblColor = new System.Windows.Forms.Label();
			this._color = new System.Windows.Forms.TextBox();
			this._preview = new MindFusion.Controls.PenView();
			this.SuspendLayout();
			// 
			// _dash
			// 
			this._dash.Location = new System.Drawing.Point(4, 60);
			this._dash.Name = "_dash";
			this._dash.Size = new System.Drawing.Size(108, 8);
			this._dash.TabIndex = 0;
			this._dash.DashChanged += new System.EventHandler(this.OnDashChanged);
			// 
			// _compound
			// 
			this._compound.ForeColor = System.Drawing.SystemColors.WindowText;
			this._compound.Location = new System.Drawing.Point(4, 84);
			this._compound.Name = "_compound";
			this._compound.Size = new System.Drawing.Size(108, 8);
			this._compound.TabIndex = 1;
			this._compound.DashChanged += new System.EventHandler(this.OnDashChanged);
			// 
			// _lblDash
			// 
			this._lblDash.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
			this._lblDash.Location = new System.Drawing.Point(8, 48);
			this._lblDash.Name = "_lblDash";
			this._lblDash.Size = new System.Drawing.Size(100, 12);
			this._lblDash.TabIndex = 2;
			this._lblDash.Text = "Dash pattern:";
			// 
			// _lblCompound
			// 
			this._lblCompound.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
			this._lblCompound.Location = new System.Drawing.Point(8, 72);
			this._lblCompound.Name = "_lblCompound";
			this._lblCompound.Size = new System.Drawing.Size(100, 12);
			this._lblCompound.TabIndex = 2;
			this._lblCompound.Text = "Compound array:";
			// 
			// _styleCombo
			// 
			this._styleCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this._styleCombo.Items.AddRange(new object[] {
															 "Solid",
															 "Dash",
															 "Dot",
															 "DashDot",
															 "DashDotDot",
															 "Custom"});
			this._styleCombo.Location = new System.Drawing.Point(40, 4);
			this._styleCombo.Name = "_styleCombo";
			this._styleCombo.Size = new System.Drawing.Size(68, 20);
			this._styleCombo.TabIndex = 3;
			this._styleCombo.SelectedIndexChanged += new System.EventHandler(this.OnStyleChanged);
			// 
			// _lblStyle
			// 
			this._lblStyle.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
			this._lblStyle.Location = new System.Drawing.Point(8, 8);
			this._lblStyle.Name = "_lblStyle";
			this._lblStyle.Size = new System.Drawing.Size(28, 12);
			this._lblStyle.TabIndex = 4;
			this._lblStyle.Text = "Style:";
			// 
			// _lblWidth
			// 
			this._lblWidth.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
			this._lblWidth.Location = new System.Drawing.Point(116, 48);
			this._lblWidth.Name = "_lblWidth";
			this._lblWidth.Size = new System.Drawing.Size(32, 12);
			this._lblWidth.TabIndex = 4;
			this._lblWidth.Text = "Width:";
			// 
			// _width
			// 
			this._width.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this._width.Location = new System.Drawing.Point(116, 64);
			this._width.Name = "_width";
			this._width.Size = new System.Drawing.Size(32, 17);
			this._width.TabIndex = 5;
			this._width.Text = "0";
			this._width.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this._width.Leave += new System.EventHandler(this.OnWidthChanged);
			// 
			// _lblColor
			// 
			this._lblColor.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this._lblColor.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
			this._lblColor.Location = new System.Drawing.Point(8, 30);
			this._lblColor.Name = "_lblColor";
			this._lblColor.Size = new System.Drawing.Size(28, 12);
			this._lblColor.TabIndex = 4;
			this._lblColor.Text = "Color:";
			// 
			// _color
			// 
			this._color.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this._color.Location = new System.Drawing.Point(40, 28);
			this._color.Name = "_color";
			this._color.Size = new System.Drawing.Size(68, 17);
			this._color.TabIndex = 6;
			this._color.Text = "0, 0, 0";
			this._color.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this._color.Leave += new System.EventHandler(this.OnColorChanged);
			// 
			// _preview
			// 
			this._preview.Location = new System.Drawing.Point(116, 4);
			this._preview.Name = "_preview";
			this._preview.Pen = null;
			this._preview.Size = new System.Drawing.Size(32, 20);
			this._preview.TabIndex = 7;
			// 
			// PenEdit
			// 
			this.Controls.Add(this._preview);
			this.Controls.Add(this._color);
			this.Controls.Add(this._width);
			this.Controls.Add(this._lblStyle);
			this.Controls.Add(this._styleCombo);
			this.Controls.Add(this._lblDash);
			this.Controls.Add(this._compound);
			this.Controls.Add(this._dash);
			this.Controls.Add(this._lblCompound);
			this.Controls.Add(this._lblWidth);
			this.Controls.Add(this._lblColor);
			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.Name = "PenEdit";
			this.Size = new System.Drawing.Size(152, 96);
			this.ResumeLayout(false);

		}