public BrushColorComboBox()

        {
            ColorComboBox.SetComboBoxProperties(this);
            _contextStrip = new ContextMenuStrip();
            FillMenu();
            this.ContextMenuStrip = _contextStrip;
            _colorType            = ColorType.KnownAndSystemColor;
        }
Example #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.components              = new System.ComponentModel.Container();
     this.label24                 = new System.Windows.Forms.Label();
     this.m_edYOffset             = new System.Windows.Forms.TextBox();
     this.m_edXOffset             = new System.Windows.Forms.TextBox();
     this.label23                 = new System.Windows.Forms.Label();
     this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox();
     this.label1                    = new System.Windows.Forms.Label();
     this.label3                    = new System.Windows.Forms.Label();
     this.label4                    = new System.Windows.Forms.Label();
     this.groupBox1                 = new System.Windows.Forms.GroupBox();
     this.m_cbVerticalAlignment     = new System.Windows.Forms.ComboBox();
     this.label5                    = new System.Windows.Forms.Label();
     this.label6                    = new System.Windows.Forms.Label();
     this.label2                    = new System.Windows.Forms.Label();
     this.label7                    = new System.Windows.Forms.Label();
     this.m_cbLabelStyle            = new System.Windows.Forms.ComboBox();
     this._chkAutomaticAlignment    = new System.Windows.Forms.CheckBox();
     this.label8                    = new System.Windows.Forms.Label();
     this._cbBackgroundStyle        = new System.Windows.Forms.ComboBox();
     this._cbBackgroundBrush        = new Altaxo.Gui.Common.Drawing.BrushColorComboBox();
     this.m_cbColor                 = new Altaxo.Gui.Common.Drawing.ColorComboBox();
     this.m_cbFont                  = new Altaxo.Gui.Common.Drawing.FontComboBox();
     this._backgroundGlue           = new Altaxo.Gui.Graph.BackgroundControlsGlue();
     this.m_edRotation              = new Altaxo.Gui.Common.Drawing.RotationComboBox();
     this.m_cbFontSize              = new Altaxo.Gui.Common.Drawing.FontSizeComboBox();
     this._edSuppressLabelValues    = new System.Windows.Forms.TextBox();
     this._edSuppressLabelsByNumber = new System.Windows.Forms.TextBox();
     this.label9                    = new System.Windows.Forms.Label();
     this.label10                   = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label24
     //
     this.label24.Location  = new System.Drawing.Point(24, 64);
     this.label24.Name      = "label24";
     this.label24.Size      = new System.Drawing.Size(16, 16);
     this.label24.TabIndex  = 19;
     this.label24.Text      = "Y";
     this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_edYOffset
     //
     this.m_edYOffset.Location    = new System.Drawing.Point(72, 64);
     this.m_edYOffset.Name        = "m_edYOffset";
     this.m_edYOffset.Size        = new System.Drawing.Size(56, 20);
     this.m_edYOffset.TabIndex    = 16;
     this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating);
     //
     // m_edXOffset
     //
     this.m_edXOffset.Location    = new System.Drawing.Point(72, 32);
     this.m_edXOffset.Name        = "m_edXOffset";
     this.m_edXOffset.Size        = new System.Drawing.Size(56, 20);
     this.m_edXOffset.TabIndex    = 15;
     this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating);
     //
     // label23
     //
     this.label23.Location  = new System.Drawing.Point(24, 24);
     this.label23.Name      = "label23";
     this.label23.Size      = new System.Drawing.Size(16, 16);
     this.label23.TabIndex  = 14;
     this.label23.Text      = "X";
     this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_cbHorizontalAlignment
     //
     this.m_cbHorizontalAlignment.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cbHorizontalAlignment.Location                  = new System.Drawing.Point(112, 136);
     this.m_cbHorizontalAlignment.Name                      = "m_cbHorizontalAlignment";
     this.m_cbHorizontalAlignment.Size                      = new System.Drawing.Size(136, 21);
     this.m_cbHorizontalAlignment.TabIndex                  = 22;
     this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(48, 40);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 16);
     this.label1.TabIndex  = 24;
     this.label1.Text      = "Font:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(32, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 16);
     this.label3.TabIndex  = 26;
     this.label3.Text      = "Font size:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(16, 136);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(88, 16);
     this.label4.TabIndex  = 27;
     this.label4.Text      = "Horz. alignment:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.m_edXOffset);
     this.groupBox1.Controls.Add(this.label23);
     this.groupBox1.Controls.Add(this.m_edYOffset);
     this.groupBox1.Controls.Add(this.label24);
     this.groupBox1.Location = new System.Drawing.Point(272, 96);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(136, 96);
     this.groupBox1.TabIndex = 29;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Offset (%)";
     //
     // m_cbVerticalAlignment
     //
     this.m_cbVerticalAlignment.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cbVerticalAlignment.Location                  = new System.Drawing.Point(112, 168);
     this.m_cbVerticalAlignment.Name                      = "m_cbVerticalAlignment";
     this.m_cbVerticalAlignment.Size                      = new System.Drawing.Size(136, 21);
     this.m_cbVerticalAlignment.TabIndex                  = 30;
     this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(24, 168);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(88, 16);
     this.label5.TabIndex  = 31;
     this.label5.Text      = "Vert. alignment:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(269, 53);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(96, 16);
     this.label6.TabIndex  = 20;
     this.label6.Text      = "Rotation (deg.):";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(64, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 16);
     this.label2.TabIndex  = 36;
     this.label2.Text      = "Color:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(32, 301);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(64, 16);
     this.label7.TabIndex  = 37;
     this.label7.Text      = "Label style:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_cbLabelStyle
     //
     this.m_cbLabelStyle.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cbLabelStyle.Location                  = new System.Drawing.Point(112, 296);
     this.m_cbLabelStyle.Name                      = "m_cbLabelStyle";
     this.m_cbLabelStyle.Size                      = new System.Drawing.Size(232, 21);
     this.m_cbLabelStyle.TabIndex                  = 38;
     this.m_cbLabelStyle.SelectionChangeCommitted += new System.EventHandler(this.m_cbLabelStyle_SelectionChangeCommitted);
     //
     // _chkAutomaticAlignment
     //
     this._chkAutomaticAlignment.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._chkAutomaticAlignment.Location        = new System.Drawing.Point(24, 112);
     this._chkAutomaticAlignment.Name            = "_chkAutomaticAlignment";
     this._chkAutomaticAlignment.Size            = new System.Drawing.Size(104, 16);
     this._chkAutomaticAlignment.TabIndex        = 39;
     this._chkAutomaticAlignment.Text            = "AutoAlign:";
     this._chkAutomaticAlignment.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkAutomaticAlignment.CheckedChanged += new System.EventHandler(this._chkAutomaticAlignment_CheckedChanged);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(32, 205);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(72, 16);
     this.label8.TabIndex  = 41;
     this.label8.Text      = "Background:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // _cbBackgroundStyle
     //
     this._cbBackgroundStyle.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._cbBackgroundStyle.FormattingEnabled = true;
     this._cbBackgroundStyle.Location          = new System.Drawing.Point(110, 200);
     this._cbBackgroundStyle.Name     = "_cbBackgroundStyle";
     this._cbBackgroundStyle.Size     = new System.Drawing.Size(138, 21);
     this._cbBackgroundStyle.TabIndex = 44;
     //
     // _cbBackgroundBrush
     //
     this._cbBackgroundBrush.ColorType         = Altaxo.Graph.ColorType.KnownAndSystemColor;
     this._cbBackgroundBrush.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this._cbBackgroundBrush.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._cbBackgroundBrush.FormattingEnabled = true;
     this._cbBackgroundBrush.ItemHeight        = 15;
     this._cbBackgroundBrush.Location          = new System.Drawing.Point(272, 200);
     this._cbBackgroundBrush.Name     = "_cbBackgroundBrush";
     this._cbBackgroundBrush.Size     = new System.Drawing.Size(136, 21);
     this._cbBackgroundBrush.TabIndex = 45;
     //
     // m_cbColor
     //
     this.m_cbColor.ColorType         = Altaxo.Graph.ColorType.KnownAndSystemColor;
     this.m_cbColor.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.m_cbColor.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cbColor.FormattingEnabled = true;
     this.m_cbColor.ItemHeight        = 15;
     this.m_cbColor.Items.AddRange(new object[] {
         System.Drawing.Color.Black
     });
     this.m_cbColor.Location = new System.Drawing.Point(112, 8);
     this.m_cbColor.Name     = "m_cbColor";
     this.m_cbColor.Size     = new System.Drawing.Size(136, 21);
     this.m_cbColor.TabIndex = 43;
     this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted);
     //
     // m_cbFont
     //
     this.m_cbFont.DrawMode                  = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.m_cbFont.DropDownStyle             = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cbFont.ItemHeight                = 15;
     this.m_cbFont.Location                  = new System.Drawing.Point(112, 40);
     this.m_cbFont.Name                      = "m_cbFont";
     this.m_cbFont.Size                      = new System.Drawing.Size(136, 21);
     this.m_cbFont.TabIndex                  = 23;
     this.m_cbFont.SelectionChangeCommitted += new System.EventHandler(this.EhFont_SelectionChangedCommitted);
     //
     // _backgroundGlue
     //
     this._backgroundGlue.CbBrush    = this._cbBackgroundBrush;
     this._backgroundGlue.CbStyle    = this._cbBackgroundStyle;
     this._backgroundGlue.LabelBrush = null;
     //
     // m_edRotation
     //
     this.m_edRotation.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.m_edRotation.FormattingEnabled = true;
     this.m_edRotation.ItemHeight        = 15;
     this.m_edRotation.Location          = new System.Drawing.Point(272, 72);
     this.m_edRotation.Name     = "m_edRotation";
     this.m_edRotation.Size     = new System.Drawing.Size(136, 21);
     this.m_edRotation.TabIndex = 46;
     //
     // m_cbFontSize
     //
     this.m_cbFontSize.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.m_cbFontSize.FormattingEnabled = true;
     this.m_cbFontSize.ItemHeight        = 15;
     this.m_cbFontSize.Location          = new System.Drawing.Point(110, 72);
     this.m_cbFontSize.Name             = "m_cbFontSize";
     this.m_cbFontSize.Size             = new System.Drawing.Size(138, 21);
     this.m_cbFontSize.TabIndex         = 47;
     this.m_cbFontSize.FontSizeChanged += new System.EventHandler(this.EhFontSize_SelectionChangeCommitted);
     //
     // _edSuppressLabelValues
     //
     this._edSuppressLabelValues.Location = new System.Drawing.Point(110, 238);
     this._edSuppressLabelValues.Name     = "_edSuppressLabelValues";
     this._edSuppressLabelValues.Size     = new System.Drawing.Size(136, 20);
     this._edSuppressLabelValues.TabIndex = 48;
     //
     // _edSuppressLabelsByNumber
     //
     this._edSuppressLabelsByNumber.Location = new System.Drawing.Point(112, 264);
     this._edSuppressLabelsByNumber.Name     = "_edSuppressLabelsByNumber";
     this._edSuppressLabelsByNumber.Size     = new System.Drawing.Size(136, 20);
     this._edSuppressLabelsByNumber.TabIndex = 49;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(16, 241);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(88, 13);
     this.label9.TabIndex = 50;
     this.label9.Text     = "Suppress values:";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(17, 267);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(89, 13);
     this.label10.TabIndex = 51;
     this.label10.Text     = "Suppress label #:";
     //
     // XYAxisLabelStyleControl
     //
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this._edSuppressLabelsByNumber);
     this.Controls.Add(this._edSuppressLabelValues);
     this.Controls.Add(this.m_cbFontSize);
     this.Controls.Add(this.m_edRotation);
     this.Controls.Add(this._cbBackgroundBrush);
     this.Controls.Add(this._cbBackgroundStyle);
     this.Controls.Add(this.m_cbColor);
     this.Controls.Add(this.label8);
     this.Controls.Add(this._chkAutomaticAlignment);
     this.Controls.Add(this.m_cbLabelStyle);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.m_cbVerticalAlignment);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.m_cbFont);
     this.Controls.Add(this.m_cbHorizontalAlignment);
     this.Controls.Add(this.label6);
     this.Name = "XYAxisLabelStyleControl";
     this.Size = new System.Drawing.Size(440, 360);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 public virtual void FillMenu()
 {
     AddCustomBrushContextMenu(_contextStrip, this.EhShowCustomBrushDialog);
     ColorComboBox.AddCustomColorContextMenu(_contextStrip, this.EhChooseCustomColor);
     ColorComboBox.AddTransparencyContextMenu(_contextStrip, this.EhChooseTransparencyValue);
 }
        /// <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.label2                 = new System.Windows.Forms.Label();
            this.label3                 = new System.Windows.Forms.Label();
            this._controlContextMenu    = new System.Windows.Forms.ContextMenuStrip(this.components);
            this._menuShowFullPenDialog = new System.Windows.Forms.ToolStripMenuItem();
            this._cbThickness           = new Altaxo.Gui.Common.Drawing.LineThicknessComboBox();
            this._cbLineType            = new Altaxo.Gui.Common.Drawing.DashStyleComboBox();
            this._cbColor               = new Altaxo.Gui.Common.Drawing.ColorComboBox();
            this._penGlue               = new Altaxo.Gui.Common.Drawing.PenControlsGlue();
            this._tableLayout           = new System.Windows.Forms.TableLayoutPanel();
            this._controlContextMenu.SuspendLayout();
            this._tableLayout.SuspendLayout();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(28, 7);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(34, 13);
            this.label1.TabIndex = 3;
            this.label1.Text     = "Color:";
            //
            // label2
            //
            this.label2.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(28, 34);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(34, 13);
            this.label2.TabIndex = 4;
            this.label2.Text     = "Type:";
            //
            // label3
            //
            this.label3.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(3, 61);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(59, 13);
            this.label3.TabIndex = 5;
            this.label3.Text     = "Thickness:";
            //
            // _controlContextMenu
            //
            this._controlContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this._menuShowFullPenDialog
            });
            this._controlContextMenu.Name = "_controlContextMenu";
            this._controlContextMenu.Size = new System.Drawing.Size(209, 26);
            //
            // _menuShowFullPenDialog
            //
            this._menuShowFullPenDialog.Name   = "_menuShowFullPenDialog";
            this._menuShowFullPenDialog.Size   = new System.Drawing.Size(208, 22);
            this._menuShowFullPenDialog.Text   = "Show full pen dialog ...";
            this._menuShowFullPenDialog.Click += new System.EventHandler(this._menuShowFullPenDialog_Click);
            //
            // _cbThickness
            //
            this._cbThickness.Anchor     = System.Windows.Forms.AnchorStyles.Left;
            this._cbThickness.DrawMode   = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this._cbThickness.ItemHeight = 15;

            this._cbThickness.Location = new System.Drawing.Point(68, 57);
            this._cbThickness.Name     = "_cbThickness";
            this._cbThickness.Size     = new System.Drawing.Size(121, 21);
            this._cbThickness.TabIndex = 2;
            //
            // _cbLineType
            //
            this._cbLineType.Anchor        = System.Windows.Forms.AnchorStyles.Left;
            this._cbLineType.DrawMode      = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this._cbLineType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._cbLineType.ItemHeight    = 15;
            this._cbLineType.Location      = new System.Drawing.Point(68, 30);
            this._cbLineType.Name          = "_cbLineType";
            this._cbLineType.Size          = new System.Drawing.Size(121, 21);
            this._cbLineType.TabIndex      = 1;
            //
            // _cbColor
            //
            this._cbColor.Anchor            = System.Windows.Forms.AnchorStyles.Left;
            this._cbColor.ColorType         = Altaxo.Graph.ColorType.KnownAndSystemColor;
            this._cbColor.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this._cbColor.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._cbColor.FormattingEnabled = true;
            this._cbColor.ItemHeight        = 15;
            this._cbColor.Location          = new System.Drawing.Point(68, 3);
            this._cbColor.Name     = "_cbColor";
            this._cbColor.Size     = new System.Drawing.Size(121, 21);
            this._cbColor.TabIndex = 0;
            //
            // _penGlue
            //
            this._penGlue.CbBrushColor      = this._cbColor;
            this._penGlue.CbBrushColor2     = null;
            this._penGlue.CbBrushHatchStyle = null;
            this._penGlue.CbBrushType       = null;
            this._penGlue.CbDashCap         = null;
            this._penGlue.CbDashStyle       = this._cbLineType;
            this._penGlue.CbEndCap          = null;
            this._penGlue.CbEndCapSize      = null;
            this._penGlue.CbLineJoin        = null;
            this._penGlue.CbLineThickness   = this._cbThickness;
            this._penGlue.CbMiterLimit      = null;
            this._penGlue.CbStartCap        = null;
            this._penGlue.CbStartCapSize    = null;
            this._penGlue.ColorType         = Altaxo.Graph.ColorType.KnownAndSystemColor;
            //
            // _tableLayout
            //
            this._tableLayout.AutoSize     = true;
            this._tableLayout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this._tableLayout.ColumnCount  = 2;
            this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this._tableLayout.Controls.Add(this.label1, 0, 0);
            this._tableLayout.Controls.Add(this.label2, 0, 1);
            this._tableLayout.Controls.Add(this._cbThickness, 1, 2);
            this._tableLayout.Controls.Add(this.label3, 0, 2);
            this._tableLayout.Controls.Add(this._cbLineType, 1, 1);
            this._tableLayout.Controls.Add(this._cbColor, 1, 0);
            this._tableLayout.Location = new System.Drawing.Point(3, 3);
            this._tableLayout.Name     = "_tableLayout";
            this._tableLayout.RowCount = 3;
            this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this._tableLayout.Size     = new System.Drawing.Size(192, 81);
            this._tableLayout.TabIndex = 0;
            //
            // ColorTypeThicknessPenControl
            //
            this.AutoSize         = true;
            this.AutoSizeMode     = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ContextMenuStrip = this._controlContextMenu;
            this.Controls.Add(this._tableLayout);
            this.Name = "ColorTypeThicknessPenControl";
            this.Size = new System.Drawing.Size(198, 87);
            this._controlContextMenu.ResumeLayout(false);
            this._tableLayout.ResumeLayout(false);
            this._tableLayout.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
    /// <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.label2 = new System.Windows.Forms.Label();
      this.label3 = new System.Windows.Forms.Label();
      this._controlContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
      this._menuShowFullPenDialog = new System.Windows.Forms.ToolStripMenuItem();
      this._cbThickness = new Altaxo.Gui.Common.Drawing.LineThicknessComboBox();
      this._cbLineType = new Altaxo.Gui.Common.Drawing.DashStyleComboBox();
      this._cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox();
      this._penGlue = new Altaxo.Gui.Common.Drawing.PenControlsGlue();
      this._tableLayout = new System.Windows.Forms.TableLayoutPanel();
      this._controlContextMenu.SuspendLayout();
      this._tableLayout.SuspendLayout();
      this.SuspendLayout();
      // 
      // label1
      // 
      this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
      this.label1.AutoSize = true;
      this.label1.Location = new System.Drawing.Point(28, 7);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(34, 13);
      this.label1.TabIndex = 3;
      this.label1.Text = "Color:";
      // 
      // label2
      // 
      this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
      this.label2.AutoSize = true;
      this.label2.Location = new System.Drawing.Point(28, 34);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(34, 13);
      this.label2.TabIndex = 4;
      this.label2.Text = "Type:";
      // 
      // label3
      // 
      this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
      this.label3.AutoSize = true;
      this.label3.Location = new System.Drawing.Point(3, 61);
      this.label3.Name = "label3";
      this.label3.Size = new System.Drawing.Size(59, 13);
      this.label3.TabIndex = 5;
      this.label3.Text = "Thickness:";
      // 
      // _controlContextMenu
      // 
      this._controlContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuShowFullPenDialog});
      this._controlContextMenu.Name = "_controlContextMenu";
      this._controlContextMenu.Size = new System.Drawing.Size(209, 26);
      // 
      // _menuShowFullPenDialog
      // 
      this._menuShowFullPenDialog.Name = "_menuShowFullPenDialog";
      this._menuShowFullPenDialog.Size = new System.Drawing.Size(208, 22);
      this._menuShowFullPenDialog.Text = "Show full pen dialog ...";
      this._menuShowFullPenDialog.Click += new System.EventHandler(this._menuShowFullPenDialog_Click);
      // 
      // _cbThickness
      // 
      this._cbThickness.Anchor = System.Windows.Forms.AnchorStyles.Left;
      this._cbThickness.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this._cbThickness.ItemHeight = 15;
    
      this._cbThickness.Location = new System.Drawing.Point(68, 57);
      this._cbThickness.Name = "_cbThickness";
      this._cbThickness.Size = new System.Drawing.Size(121, 21);
      this._cbThickness.TabIndex = 2;
      // 
      // _cbLineType
      // 
      this._cbLineType.Anchor = System.Windows.Forms.AnchorStyles.Left;
      this._cbLineType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this._cbLineType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this._cbLineType.ItemHeight = 15;
      this._cbLineType.Location = new System.Drawing.Point(68, 30);
      this._cbLineType.Name = "_cbLineType";
      this._cbLineType.Size = new System.Drawing.Size(121, 21);
      this._cbLineType.TabIndex = 1;
      // 
      // _cbColor
      // 
      this._cbColor.Anchor = System.Windows.Forms.AnchorStyles.Left;
      this._cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this._cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this._cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this._cbColor.FormattingEnabled = true;
      this._cbColor.ItemHeight = 15;
      this._cbColor.Location = new System.Drawing.Point(68, 3);
      this._cbColor.Name = "_cbColor";
      this._cbColor.Size = new System.Drawing.Size(121, 21);
      this._cbColor.TabIndex = 0;
      // 
      // _penGlue
      // 
      this._penGlue.CbBrushColor = this._cbColor;
      this._penGlue.CbBrushColor2 = null;
      this._penGlue.CbBrushHatchStyle = null;
      this._penGlue.CbBrushType = null;
      this._penGlue.CbDashCap = null;
      this._penGlue.CbDashStyle = this._cbLineType;
      this._penGlue.CbEndCap = null;
      this._penGlue.CbEndCapSize = null;
      this._penGlue.CbLineJoin = null;
      this._penGlue.CbLineThickness = this._cbThickness;
      this._penGlue.CbMiterLimit = null;
      this._penGlue.CbStartCap = null;
      this._penGlue.CbStartCapSize = null;
      this._penGlue.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      // 
      // _tableLayout
      // 
      this._tableLayout.AutoSize = true;
      this._tableLayout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this._tableLayout.ColumnCount = 2;
      this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
      this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
      this._tableLayout.Controls.Add(this.label1, 0, 0);
      this._tableLayout.Controls.Add(this.label2, 0, 1);
      this._tableLayout.Controls.Add(this._cbThickness, 1, 2);
      this._tableLayout.Controls.Add(this.label3, 0, 2);
      this._tableLayout.Controls.Add(this._cbLineType, 1, 1);
      this._tableLayout.Controls.Add(this._cbColor, 1, 0);
      this._tableLayout.Location = new System.Drawing.Point(3, 3);
      this._tableLayout.Name = "_tableLayout";
      this._tableLayout.RowCount = 3;
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.Size = new System.Drawing.Size(192, 81);
      this._tableLayout.TabIndex = 0;
      // 
      // ColorTypeThicknessPenControl
      // 
      this.AutoSize = true;
      this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this.ContextMenuStrip = this._controlContextMenu;
      this.Controls.Add(this._tableLayout);
      this.Name = "ColorTypeThicknessPenControl";
      this.Size = new System.Drawing.Size(198, 87);
      this._controlContextMenu.ResumeLayout(false);
      this._tableLayout.ResumeLayout(false);
      this._tableLayout.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }
Example #6
0
    /// <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.label24 = new System.Windows.Forms.Label();
      this.m_edYOffset = new System.Windows.Forms.TextBox();
      this.m_edXOffset = new System.Windows.Forms.TextBox();
      this.label23 = new System.Windows.Forms.Label();
      this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox();
      this.label1 = new System.Windows.Forms.Label();
      this.label3 = new System.Windows.Forms.Label();
      this.label4 = new System.Windows.Forms.Label();
      this.m_chkAttachToAxis = new System.Windows.Forms.CheckBox();
      this.groupBox1 = new System.Windows.Forms.GroupBox();
      this.m_cbVerticalAlignment = new System.Windows.Forms.ComboBox();
      this.label5 = new System.Windows.Forms.Label();
      this.m_cbAttachedAxis = new System.Windows.Forms.ComboBox();
      this.label6 = new System.Windows.Forms.Label();
      this.m_chkIndependentColor = new System.Windows.Forms.CheckBox();
      this._edLabelColumn = new System.Windows.Forms.TextBox();
      this._btSelectLabelColumn = new System.Windows.Forms.Button();
      this.label2 = new System.Windows.Forms.Label();
      this.label7 = new System.Windows.Forms.Label();
      this._cbBackgroundStyle = new System.Windows.Forms.ComboBox();
      this._backgroundBrush = new Altaxo.Gui.Common.Drawing.BrushColorComboBox();
      this.m_cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox();
      this.m_cbFont = new Altaxo.Gui.Common.Drawing.FontComboBox();
      this.m_cbFontSize = new Altaxo.Gui.Common.Drawing.FontSizeComboBox();
      this._fontControlsGlue = new Altaxo.Gui.Common.Drawing.FontControlsGlue();
      this._backgroundGlue = new Altaxo.Gui.Graph.BackgroundControlsGlue();
      this.m_edRotation = new Altaxo.Gui.Common.Drawing.RotationComboBox();
      this.groupBox1.SuspendLayout();
      this.SuspendLayout();
      // 
      // label24
      // 
      this.label24.Location = new System.Drawing.Point(24, 64);
      this.label24.Name = "label24";
      this.label24.Size = new System.Drawing.Size(16, 16);
      this.label24.TabIndex = 19;
      this.label24.Text = "Y";
      this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_edYOffset
      // 
      this.m_edYOffset.Location = new System.Drawing.Point(72, 64);
      this.m_edYOffset.Name = "m_edYOffset";
      this.m_edYOffset.Size = new System.Drawing.Size(56, 20);
      this.m_edYOffset.TabIndex = 16;
      this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating);
      // 
      // m_edXOffset
      // 
      this.m_edXOffset.Location = new System.Drawing.Point(72, 32);
      this.m_edXOffset.Name = "m_edXOffset";
      this.m_edXOffset.Size = new System.Drawing.Size(56, 20);
      this.m_edXOffset.TabIndex = 15;
      this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating);
      // 
      // label23
      // 
      this.label23.Location = new System.Drawing.Point(24, 24);
      this.label23.Name = "label23";
      this.label23.Size = new System.Drawing.Size(16, 16);
      this.label23.TabIndex = 14;
      this.label23.Text = "X";
      this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_cbHorizontalAlignment
      // 
      this.m_cbHorizontalAlignment.Location = new System.Drawing.Point(126, 125);
      this.m_cbHorizontalAlignment.Name = "m_cbHorizontalAlignment";
      this.m_cbHorizontalAlignment.Size = new System.Drawing.Size(136, 21);
      this.m_cbHorizontalAlignment.TabIndex = 22;
      this.m_cbHorizontalAlignment.Text = "comboBox1";
      this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted);
      // 
      // label1
      // 
      this.label1.Location = new System.Drawing.Point(64, 71);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(56, 16);
      this.label1.TabIndex = 24;
      this.label1.Text = "Font:";
      this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label3
      // 
      this.label3.Location = new System.Drawing.Point(48, 104);
      this.label3.Name = "label3";
      this.label3.Size = new System.Drawing.Size(72, 16);
      this.label3.TabIndex = 26;
      this.label3.Text = "Font size:";
      this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label4
      // 
      this.label4.Location = new System.Drawing.Point(13, 130);
      this.label4.Name = "label4";
      this.label4.Size = new System.Drawing.Size(112, 16);
      this.label4.TabIndex = 27;
      this.label4.Text = "Horz. alignment:";
      this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_chkAttachToAxis
      // 
      this.m_chkAttachToAxis.Location = new System.Drawing.Point(24, 179);
      this.m_chkAttachToAxis.Name = "m_chkAttachToAxis";
      this.m_chkAttachToAxis.Size = new System.Drawing.Size(96, 21);
      this.m_chkAttachToAxis.TabIndex = 28;
      this.m_chkAttachToAxis.Text = "Attach to axis:";
      this.m_chkAttachToAxis.CheckedChanged += new System.EventHandler(this.EhAttachToAxis_CheckedChanged);
      // 
      // groupBox1
      // 
      this.groupBox1.Controls.Add(this.m_edXOffset);
      this.groupBox1.Controls.Add(this.label23);
      this.groupBox1.Controls.Add(this.m_edYOffset);
      this.groupBox1.Controls.Add(this.label24);
      this.groupBox1.Location = new System.Drawing.Point(296, 104);
      this.groupBox1.Name = "groupBox1";
      this.groupBox1.Size = new System.Drawing.Size(136, 96);
      this.groupBox1.TabIndex = 29;
      this.groupBox1.TabStop = false;
      this.groupBox1.Text = "Offset (%)";
      // 
      // m_cbVerticalAlignment
      // 
      this.m_cbVerticalAlignment.Location = new System.Drawing.Point(126, 152);
      this.m_cbVerticalAlignment.Name = "m_cbVerticalAlignment";
      this.m_cbVerticalAlignment.Size = new System.Drawing.Size(136, 21);
      this.m_cbVerticalAlignment.TabIndex = 30;
      this.m_cbVerticalAlignment.Text = "comboBox1";
      this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted);
      // 
      // label5
      // 
      this.label5.Location = new System.Drawing.Point(8, 157);
      this.label5.Name = "label5";
      this.label5.Size = new System.Drawing.Size(112, 16);
      this.label5.TabIndex = 31;
      this.label5.Text = "Vert. alignment:";
      this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_cbAttachedAxis
      // 
      this.m_cbAttachedAxis.Location = new System.Drawing.Point(126, 179);
      this.m_cbAttachedAxis.Name = "m_cbAttachedAxis";
      this.m_cbAttachedAxis.Size = new System.Drawing.Size(136, 21);
      this.m_cbAttachedAxis.TabIndex = 32;
      this.m_cbAttachedAxis.Text = "comboBox2";
      this.m_cbAttachedAxis.SelectedIndexChanged += new System.EventHandler(this.EhAttachedAxis_SelectionChangeCommitted);
      // 
      // label6
      // 
      this.label6.Location = new System.Drawing.Point(293, 52);
      this.label6.Name = "label6";
      this.label6.Size = new System.Drawing.Size(96, 16);
      this.label6.TabIndex = 20;
      this.label6.Text = "Rotation (deg.):";
      this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
      // 
      // m_chkIndependentColor
      // 
      this.m_chkIndependentColor.Location = new System.Drawing.Point(47, 44);
      this.m_chkIndependentColor.Name = "m_chkIndependentColor";
      this.m_chkIndependentColor.Size = new System.Drawing.Size(73, 21);
      this.m_chkIndependentColor.TabIndex = 34;
      this.m_chkIndependentColor.Text = "Ind. color:";
      this.m_chkIndependentColor.CheckedChanged += new System.EventHandler(this.EhIndependentColor_CheckChanged);
      // 
      // _edLabelColumn
      // 
      this._edLabelColumn.Location = new System.Drawing.Point(128, 8);
      this._edLabelColumn.Name = "_edLabelColumn";
      this._edLabelColumn.Size = new System.Drawing.Size(240, 20);
      this._edLabelColumn.TabIndex = 36;
      this._edLabelColumn.Text = "textBox1";
      // 
      // _btSelectLabelColumn
      // 
      this._btSelectLabelColumn.Location = new System.Drawing.Point(376, 8);
      this._btSelectLabelColumn.Name = "_btSelectLabelColumn";
      this._btSelectLabelColumn.Size = new System.Drawing.Size(56, 20);
      this._btSelectLabelColumn.TabIndex = 37;
      this._btSelectLabelColumn.Text = "Select ..";
      this._btSelectLabelColumn.Click += new System.EventHandler(this.EhSelectLabelColumn_Click);
      // 
      // label2
      // 
      this.label2.Location = new System.Drawing.Point(8, 8);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(112, 20);
      this.label2.TabIndex = 38;
      this.label2.Text = "LabelColumn:";
      this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label7
      // 
      this.label7.Location = new System.Drawing.Point(48, 211);
      this.label7.Name = "label7";
      this.label7.Size = new System.Drawing.Size(72, 16);
      this.label7.TabIndex = 42;
      this.label7.Text = "Background:";
      this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // _cbBackgroundStyle
      // 
      this._cbBackgroundStyle.FormattingEnabled = true;
      this._cbBackgroundStyle.Location = new System.Drawing.Point(126, 206);
      this._cbBackgroundStyle.Name = "_cbBackgroundStyle";
      this._cbBackgroundStyle.Size = new System.Drawing.Size(136, 21);
      this._cbBackgroundStyle.TabIndex = 46;
      // 
      // _backgroundBrush
      // 
      this._backgroundBrush.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this._backgroundBrush.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this._backgroundBrush.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this._backgroundBrush.FormattingEnabled = true;
      this._backgroundBrush.ItemHeight = 15;
      this._backgroundBrush.Location = new System.Drawing.Point(296, 206);
      this._backgroundBrush.Name = "_backgroundBrush";
      this._backgroundBrush.Size = new System.Drawing.Size(136, 21);
      this._backgroundBrush.TabIndex = 45;
      // 
      // m_cbColor
      // 
      this.m_cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this.m_cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbColor.FormattingEnabled = true;
      this.m_cbColor.ItemHeight = 15;
      this.m_cbColor.Items.AddRange(new object[] {
            System.Drawing.SystemColors.ActiveBorder,
            System.Drawing.SystemColors.ActiveCaption,
            System.Drawing.SystemColors.ActiveCaptionText,
            System.Drawing.SystemColors.AppWorkspace,
            System.Drawing.SystemColors.Control,
            System.Drawing.SystemColors.ControlDark,
            System.Drawing.SystemColors.ControlDarkDark,
            System.Drawing.SystemColors.ControlLight,
            System.Drawing.SystemColors.ControlLightLight,
            System.Drawing.SystemColors.ControlText,
            System.Drawing.SystemColors.Desktop,
            System.Drawing.SystemColors.GrayText,
            System.Drawing.SystemColors.Highlight,
            System.Drawing.SystemColors.HighlightText,
            System.Drawing.SystemColors.HotTrack,
            System.Drawing.SystemColors.InactiveBorder,
            System.Drawing.SystemColors.InactiveCaption,
            System.Drawing.SystemColors.InactiveCaptionText,
            System.Drawing.SystemColors.Info,
            System.Drawing.SystemColors.InfoText,
            System.Drawing.SystemColors.Menu,
            System.Drawing.SystemColors.MenuText,
            System.Drawing.SystemColors.ScrollBar,
            System.Drawing.SystemColors.Window,
            System.Drawing.SystemColors.WindowFrame,
            System.Drawing.SystemColors.WindowText,
            System.Drawing.Color.Transparent,
            System.Drawing.Color.AliceBlue,
            System.Drawing.Color.AntiqueWhite,
            System.Drawing.Color.Aqua,
            System.Drawing.Color.Aquamarine,
            System.Drawing.Color.Azure,
            System.Drawing.Color.Beige,
            System.Drawing.Color.Bisque,
            System.Drawing.Color.Black,
            System.Drawing.Color.BlanchedAlmond,
            System.Drawing.Color.Blue,
            System.Drawing.Color.BlueViolet,
            System.Drawing.Color.Brown,
            System.Drawing.Color.BurlyWood,
            System.Drawing.Color.CadetBlue,
            System.Drawing.Color.Chartreuse,
            System.Drawing.Color.Chocolate,
            System.Drawing.Color.Coral,
            System.Drawing.Color.CornflowerBlue,
            System.Drawing.Color.Cornsilk,
            System.Drawing.Color.Crimson,
            System.Drawing.Color.Cyan,
            System.Drawing.Color.DarkBlue,
            System.Drawing.Color.DarkCyan,
            System.Drawing.Color.DarkGoldenrod,
            System.Drawing.Color.DarkGray,
            System.Drawing.Color.DarkGreen,
            System.Drawing.Color.DarkKhaki,
            System.Drawing.Color.DarkMagenta,
            System.Drawing.Color.DarkOliveGreen,
            System.Drawing.Color.DarkOrange,
            System.Drawing.Color.DarkOrchid,
            System.Drawing.Color.DarkRed,
            System.Drawing.Color.DarkSalmon,
            System.Drawing.Color.DarkSeaGreen,
            System.Drawing.Color.DarkSlateBlue,
            System.Drawing.Color.DarkSlateGray,
            System.Drawing.Color.DarkTurquoise,
            System.Drawing.Color.DarkViolet,
            System.Drawing.Color.DeepPink,
            System.Drawing.Color.DeepSkyBlue,
            System.Drawing.Color.DimGray,
            System.Drawing.Color.DodgerBlue,
            System.Drawing.Color.Firebrick,
            System.Drawing.Color.FloralWhite,
            System.Drawing.Color.ForestGreen,
            System.Drawing.Color.Fuchsia,
            System.Drawing.Color.Gainsboro,
            System.Drawing.Color.GhostWhite,
            System.Drawing.Color.Gold,
            System.Drawing.Color.Goldenrod,
            System.Drawing.Color.Gray,
            System.Drawing.Color.Green,
            System.Drawing.Color.GreenYellow,
            System.Drawing.Color.Honeydew,
            System.Drawing.Color.HotPink,
            System.Drawing.Color.IndianRed,
            System.Drawing.Color.Indigo,
            System.Drawing.Color.Ivory,
            System.Drawing.Color.Khaki,
            System.Drawing.Color.Lavender,
            System.Drawing.Color.LavenderBlush,
            System.Drawing.Color.LawnGreen,
            System.Drawing.Color.LemonChiffon,
            System.Drawing.Color.LightBlue,
            System.Drawing.Color.LightCoral,
            System.Drawing.Color.LightCyan,
            System.Drawing.Color.LightGoldenrodYellow,
            System.Drawing.Color.LightGray,
            System.Drawing.Color.LightGreen,
            System.Drawing.Color.LightPink,
            System.Drawing.Color.LightSalmon,
            System.Drawing.Color.LightSeaGreen,
            System.Drawing.Color.LightSkyBlue,
            System.Drawing.Color.LightSlateGray,
            System.Drawing.Color.LightSteelBlue,
            System.Drawing.Color.LightYellow,
            System.Drawing.Color.Lime,
            System.Drawing.Color.LimeGreen,
            System.Drawing.Color.Linen,
            System.Drawing.Color.Magenta,
            System.Drawing.Color.Maroon,
            System.Drawing.Color.MediumAquamarine,
            System.Drawing.Color.MediumBlue,
            System.Drawing.Color.MediumOrchid,
            System.Drawing.Color.MediumPurple,
            System.Drawing.Color.MediumSeaGreen,
            System.Drawing.Color.MediumSlateBlue,
            System.Drawing.Color.MediumSpringGreen,
            System.Drawing.Color.MediumTurquoise,
            System.Drawing.Color.MediumVioletRed,
            System.Drawing.Color.MidnightBlue,
            System.Drawing.Color.MintCream,
            System.Drawing.Color.MistyRose,
            System.Drawing.Color.Moccasin,
            System.Drawing.Color.NavajoWhite,
            System.Drawing.Color.Navy,
            System.Drawing.Color.OldLace,
            System.Drawing.Color.Olive,
            System.Drawing.Color.OliveDrab,
            System.Drawing.Color.Orange,
            System.Drawing.Color.OrangeRed,
            System.Drawing.Color.Orchid,
            System.Drawing.Color.PaleGoldenrod,
            System.Drawing.Color.PaleGreen,
            System.Drawing.Color.PaleTurquoise,
            System.Drawing.Color.PaleVioletRed,
            System.Drawing.Color.PapayaWhip,
            System.Drawing.Color.PeachPuff,
            System.Drawing.Color.Peru,
            System.Drawing.Color.Pink,
            System.Drawing.Color.Plum,
            System.Drawing.Color.PowderBlue,
            System.Drawing.Color.Purple,
            System.Drawing.Color.Red,
            System.Drawing.Color.RosyBrown,
            System.Drawing.Color.RoyalBlue,
            System.Drawing.Color.SaddleBrown,
            System.Drawing.Color.Salmon,
            System.Drawing.Color.SandyBrown,
            System.Drawing.Color.SeaGreen,
            System.Drawing.Color.SeaShell,
            System.Drawing.Color.Sienna,
            System.Drawing.Color.Silver,
            System.Drawing.Color.SkyBlue,
            System.Drawing.Color.SlateBlue,
            System.Drawing.Color.SlateGray,
            System.Drawing.Color.Snow,
            System.Drawing.Color.SpringGreen,
            System.Drawing.Color.SteelBlue,
            System.Drawing.Color.Tan,
            System.Drawing.Color.Teal,
            System.Drawing.Color.Thistle,
            System.Drawing.Color.Tomato,
            System.Drawing.Color.Turquoise,
            System.Drawing.Color.Violet,
            System.Drawing.Color.Wheat,
            System.Drawing.Color.White,
            System.Drawing.Color.WhiteSmoke,
            System.Drawing.Color.Yellow,
            System.Drawing.Color.YellowGreen,
            System.Drawing.SystemColors.ButtonFace,
            System.Drawing.SystemColors.ButtonHighlight,
            System.Drawing.SystemColors.ButtonShadow,
            System.Drawing.SystemColors.GradientActiveCaption,
            System.Drawing.SystemColors.GradientInactiveCaption,
            System.Drawing.SystemColors.MenuBar,
            System.Drawing.SystemColors.MenuHighlight,
            System.Drawing.SystemColors.ActiveBorder,
            System.Drawing.SystemColors.ActiveCaption,
            System.Drawing.SystemColors.ActiveCaptionText,
            System.Drawing.SystemColors.AppWorkspace,
            System.Drawing.SystemColors.Control,
            System.Drawing.SystemColors.ControlDark,
            System.Drawing.SystemColors.ControlDarkDark,
            System.Drawing.SystemColors.ControlLight,
            System.Drawing.SystemColors.ControlLightLight,
            System.Drawing.SystemColors.ControlText,
            System.Drawing.SystemColors.Desktop,
            System.Drawing.SystemColors.GrayText,
            System.Drawing.SystemColors.Highlight,
            System.Drawing.SystemColors.HighlightText,
            System.Drawing.SystemColors.HotTrack,
            System.Drawing.SystemColors.InactiveBorder,
            System.Drawing.SystemColors.InactiveCaption,
            System.Drawing.SystemColors.InactiveCaptionText,
            System.Drawing.SystemColors.Info,
            System.Drawing.SystemColors.InfoText,
            System.Drawing.SystemColors.Menu,
            System.Drawing.SystemColors.MenuText,
            System.Drawing.SystemColors.ScrollBar,
            System.Drawing.SystemColors.Window,
            System.Drawing.SystemColors.WindowFrame,
            System.Drawing.SystemColors.WindowText,
            System.Drawing.Color.Transparent,
            System.Drawing.Color.AliceBlue,
            System.Drawing.Color.AntiqueWhite,
            System.Drawing.Color.Aqua,
            System.Drawing.Color.Aquamarine,
            System.Drawing.Color.Azure,
            System.Drawing.Color.Beige,
            System.Drawing.Color.Bisque,
            System.Drawing.Color.Black,
            System.Drawing.Color.BlanchedAlmond,
            System.Drawing.Color.Blue,
            System.Drawing.Color.BlueViolet,
            System.Drawing.Color.Brown,
            System.Drawing.Color.BurlyWood,
            System.Drawing.Color.CadetBlue,
            System.Drawing.Color.Chartreuse,
            System.Drawing.Color.Chocolate,
            System.Drawing.Color.Coral,
            System.Drawing.Color.CornflowerBlue,
            System.Drawing.Color.Cornsilk,
            System.Drawing.Color.Crimson,
            System.Drawing.Color.Cyan,
            System.Drawing.Color.DarkBlue,
            System.Drawing.Color.DarkCyan,
            System.Drawing.Color.DarkGoldenrod,
            System.Drawing.Color.DarkGray,
            System.Drawing.Color.DarkGreen,
            System.Drawing.Color.DarkKhaki,
            System.Drawing.Color.DarkMagenta,
            System.Drawing.Color.DarkOliveGreen,
            System.Drawing.Color.DarkOrange,
            System.Drawing.Color.DarkOrchid,
            System.Drawing.Color.DarkRed,
            System.Drawing.Color.DarkSalmon,
            System.Drawing.Color.DarkSeaGreen,
            System.Drawing.Color.DarkSlateBlue,
            System.Drawing.Color.DarkSlateGray,
            System.Drawing.Color.DarkTurquoise,
            System.Drawing.Color.DarkViolet,
            System.Drawing.Color.DeepPink,
            System.Drawing.Color.DeepSkyBlue,
            System.Drawing.Color.DimGray,
            System.Drawing.Color.DodgerBlue,
            System.Drawing.Color.Firebrick,
            System.Drawing.Color.FloralWhite,
            System.Drawing.Color.ForestGreen,
            System.Drawing.Color.Fuchsia,
            System.Drawing.Color.Gainsboro,
            System.Drawing.Color.GhostWhite,
            System.Drawing.Color.Gold,
            System.Drawing.Color.Goldenrod,
            System.Drawing.Color.Gray,
            System.Drawing.Color.Green,
            System.Drawing.Color.GreenYellow,
            System.Drawing.Color.Honeydew,
            System.Drawing.Color.HotPink,
            System.Drawing.Color.IndianRed,
            System.Drawing.Color.Indigo,
            System.Drawing.Color.Ivory,
            System.Drawing.Color.Khaki,
            System.Drawing.Color.Lavender,
            System.Drawing.Color.LavenderBlush,
            System.Drawing.Color.LawnGreen,
            System.Drawing.Color.LemonChiffon,
            System.Drawing.Color.LightBlue,
            System.Drawing.Color.LightCoral,
            System.Drawing.Color.LightCyan,
            System.Drawing.Color.LightGoldenrodYellow,
            System.Drawing.Color.LightGray,
            System.Drawing.Color.LightGreen,
            System.Drawing.Color.LightPink,
            System.Drawing.Color.LightSalmon,
            System.Drawing.Color.LightSeaGreen,
            System.Drawing.Color.LightSkyBlue,
            System.Drawing.Color.LightSlateGray,
            System.Drawing.Color.LightSteelBlue,
            System.Drawing.Color.LightYellow,
            System.Drawing.Color.Lime,
            System.Drawing.Color.LimeGreen,
            System.Drawing.Color.Linen,
            System.Drawing.Color.Magenta,
            System.Drawing.Color.Maroon,
            System.Drawing.Color.MediumAquamarine,
            System.Drawing.Color.MediumBlue,
            System.Drawing.Color.MediumOrchid,
            System.Drawing.Color.MediumPurple,
            System.Drawing.Color.MediumSeaGreen,
            System.Drawing.Color.MediumSlateBlue,
            System.Drawing.Color.MediumSpringGreen,
            System.Drawing.Color.MediumTurquoise,
            System.Drawing.Color.MediumVioletRed,
            System.Drawing.Color.MidnightBlue,
            System.Drawing.Color.MintCream,
            System.Drawing.Color.MistyRose,
            System.Drawing.Color.Moccasin,
            System.Drawing.Color.NavajoWhite,
            System.Drawing.Color.Navy,
            System.Drawing.Color.OldLace,
            System.Drawing.Color.Olive,
            System.Drawing.Color.OliveDrab,
            System.Drawing.Color.Orange,
            System.Drawing.Color.OrangeRed,
            System.Drawing.Color.Orchid,
            System.Drawing.Color.PaleGoldenrod,
            System.Drawing.Color.PaleGreen,
            System.Drawing.Color.PaleTurquoise,
            System.Drawing.Color.PaleVioletRed,
            System.Drawing.Color.PapayaWhip,
            System.Drawing.Color.PeachPuff,
            System.Drawing.Color.Peru,
            System.Drawing.Color.Pink,
            System.Drawing.Color.Plum,
            System.Drawing.Color.PowderBlue,
            System.Drawing.Color.Purple,
            System.Drawing.Color.Red,
            System.Drawing.Color.RosyBrown,
            System.Drawing.Color.RoyalBlue,
            System.Drawing.Color.SaddleBrown,
            System.Drawing.Color.Salmon,
            System.Drawing.Color.SandyBrown,
            System.Drawing.Color.SeaGreen,
            System.Drawing.Color.SeaShell,
            System.Drawing.Color.Sienna,
            System.Drawing.Color.Silver,
            System.Drawing.Color.SkyBlue,
            System.Drawing.Color.SlateBlue,
            System.Drawing.Color.SlateGray,
            System.Drawing.Color.Snow,
            System.Drawing.Color.SpringGreen,
            System.Drawing.Color.SteelBlue,
            System.Drawing.Color.Tan,
            System.Drawing.Color.Teal,
            System.Drawing.Color.Thistle,
            System.Drawing.Color.Tomato,
            System.Drawing.Color.Turquoise,
            System.Drawing.Color.Violet,
            System.Drawing.Color.Wheat,
            System.Drawing.Color.White,
            System.Drawing.Color.WhiteSmoke,
            System.Drawing.Color.Yellow,
            System.Drawing.Color.YellowGreen,
            System.Drawing.SystemColors.ButtonFace,
            System.Drawing.SystemColors.ButtonHighlight,
            System.Drawing.SystemColors.ButtonShadow,
            System.Drawing.SystemColors.GradientActiveCaption,
            System.Drawing.SystemColors.GradientInactiveCaption,
            System.Drawing.SystemColors.MenuBar,
            System.Drawing.SystemColors.MenuHighlight,
            System.Drawing.SystemColors.ActiveBorder,
            System.Drawing.SystemColors.ActiveCaption,
            System.Drawing.SystemColors.ActiveCaptionText,
            System.Drawing.SystemColors.AppWorkspace,
            System.Drawing.SystemColors.Control,
            System.Drawing.SystemColors.ControlDark,
            System.Drawing.SystemColors.ControlDarkDark,
            System.Drawing.SystemColors.ControlLight,
            System.Drawing.SystemColors.ControlLightLight,
            System.Drawing.SystemColors.ControlText,
            System.Drawing.SystemColors.Desktop,
            System.Drawing.SystemColors.GrayText,
            System.Drawing.SystemColors.Highlight,
            System.Drawing.SystemColors.HighlightText,
            System.Drawing.SystemColors.HotTrack,
            System.Drawing.SystemColors.InactiveBorder,
            System.Drawing.SystemColors.InactiveCaption,
            System.Drawing.SystemColors.InactiveCaptionText,
            System.Drawing.SystemColors.Info,
            System.Drawing.SystemColors.InfoText,
            System.Drawing.SystemColors.Menu,
            System.Drawing.SystemColors.MenuText,
            System.Drawing.SystemColors.ScrollBar,
            System.Drawing.SystemColors.Window,
            System.Drawing.SystemColors.WindowFrame,
            System.Drawing.SystemColors.WindowText,
            System.Drawing.Color.Transparent,
            System.Drawing.Color.AliceBlue,
            System.Drawing.Color.AntiqueWhite,
            System.Drawing.Color.Aqua,
            System.Drawing.Color.Aquamarine,
            System.Drawing.Color.Azure,
            System.Drawing.Color.Beige,
            System.Drawing.Color.Bisque,
            System.Drawing.Color.Black,
            System.Drawing.Color.BlanchedAlmond,
            System.Drawing.Color.Blue,
            System.Drawing.Color.BlueViolet,
            System.Drawing.Color.Brown,
            System.Drawing.Color.BurlyWood,
            System.Drawing.Color.CadetBlue,
            System.Drawing.Color.Chartreuse,
            System.Drawing.Color.Chocolate,
            System.Drawing.Color.Coral,
            System.Drawing.Color.CornflowerBlue,
            System.Drawing.Color.Cornsilk,
            System.Drawing.Color.Crimson,
            System.Drawing.Color.Cyan,
            System.Drawing.Color.DarkBlue,
            System.Drawing.Color.DarkCyan,
            System.Drawing.Color.DarkGoldenrod,
            System.Drawing.Color.DarkGray,
            System.Drawing.Color.DarkGreen,
            System.Drawing.Color.DarkKhaki,
            System.Drawing.Color.DarkMagenta,
            System.Drawing.Color.DarkOliveGreen,
            System.Drawing.Color.DarkOrange,
            System.Drawing.Color.DarkOrchid,
            System.Drawing.Color.DarkRed,
            System.Drawing.Color.DarkSalmon,
            System.Drawing.Color.DarkSeaGreen,
            System.Drawing.Color.DarkSlateBlue,
            System.Drawing.Color.DarkSlateGray,
            System.Drawing.Color.DarkTurquoise,
            System.Drawing.Color.DarkViolet,
            System.Drawing.Color.DeepPink,
            System.Drawing.Color.DeepSkyBlue,
            System.Drawing.Color.DimGray,
            System.Drawing.Color.DodgerBlue,
            System.Drawing.Color.Firebrick,
            System.Drawing.Color.FloralWhite,
            System.Drawing.Color.ForestGreen,
            System.Drawing.Color.Fuchsia,
            System.Drawing.Color.Gainsboro,
            System.Drawing.Color.GhostWhite,
            System.Drawing.Color.Gold,
            System.Drawing.Color.Goldenrod,
            System.Drawing.Color.Gray,
            System.Drawing.Color.Green,
            System.Drawing.Color.GreenYellow,
            System.Drawing.Color.Honeydew,
            System.Drawing.Color.HotPink,
            System.Drawing.Color.IndianRed,
            System.Drawing.Color.Indigo,
            System.Drawing.Color.Ivory,
            System.Drawing.Color.Khaki,
            System.Drawing.Color.Lavender,
            System.Drawing.Color.LavenderBlush,
            System.Drawing.Color.LawnGreen,
            System.Drawing.Color.LemonChiffon,
            System.Drawing.Color.LightBlue,
            System.Drawing.Color.LightCoral,
            System.Drawing.Color.LightCyan,
            System.Drawing.Color.LightGoldenrodYellow,
            System.Drawing.Color.LightGray,
            System.Drawing.Color.LightGreen,
            System.Drawing.Color.LightPink,
            System.Drawing.Color.LightSalmon,
            System.Drawing.Color.LightSeaGreen,
            System.Drawing.Color.LightSkyBlue,
            System.Drawing.Color.LightSlateGray,
            System.Drawing.Color.LightSteelBlue,
            System.Drawing.Color.LightYellow,
            System.Drawing.Color.Lime,
            System.Drawing.Color.LimeGreen,
            System.Drawing.Color.Linen,
            System.Drawing.Color.Magenta,
            System.Drawing.Color.Maroon,
            System.Drawing.Color.MediumAquamarine,
            System.Drawing.Color.MediumBlue,
            System.Drawing.Color.MediumOrchid,
            System.Drawing.Color.MediumPurple,
            System.Drawing.Color.MediumSeaGreen,
            System.Drawing.Color.MediumSlateBlue,
            System.Drawing.Color.MediumSpringGreen,
            System.Drawing.Color.MediumTurquoise,
            System.Drawing.Color.MediumVioletRed,
            System.Drawing.Color.MidnightBlue,
            System.Drawing.Color.MintCream,
            System.Drawing.Color.MistyRose,
            System.Drawing.Color.Moccasin,
            System.Drawing.Color.NavajoWhite,
            System.Drawing.Color.Navy,
            System.Drawing.Color.OldLace,
            System.Drawing.Color.Olive,
            System.Drawing.Color.OliveDrab,
            System.Drawing.Color.Orange,
            System.Drawing.Color.OrangeRed,
            System.Drawing.Color.Orchid,
            System.Drawing.Color.PaleGoldenrod,
            System.Drawing.Color.PaleGreen,
            System.Drawing.Color.PaleTurquoise,
            System.Drawing.Color.PaleVioletRed,
            System.Drawing.Color.PapayaWhip,
            System.Drawing.Color.PeachPuff,
            System.Drawing.Color.Peru,
            System.Drawing.Color.Pink,
            System.Drawing.Color.Plum,
            System.Drawing.Color.PowderBlue,
            System.Drawing.Color.Purple,
            System.Drawing.Color.Red,
            System.Drawing.Color.RosyBrown,
            System.Drawing.Color.RoyalBlue,
            System.Drawing.Color.SaddleBrown,
            System.Drawing.Color.Salmon,
            System.Drawing.Color.SandyBrown,
            System.Drawing.Color.SeaGreen,
            System.Drawing.Color.SeaShell,
            System.Drawing.Color.Sienna,
            System.Drawing.Color.Silver,
            System.Drawing.Color.SkyBlue,
            System.Drawing.Color.SlateBlue,
            System.Drawing.Color.SlateGray,
            System.Drawing.Color.Snow,
            System.Drawing.Color.SpringGreen,
            System.Drawing.Color.SteelBlue,
            System.Drawing.Color.Tan,
            System.Drawing.Color.Teal,
            System.Drawing.Color.Thistle,
            System.Drawing.Color.Tomato,
            System.Drawing.Color.Turquoise,
            System.Drawing.Color.Violet,
            System.Drawing.Color.Wheat,
            System.Drawing.Color.White,
            System.Drawing.Color.WhiteSmoke,
            System.Drawing.Color.Yellow,
            System.Drawing.Color.YellowGreen,
            System.Drawing.SystemColors.ButtonFace,
            System.Drawing.SystemColors.ButtonHighlight,
            System.Drawing.SystemColors.ButtonShadow,
            System.Drawing.SystemColors.GradientActiveCaption,
            System.Drawing.SystemColors.GradientInactiveCaption,
            System.Drawing.SystemColors.MenuBar,
            System.Drawing.SystemColors.MenuHighlight,
            System.Drawing.SystemColors.ActiveBorder,
            System.Drawing.SystemColors.ActiveCaption,
            System.Drawing.SystemColors.ActiveCaptionText,
            System.Drawing.SystemColors.AppWorkspace,
            System.Drawing.SystemColors.Control,
            System.Drawing.SystemColors.ControlDark,
            System.Drawing.SystemColors.ControlDarkDark,
            System.Drawing.SystemColors.ControlLight,
            System.Drawing.SystemColors.ControlLightLight,
            System.Drawing.SystemColors.ControlText,
            System.Drawing.SystemColors.Desktop,
            System.Drawing.SystemColors.GrayText,
            System.Drawing.SystemColors.Highlight,
            System.Drawing.SystemColors.HighlightText,
            System.Drawing.SystemColors.HotTrack,
            System.Drawing.SystemColors.InactiveBorder,
            System.Drawing.SystemColors.InactiveCaption,
            System.Drawing.SystemColors.InactiveCaptionText,
            System.Drawing.SystemColors.Info,
            System.Drawing.SystemColors.InfoText,
            System.Drawing.SystemColors.Menu,
            System.Drawing.SystemColors.MenuText,
            System.Drawing.SystemColors.ScrollBar,
            System.Drawing.SystemColors.Window,
            System.Drawing.SystemColors.WindowFrame,
            System.Drawing.SystemColors.WindowText,
            System.Drawing.Color.Transparent,
            System.Drawing.Color.AliceBlue,
            System.Drawing.Color.AntiqueWhite,
            System.Drawing.Color.Aqua,
            System.Drawing.Color.Aquamarine,
            System.Drawing.Color.Azure,
            System.Drawing.Color.Beige,
            System.Drawing.Color.Bisque,
            System.Drawing.Color.Black,
            System.Drawing.Color.BlanchedAlmond,
            System.Drawing.Color.Blue,
            System.Drawing.Color.BlueViolet,
            System.Drawing.Color.Brown,
            System.Drawing.Color.BurlyWood,
            System.Drawing.Color.CadetBlue,
            System.Drawing.Color.Chartreuse,
            System.Drawing.Color.Chocolate,
            System.Drawing.Color.Coral,
            System.Drawing.Color.CornflowerBlue,
            System.Drawing.Color.Cornsilk,
            System.Drawing.Color.Crimson,
            System.Drawing.Color.Cyan,
            System.Drawing.Color.DarkBlue,
            System.Drawing.Color.DarkCyan,
            System.Drawing.Color.DarkGoldenrod,
            System.Drawing.Color.DarkGray,
            System.Drawing.Color.DarkGreen,
            System.Drawing.Color.DarkKhaki,
            System.Drawing.Color.DarkMagenta,
            System.Drawing.Color.DarkOliveGreen,
            System.Drawing.Color.DarkOrange,
            System.Drawing.Color.DarkOrchid,
            System.Drawing.Color.DarkRed,
            System.Drawing.Color.DarkSalmon,
            System.Drawing.Color.DarkSeaGreen,
            System.Drawing.Color.DarkSlateBlue,
            System.Drawing.Color.DarkSlateGray,
            System.Drawing.Color.DarkTurquoise,
            System.Drawing.Color.DarkViolet,
            System.Drawing.Color.DeepPink,
            System.Drawing.Color.DeepSkyBlue,
            System.Drawing.Color.DimGray,
            System.Drawing.Color.DodgerBlue,
            System.Drawing.Color.Firebrick,
            System.Drawing.Color.FloralWhite,
            System.Drawing.Color.ForestGreen,
            System.Drawing.Color.Fuchsia,
            System.Drawing.Color.Gainsboro,
            System.Drawing.Color.GhostWhite,
            System.Drawing.Color.Gold,
            System.Drawing.Color.Goldenrod,
            System.Drawing.Color.Gray,
            System.Drawing.Color.Green,
            System.Drawing.Color.GreenYellow,
            System.Drawing.Color.Honeydew,
            System.Drawing.Color.HotPink,
            System.Drawing.Color.IndianRed,
            System.Drawing.Color.Indigo,
            System.Drawing.Color.Ivory,
            System.Drawing.Color.Khaki,
            System.Drawing.Color.Lavender,
            System.Drawing.Color.LavenderBlush,
            System.Drawing.Color.LawnGreen,
            System.Drawing.Color.LemonChiffon,
            System.Drawing.Color.LightBlue,
            System.Drawing.Color.LightCoral,
            System.Drawing.Color.LightCyan,
            System.Drawing.Color.LightGoldenrodYellow,
            System.Drawing.Color.LightGray,
            System.Drawing.Color.LightGreen,
            System.Drawing.Color.LightPink,
            System.Drawing.Color.LightSalmon,
            System.Drawing.Color.LightSeaGreen,
            System.Drawing.Color.LightSkyBlue,
            System.Drawing.Color.LightSlateGray,
            System.Drawing.Color.LightSteelBlue,
            System.Drawing.Color.LightYellow,
            System.Drawing.Color.Lime,
            System.Drawing.Color.LimeGreen,
            System.Drawing.Color.Linen,
            System.Drawing.Color.Magenta,
            System.Drawing.Color.Maroon,
            System.Drawing.Color.MediumAquamarine,
            System.Drawing.Color.MediumBlue,
            System.Drawing.Color.MediumOrchid,
            System.Drawing.Color.MediumPurple,
            System.Drawing.Color.MediumSeaGreen,
            System.Drawing.Color.MediumSlateBlue,
            System.Drawing.Color.MediumSpringGreen,
            System.Drawing.Color.MediumTurquoise,
            System.Drawing.Color.MediumVioletRed,
            System.Drawing.Color.MidnightBlue,
            System.Drawing.Color.MintCream,
            System.Drawing.Color.MistyRose,
            System.Drawing.Color.Moccasin,
            System.Drawing.Color.NavajoWhite,
            System.Drawing.Color.Navy,
            System.Drawing.Color.OldLace,
            System.Drawing.Color.Olive,
            System.Drawing.Color.OliveDrab,
            System.Drawing.Color.Orange,
            System.Drawing.Color.OrangeRed,
            System.Drawing.Color.Orchid,
            System.Drawing.Color.PaleGoldenrod,
            System.Drawing.Color.PaleGreen,
            System.Drawing.Color.PaleTurquoise,
            System.Drawing.Color.PaleVioletRed,
            System.Drawing.Color.PapayaWhip,
            System.Drawing.Color.PeachPuff,
            System.Drawing.Color.Peru,
            System.Drawing.Color.Pink,
            System.Drawing.Color.Plum,
            System.Drawing.Color.PowderBlue,
            System.Drawing.Color.Purple,
            System.Drawing.Color.Red,
            System.Drawing.Color.RosyBrown,
            System.Drawing.Color.RoyalBlue,
            System.Drawing.Color.SaddleBrown,
            System.Drawing.Color.Salmon,
            System.Drawing.Color.SandyBrown,
            System.Drawing.Color.SeaGreen,
            System.Drawing.Color.SeaShell,
            System.Drawing.Color.Sienna,
            System.Drawing.Color.Silver,
            System.Drawing.Color.SkyBlue,
            System.Drawing.Color.SlateBlue,
            System.Drawing.Color.SlateGray,
            System.Drawing.Color.Snow,
            System.Drawing.Color.SpringGreen,
            System.Drawing.Color.SteelBlue,
            System.Drawing.Color.Tan,
            System.Drawing.Color.Teal,
            System.Drawing.Color.Thistle,
            System.Drawing.Color.Tomato,
            System.Drawing.Color.Turquoise,
            System.Drawing.Color.Violet,
            System.Drawing.Color.Wheat,
            System.Drawing.Color.White,
            System.Drawing.Color.WhiteSmoke,
            System.Drawing.Color.Yellow,
            System.Drawing.Color.YellowGreen,
            System.Drawing.SystemColors.ButtonFace,
            System.Drawing.SystemColors.ButtonHighlight,
            System.Drawing.SystemColors.ButtonShadow,
            System.Drawing.SystemColors.GradientActiveCaption,
            System.Drawing.SystemColors.GradientInactiveCaption,
            System.Drawing.SystemColors.MenuBar,
            System.Drawing.SystemColors.MenuHighlight});
      this.m_cbColor.Location = new System.Drawing.Point(126, 44);
      this.m_cbColor.Name = "m_cbColor";
      this.m_cbColor.Size = new System.Drawing.Size(136, 21);
      this.m_cbColor.TabIndex = 44;
      this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted);
      // 
      // m_cbFont
      // 
      this.m_cbFont.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbFont.ItemHeight = 15;
      this.m_cbFont.Location = new System.Drawing.Point(126, 71);
      this.m_cbFont.Name = "m_cbFont";
      this.m_cbFont.Size = new System.Drawing.Size(136, 21);
      this.m_cbFont.TabIndex = 23;
      // 
      // m_cbFontSize
      // 
      this.m_cbFontSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbFontSize.ItemHeight = 15;
      this.m_cbFontSize.Location = new System.Drawing.Point(126, 98);
      this.m_cbFontSize.Name = "m_cbFontSize";
      this.m_cbFontSize.Size = new System.Drawing.Size(136, 21);
      this.m_cbFontSize.TabIndex = 21;
      this.m_cbFontSize.Text = "comboBox1";
      // 
      // _fontControlsGlue
      // 
      this._fontControlsGlue.CbFont = this.m_cbFont;
      this._fontControlsGlue.CbFontSize = this.m_cbFontSize;
      this._fontControlsGlue.FontUnit = System.Drawing.GraphicsUnit.World;
      this._fontControlsGlue.FontChanged += new System.EventHandler(this.EhFont_SelectionChangedCommitted);
      // 
      // _backgroundGlue
      // 
      this._backgroundGlue.CbBrush = this._backgroundBrush;
      this._backgroundGlue.CbStyle = this._cbBackgroundStyle;
      this._backgroundGlue.LabelBrush = null;
      // 
      // m_edRotation
      // 
      this.m_edRotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_edRotation.FormattingEnabled = true;
      this.m_edRotation.ItemHeight = 15;
      this.m_edRotation.Location = new System.Drawing.Point(296, 71);
      this.m_edRotation.Name = "m_edRotation";
      this.m_edRotation.Size = new System.Drawing.Size(136, 21);
      this.m_edRotation.TabIndex = 47;
      // 
      // XYPlotLabelStyleControl
      // 
      this.Controls.Add(this.m_edRotation);
      this.Controls.Add(this._cbBackgroundStyle);
      this.Controls.Add(this._backgroundBrush);
      this.Controls.Add(this.m_cbColor);
      this.Controls.Add(this.label7);
      this.Controls.Add(this.label2);
      this.Controls.Add(this._btSelectLabelColumn);
      this.Controls.Add(this._edLabelColumn);
      this.Controls.Add(this.m_chkIndependentColor);
      this.Controls.Add(this.m_cbAttachedAxis);
      this.Controls.Add(this.label5);
      this.Controls.Add(this.m_cbVerticalAlignment);
      this.Controls.Add(this.groupBox1);
      this.Controls.Add(this.m_chkAttachToAxis);
      this.Controls.Add(this.label4);
      this.Controls.Add(this.label3);
      this.Controls.Add(this.label1);
      this.Controls.Add(this.m_cbFont);
      this.Controls.Add(this.m_cbHorizontalAlignment);
      this.Controls.Add(this.m_cbFontSize);
      this.Controls.Add(this.label6);
      this.Name = "XYPlotLabelStyleControl";
      this.Size = new System.Drawing.Size(440, 253);
      this.groupBox1.ResumeLayout(false);
      this.groupBox1.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }
Example #7
0
    /// <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.label24 = new System.Windows.Forms.Label();
      this.m_edYOffset = new System.Windows.Forms.TextBox();
      this.m_edXOffset = new System.Windows.Forms.TextBox();
      this.label23 = new System.Windows.Forms.Label();
      this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox();
      this.label1 = new System.Windows.Forms.Label();
      this.label3 = new System.Windows.Forms.Label();
      this.label4 = new System.Windows.Forms.Label();
      this.groupBox1 = new System.Windows.Forms.GroupBox();
      this.m_cbVerticalAlignment = new System.Windows.Forms.ComboBox();
      this.label5 = new System.Windows.Forms.Label();
      this.label6 = new System.Windows.Forms.Label();
      this.label2 = new System.Windows.Forms.Label();
      this.label7 = new System.Windows.Forms.Label();
      this.m_cbLabelStyle = new System.Windows.Forms.ComboBox();
      this._chkAutomaticAlignment = new System.Windows.Forms.CheckBox();
      this.label8 = new System.Windows.Forms.Label();
      this._cbBackgroundStyle = new System.Windows.Forms.ComboBox();
      this._cbBackgroundBrush = new Altaxo.Gui.Common.Drawing.BrushColorComboBox();
      this.m_cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox();
      this.m_cbFont = new Altaxo.Gui.Common.Drawing.FontComboBox();
      this._backgroundGlue = new Altaxo.Gui.Graph.BackgroundControlsGlue();
      this.m_edRotation = new Altaxo.Gui.Common.Drawing.RotationComboBox();
      this.m_cbFontSize = new Altaxo.Gui.Common.Drawing.FontSizeComboBox();
      this._edSuppressLabelValues = new System.Windows.Forms.TextBox();
      this._edSuppressLabelsByNumber = new System.Windows.Forms.TextBox();
      this.label9 = new System.Windows.Forms.Label();
      this.label10 = new System.Windows.Forms.Label();
      this.groupBox1.SuspendLayout();
      this.SuspendLayout();
      // 
      // label24
      // 
      this.label24.Location = new System.Drawing.Point(24, 64);
      this.label24.Name = "label24";
      this.label24.Size = new System.Drawing.Size(16, 16);
      this.label24.TabIndex = 19;
      this.label24.Text = "Y";
      this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_edYOffset
      // 
      this.m_edYOffset.Location = new System.Drawing.Point(72, 64);
      this.m_edYOffset.Name = "m_edYOffset";
      this.m_edYOffset.Size = new System.Drawing.Size(56, 20);
      this.m_edYOffset.TabIndex = 16;
      this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating);
      // 
      // m_edXOffset
      // 
      this.m_edXOffset.Location = new System.Drawing.Point(72, 32);
      this.m_edXOffset.Name = "m_edXOffset";
      this.m_edXOffset.Size = new System.Drawing.Size(56, 20);
      this.m_edXOffset.TabIndex = 15;
      this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating);
      // 
      // label23
      // 
      this.label23.Location = new System.Drawing.Point(24, 24);
      this.label23.Name = "label23";
      this.label23.Size = new System.Drawing.Size(16, 16);
      this.label23.TabIndex = 14;
      this.label23.Text = "X";
      this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_cbHorizontalAlignment
      // 
      this.m_cbHorizontalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbHorizontalAlignment.Location = new System.Drawing.Point(112, 136);
      this.m_cbHorizontalAlignment.Name = "m_cbHorizontalAlignment";
      this.m_cbHorizontalAlignment.Size = new System.Drawing.Size(136, 21);
      this.m_cbHorizontalAlignment.TabIndex = 22;
      this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted);
      // 
      // label1
      // 
      this.label1.Location = new System.Drawing.Point(48, 40);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(56, 16);
      this.label1.TabIndex = 24;
      this.label1.Text = "Font:";
      this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label3
      // 
      this.label3.Location = new System.Drawing.Point(32, 72);
      this.label3.Name = "label3";
      this.label3.Size = new System.Drawing.Size(72, 16);
      this.label3.TabIndex = 26;
      this.label3.Text = "Font size:";
      this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label4
      // 
      this.label4.Location = new System.Drawing.Point(16, 136);
      this.label4.Name = "label4";
      this.label4.Size = new System.Drawing.Size(88, 16);
      this.label4.TabIndex = 27;
      this.label4.Text = "Horz. alignment:";
      this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // groupBox1
      // 
      this.groupBox1.Controls.Add(this.m_edXOffset);
      this.groupBox1.Controls.Add(this.label23);
      this.groupBox1.Controls.Add(this.m_edYOffset);
      this.groupBox1.Controls.Add(this.label24);
      this.groupBox1.Location = new System.Drawing.Point(272, 96);
      this.groupBox1.Name = "groupBox1";
      this.groupBox1.Size = new System.Drawing.Size(136, 96);
      this.groupBox1.TabIndex = 29;
      this.groupBox1.TabStop = false;
      this.groupBox1.Text = "Offset (%)";
      // 
      // m_cbVerticalAlignment
      // 
      this.m_cbVerticalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbVerticalAlignment.Location = new System.Drawing.Point(112, 168);
      this.m_cbVerticalAlignment.Name = "m_cbVerticalAlignment";
      this.m_cbVerticalAlignment.Size = new System.Drawing.Size(136, 21);
      this.m_cbVerticalAlignment.TabIndex = 30;
      this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted);
      // 
      // label5
      // 
      this.label5.Location = new System.Drawing.Point(24, 168);
      this.label5.Name = "label5";
      this.label5.Size = new System.Drawing.Size(88, 16);
      this.label5.TabIndex = 31;
      this.label5.Text = "Vert. alignment:";
      this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label6
      // 
      this.label6.Location = new System.Drawing.Point(269, 53);
      this.label6.Name = "label6";
      this.label6.Size = new System.Drawing.Size(96, 16);
      this.label6.TabIndex = 20;
      this.label6.Text = "Rotation (deg.):";
      this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
      // 
      // label2
      // 
      this.label2.Location = new System.Drawing.Point(64, 8);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(40, 16);
      this.label2.TabIndex = 36;
      this.label2.Text = "Color:";
      this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label7
      // 
      this.label7.Location = new System.Drawing.Point(32, 301);
      this.label7.Name = "label7";
      this.label7.Size = new System.Drawing.Size(64, 16);
      this.label7.TabIndex = 37;
      this.label7.Text = "Label style:";
      this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // m_cbLabelStyle
      // 
      this.m_cbLabelStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbLabelStyle.Location = new System.Drawing.Point(112, 296);
      this.m_cbLabelStyle.Name = "m_cbLabelStyle";
      this.m_cbLabelStyle.Size = new System.Drawing.Size(232, 21);
      this.m_cbLabelStyle.TabIndex = 38;
      this.m_cbLabelStyle.SelectionChangeCommitted += new System.EventHandler(this.m_cbLabelStyle_SelectionChangeCommitted);
      // 
      // _chkAutomaticAlignment
      // 
      this._chkAutomaticAlignment.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
      this._chkAutomaticAlignment.Location = new System.Drawing.Point(24, 112);
      this._chkAutomaticAlignment.Name = "_chkAutomaticAlignment";
      this._chkAutomaticAlignment.Size = new System.Drawing.Size(104, 16);
      this._chkAutomaticAlignment.TabIndex = 39;
      this._chkAutomaticAlignment.Text = "AutoAlign:";
      this._chkAutomaticAlignment.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      this._chkAutomaticAlignment.CheckedChanged += new System.EventHandler(this._chkAutomaticAlignment_CheckedChanged);
      // 
      // label8
      // 
      this.label8.Location = new System.Drawing.Point(32, 205);
      this.label8.Name = "label8";
      this.label8.Size = new System.Drawing.Size(72, 16);
      this.label8.TabIndex = 41;
      this.label8.Text = "Background:";
      this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // _cbBackgroundStyle
      // 
      this._cbBackgroundStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this._cbBackgroundStyle.FormattingEnabled = true;
      this._cbBackgroundStyle.Location = new System.Drawing.Point(110, 200);
      this._cbBackgroundStyle.Name = "_cbBackgroundStyle";
      this._cbBackgroundStyle.Size = new System.Drawing.Size(138, 21);
      this._cbBackgroundStyle.TabIndex = 44;
      // 
      // _cbBackgroundBrush
      // 
      this._cbBackgroundBrush.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this._cbBackgroundBrush.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this._cbBackgroundBrush.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this._cbBackgroundBrush.FormattingEnabled = true;
      this._cbBackgroundBrush.ItemHeight = 15;
      this._cbBackgroundBrush.Location = new System.Drawing.Point(272, 200);
      this._cbBackgroundBrush.Name = "_cbBackgroundBrush";
      this._cbBackgroundBrush.Size = new System.Drawing.Size(136, 21);
      this._cbBackgroundBrush.TabIndex = 45;
      // 
      // m_cbColor
      // 
      this.m_cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this.m_cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbColor.FormattingEnabled = true;
      this.m_cbColor.ItemHeight = 15;
      this.m_cbColor.Items.AddRange(new object[] {
            System.Drawing.Color.Black});
      this.m_cbColor.Location = new System.Drawing.Point(112, 8);
      this.m_cbColor.Name = "m_cbColor";
      this.m_cbColor.Size = new System.Drawing.Size(136, 21);
      this.m_cbColor.TabIndex = 43;
      this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted);
      // 
      // m_cbFont
      // 
      this.m_cbFont.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.m_cbFont.ItemHeight = 15;
      this.m_cbFont.Location = new System.Drawing.Point(112, 40);
      this.m_cbFont.Name = "m_cbFont";
      this.m_cbFont.Size = new System.Drawing.Size(136, 21);
      this.m_cbFont.TabIndex = 23;
      this.m_cbFont.SelectionChangeCommitted += new System.EventHandler(this.EhFont_SelectionChangedCommitted);
      // 
      // _backgroundGlue
      // 
      this._backgroundGlue.CbBrush = this._cbBackgroundBrush;
      this._backgroundGlue.CbStyle = this._cbBackgroundStyle;
      this._backgroundGlue.LabelBrush = null;
      // 
      // m_edRotation
      // 
      this.m_edRotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_edRotation.FormattingEnabled = true;
      this.m_edRotation.ItemHeight = 15;
      this.m_edRotation.Location = new System.Drawing.Point(272, 72);
      this.m_edRotation.Name = "m_edRotation";
      this.m_edRotation.Size = new System.Drawing.Size(136, 21);
      this.m_edRotation.TabIndex = 46;
      // 
      // m_cbFontSize
      // 
      this.m_cbFontSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
      this.m_cbFontSize.FormattingEnabled = true;
      this.m_cbFontSize.ItemHeight = 15;
      this.m_cbFontSize.Location = new System.Drawing.Point(110, 72);
      this.m_cbFontSize.Name = "m_cbFontSize";
      this.m_cbFontSize.Size = new System.Drawing.Size(138, 21);
      this.m_cbFontSize.TabIndex = 47;
      this.m_cbFontSize.FontSizeChanged += new System.EventHandler(this.EhFontSize_SelectionChangeCommitted);
      // 
      // _edSuppressLabelValues
      // 
      this._edSuppressLabelValues.Location = new System.Drawing.Point(110, 238);
      this._edSuppressLabelValues.Name = "_edSuppressLabelValues";
      this._edSuppressLabelValues.Size = new System.Drawing.Size(136, 20);
      this._edSuppressLabelValues.TabIndex = 48;
      // 
      // _edSuppressLabelsByNumber
      // 
      this._edSuppressLabelsByNumber.Location = new System.Drawing.Point(112, 264);
      this._edSuppressLabelsByNumber.Name = "_edSuppressLabelsByNumber";
      this._edSuppressLabelsByNumber.Size = new System.Drawing.Size(136, 20);
      this._edSuppressLabelsByNumber.TabIndex = 49;
      // 
      // label9
      // 
      this.label9.AutoSize = true;
      this.label9.Location = new System.Drawing.Point(16, 241);
      this.label9.Name = "label9";
      this.label9.Size = new System.Drawing.Size(88, 13);
      this.label9.TabIndex = 50;
      this.label9.Text = "Suppress values:";
      // 
      // label10
      // 
      this.label10.AutoSize = true;
      this.label10.Location = new System.Drawing.Point(17, 267);
      this.label10.Name = "label10";
      this.label10.Size = new System.Drawing.Size(89, 13);
      this.label10.TabIndex = 51;
      this.label10.Text = "Suppress label #:";
      // 
      // XYAxisLabelStyleControl
      // 
      this.Controls.Add(this.label10);
      this.Controls.Add(this.label9);
      this.Controls.Add(this._edSuppressLabelsByNumber);
      this.Controls.Add(this._edSuppressLabelValues);
      this.Controls.Add(this.m_cbFontSize);
      this.Controls.Add(this.m_edRotation);
      this.Controls.Add(this._cbBackgroundBrush);
      this.Controls.Add(this._cbBackgroundStyle);
      this.Controls.Add(this.m_cbColor);
      this.Controls.Add(this.label8);
      this.Controls.Add(this._chkAutomaticAlignment);
      this.Controls.Add(this.m_cbLabelStyle);
      this.Controls.Add(this.label7);
      this.Controls.Add(this.label2);
      this.Controls.Add(this.label5);
      this.Controls.Add(this.m_cbVerticalAlignment);
      this.Controls.Add(this.groupBox1);
      this.Controls.Add(this.label4);
      this.Controls.Add(this.label3);
      this.Controls.Add(this.label1);
      this.Controls.Add(this.m_cbFont);
      this.Controls.Add(this.m_cbHorizontalAlignment);
      this.Controls.Add(this.label6);
      this.Name = "XYAxisLabelStyleControl";
      this.Size = new System.Drawing.Size(440, 360);
      this.groupBox1.ResumeLayout(false);
      this.groupBox1.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }