private void AddUI(int index, int y, ref int tabindex)
        {
            Label num = new Label();
            num.TextAlign = ContentAlignment.MiddleCenter;
            num.Text = index==-1? GApp.Strings.GetString("Caption.EditEscapesequenceColor.DefaultColor") : index.ToString();
            num.Left = 8;
            num.Width = 48;
            num.Top = y;
            num.Height = 24;
            num.TabIndex = tabindex++;

            Label sample = new Label();
            sample.TextAlign = ContentAlignment.MiddleCenter;
            sample.Text = GetIndexDesc(index);
            sample.Left = 64;
            sample.Width = 48;
            sample.Top = y;
            sample.Height = 24;
            sample.BorderStyle = BorderStyle.FixedSingle;
            sample.BackColor = _backColor;
            sample.ForeColor = index==-1? _foreColor : _esColorSet[index];
            sample.TabIndex = tabindex++;

            ColorButton col = new ColorButton();
            col.SelectedColor = index==-1? _foreColor : _esColorSet[index];
            col.Left = 122;
            col.Width = 128;
            col.Top = y+2;
            col.ColorChanged += new ColorButton.NewColorEventHandler(OnNewColor);
            col.Tag = sample;
            col.TabIndex = tabindex++;
            if(index==-1)
                _foreColorBox = col;
            else
                _colorBoxes[index] = col;

            this.Controls.Add(num);
            this.Controls.Add(sample);
            this.Controls.Add(col);
        }
        private void AddBackColorUI(int y, ref int tabindex)
        {
            Label num = new Label();
            num.TextAlign = ContentAlignment.MiddleCenter;
            num.Text = GApp.Strings.GetString("Caption.EditEscapesequenceColor.BackColor");
            num.Left = 8;
            num.Width = 48;
            num.Top = y;
            num.Height = 24;
            num.TabIndex = tabindex++;

            ColorButton col = new ColorButton();
            col.SelectedColor = _backColor;
            col.Left = 122;
            col.Width = 128;
            col.Top = y+2;
            col.ColorChanged += new ColorButton.NewColorEventHandler(OnNewBackColor);
            col.TabIndex = tabindex++;
            _backColorBox = col;

            this.Controls.Add(num);
            this.Controls.Add(col);
        }
        private void InitializeComponent()
        {
            this._colorFontGroup = new System.Windows.Forms.GroupBox();
            this._bgColorLabel = new System.Windows.Forms.Label();
            this._bgColorBox = new ColorButton();
            this._textColorLabel = new System.Windows.Forms.Label();
            this._textColorBox = new ColorButton();
            this._editColorEscapeSequence = new Button();
            this._fontLabel = new System.Windows.Forms.Label();
            this._fontDescription = new System.Windows.Forms.Label();
            this._fontSelectButton = new System.Windows.Forms.Button();
            this._fontSample = new Poderosa.Forms.ClearTypeAwareLabel();
            this._backgroundImageLabel = new Label();
            this._backgroundImageBox = new TextBox();
            this._backgroundImageSelectButton = new Button();
            this._imageStyleLabel = new Label();
            this._imageStyleBox = new ComboBox();
            this._applyRenderProfileButton = new Button();
            this._caretGroup = new GroupBox();
            this._caretStyleLabel = new System.Windows.Forms.Label();
            this._caretStyleBox = new ComboBox();
            this._caretSpecifyColor = new CheckBox();
            this._caretColorLabel = new Label();
            this._caretColorBox = new ColorButton();
            this._caretBlink = new CheckBox();

            this._colorFontGroup.SuspendLayout();
            this._caretGroup.SuspendLayout();

            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                                       this._caretGroup,
                                                                                       this._colorFontGroup});
            //
            // _colorFontGroup
            //
            this._colorFontGroup.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                                          this._bgColorLabel,
                                                                                          this._bgColorBox,
                                                                                          this._textColorLabel,
                                                                                          this._textColorBox,
                                                                                          this._editColorEscapeSequence,
                                                                                          this._fontLabel,
                                                                                          this._fontDescription,
                                                                                          this._fontSelectButton,
                                                                                          this._fontSample,
                                                                                          this._backgroundImageLabel,
                                                                                          this._backgroundImageBox,
                                                                                          this._backgroundImageSelectButton,
                                                                                          this._imageStyleLabel,
                                                                                          this._imageStyleBox,
                                                                                          this._applyRenderProfileButton});
            this._colorFontGroup.Location = new System.Drawing.Point(9, 8);
            this._colorFontGroup.Name = "_colorFontGroup";
            this._colorFontGroup.FlatStyle = FlatStyle.System;
            this._colorFontGroup.Size = new System.Drawing.Size(416, 208);
            this._colorFontGroup.TabIndex = 0;
            this._colorFontGroup.TabStop = false;
            //
            // _bgColorLabel
            //
            this._bgColorLabel.Location = new System.Drawing.Point(16, 16);
            this._bgColorLabel.Name = "_bgColorLabel";
            this._bgColorLabel.Size = new System.Drawing.Size(72, 24);
            this._bgColorLabel.TabIndex = 1;
            this._bgColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _bgColorBox
            //
            //this._bgColorBox.BackColor = System.Drawing.Color.White;
            this._bgColorBox.Location = new System.Drawing.Point(120, 16);
            this._bgColorBox.Name = "_bgColorBox";
            this._bgColorBox.Size = new System.Drawing.Size(152, 20);
            this._bgColorBox.TabIndex = 2;
            this._bgColorBox.ColorChanged += new ColorButton.NewColorEventHandler(this.OnBGColorChanged);
            //
            // _textColorLabel
            //
            this._textColorLabel.Location = new System.Drawing.Point(16, 40);
            this._textColorLabel.Name = "_textColorLabel";
            this._textColorLabel.Size = new System.Drawing.Size(72, 24);
            this._textColorLabel.TabIndex = 3;
            this._textColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _textColorBox
            //
            this._textColorBox.Location = new System.Drawing.Point(120, 40);
            this._textColorBox.Name = "_textColorBox";
            this._textColorBox.Size = new System.Drawing.Size(152, 20);
            this._textColorBox.TabIndex = 4;
            this._textColorBox.ColorChanged += new ColorButton.NewColorEventHandler(this.OnTextColorChanged);
            //
            // _editColorEscapeSequence
            //
            this._editColorEscapeSequence.Location = new Point(120, 66);
            this._editColorEscapeSequence.Size = new Size(224, 24);
            this._editColorEscapeSequence.TabIndex = 5;
            this._editColorEscapeSequence.Click += new EventHandler(OnEditColorEscapeSequence);
            this._editColorEscapeSequence.FlatStyle = FlatStyle.System;
            //
            // _fontLabel
            //
            this._fontLabel.Location = new System.Drawing.Point(16, 96);
            this._fontLabel.Name = "_fontLabel";
            this._fontLabel.Size = new System.Drawing.Size(72, 16);
            this._fontLabel.TabIndex = 6;
            this._fontLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _fontDescription
            //
            this._fontDescription.Location = new System.Drawing.Point(120, 92);
            this._fontDescription.Name = "_fontDescription";
            this._fontDescription.Size = new System.Drawing.Size(152, 24);
            this._fontDescription.TabIndex = 7;
            this._fontDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _fontSelectButton
            //
            this._fontSelectButton.Location = new System.Drawing.Point(280, 92);
            this._fontSelectButton.Name = "_fontSelectButton";
            this._fontSelectButton.FlatStyle = FlatStyle.System;
            this._fontSelectButton.Size = new System.Drawing.Size(64, 23);
            this._fontSelectButton.TabIndex = 8;
            this._fontSelectButton.Click += new System.EventHandler(this.OnFontSelect);
            //
            // _fontSample
            //
            this._fontSample.BackColor = System.Drawing.Color.White;
            this._fontSample.BorderStyle = BorderStyle.FixedSingle;
            this._fontSample.ClearType = false;
            this._fontSample.Location = new System.Drawing.Point(280, 16);
            this._fontSample.Name = "_fontSample";
            this._fontSample.Size = new System.Drawing.Size(120, 46);
            this._fontSample.TabIndex = 9;
            this._fontSample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // _backgroundImageLabel
            //
            this._backgroundImageLabel.Location = new System.Drawing.Point(16, 128);
            this._backgroundImageLabel.Name = "_backgroundImageLabel";
            this._backgroundImageLabel.Size = new System.Drawing.Size(72, 16);
            this._backgroundImageLabel.TabIndex = 10;
            this._backgroundImageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _backgroundImageBox
            //
            this._backgroundImageBox.Location = new System.Drawing.Point(120, 128);
            this._backgroundImageBox.Name = "_backgroundImageBox";
            this._backgroundImageBox.Size = new System.Drawing.Size(260, 19);
            this._backgroundImageBox.TabIndex = 11;
            //
            // _backgroundImageSelectButton
            //
            this._backgroundImageSelectButton.Location = new System.Drawing.Point(380, 128);
            this._backgroundImageSelectButton.Name = "_backgroundImageSelectButton";
            this._backgroundImageSelectButton.FlatStyle = FlatStyle.System;
            this._backgroundImageSelectButton.Size = new System.Drawing.Size(19, 19);
            this._backgroundImageSelectButton.TabIndex = 12;
            this._backgroundImageSelectButton.Text = "...";
            this._backgroundImageSelectButton.Click += new EventHandler(OnSelectBackgroundImage);
            //
            // _imageStyleLabel
            //
            this._imageStyleLabel.Location = new System.Drawing.Point(16, 153);
            this._imageStyleLabel.Name = "_imageStyleLabel";
            this._imageStyleLabel.Size = new System.Drawing.Size(96, 16);
            this._imageStyleLabel.TabIndex = 13;
            this._imageStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _imageStyleBox
            //
            this._imageStyleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._imageStyleBox.Location = new System.Drawing.Point(120, 152);
            this._imageStyleBox.Name = "_imageStyleBox";
            this._imageStyleBox.Size = new System.Drawing.Size(112, 19);
            this._imageStyleBox.TabIndex = 14;
            //
            // _applyRenderProfileButton
            //
            this._applyRenderProfileButton.Location = new System.Drawing.Point(280, 176);
            this._applyRenderProfileButton.Name = "_applyRenderProfileButton";
            this._applyRenderProfileButton.FlatStyle = FlatStyle.System;
            this._applyRenderProfileButton.Size = new System.Drawing.Size(120, 24);
            this._applyRenderProfileButton.TabIndex = 15;
            this._applyRenderProfileButton.Click += new EventHandler(OnApplyRenderProfile);
            //
            // _caretGroup
            //
            this._caretGroup.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                                      this._caretStyleLabel,
                                                                                      this._caretStyleBox,
                                                                                      this._caretSpecifyColor,
                                                                                      this._caretColorBox,
                                                                                      this._caretBlink});
            this._caretGroup.Location = new System.Drawing.Point(9, 220);
            this._caretGroup.Name = "_caretGroup";
            this._caretGroup.FlatStyle = FlatStyle.System;
            this._caretGroup.Size = new System.Drawing.Size(416, 72);
            this._caretGroup.TabIndex = 16;
            this._caretGroup.TabStop = false;
            //
            // _caretStyleLabel
            //
            this._caretStyleLabel.Location = new System.Drawing.Point(16, 16);
            this._caretStyleLabel.Name = "_caretStyleLabel";
            this._caretStyleLabel.Size = new System.Drawing.Size(104, 23);
            this._caretStyleLabel.TabIndex = 17;
            this._caretStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // _caretStyleBox
            //
            this._caretStyleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._caretStyleBox.Items.AddRange(GetCaretStyleDescriptions());
            this._caretStyleBox.Location = new System.Drawing.Point(120, 16);
            this._caretStyleBox.Name = "_caretStyle";
            this._caretStyleBox.Size = new System.Drawing.Size(152, 20);
            this._caretStyleBox.TabIndex = 18;
            //
            // _caretBlink
            //
            this._caretBlink.Location = new System.Drawing.Point(296, 16);
            this._caretBlink.Name = "_caretBlink";
            this._caretBlink.Size = new System.Drawing.Size(96, 20);
            this._caretBlink.TabIndex = 19;
            this._caretBlink.FlatStyle = FlatStyle.System;
            //
            // _caretSpecifyColor
            //
            this._caretSpecifyColor.Location = new System.Drawing.Point(16, 40);
            this._caretSpecifyColor.Name = "_caretSpecifyColor";
            this._caretSpecifyColor.Size = new System.Drawing.Size(104, 20);
            this._caretSpecifyColor.TabIndex = 20;
            this._caretSpecifyColor.FlatStyle = FlatStyle.System;
            this._caretSpecifyColor.CheckedChanged += new EventHandler(OnCaretSpecifyColorChanged);
            //
            // _caretColorBox
            //
            this._caretColorBox.Location = new System.Drawing.Point(120, 40);
            this._caretColorBox.Name = "_caretColor";
            this._caretColorBox.Size = new System.Drawing.Size(152, 20);
            this._caretColorBox.TabIndex = 21;
            this._caretColorBox.Enabled = false;

            this.BackColor = ThemeUtil.TabPaneBackColor;
            this._colorFontGroup.ResumeLayout();
            this._caretGroup.ResumeLayout();
        }
 /// <summary>
 /// �f�U�C�i �T�|�[�g�ɕK�v�ȃ��\�b�h�ł��B���̃��\�b�h�̓�e��
 /// �R�[�h �G�f�B�^�ŕύX���Ȃ��ł��������B
 /// </summary>
 protected void InitializeComponent()
 {
     this._okButton = new System.Windows.Forms.Button();
     this._cancelButton = new System.Windows.Forms.Button();
     this._bgColorLabel = new System.Windows.Forms.Label();
     this._bgColorBox = new ColorButton();
     this._textColorLabel = new System.Windows.Forms.Label();
     this._textColorBox = new ColorButton();
     this._editColorEscapeSequence = new Button();
     this._fontLabel = new System.Windows.Forms.Label();
     this._fontDescription = new System.Windows.Forms.Label();
     this._fontSelectButton = new System.Windows.Forms.Button();
     this._fontSample = new Poderosa.Forms.ClearTypeAwareLabel();
     this._backgroundImageLabel = new Label();
     this._backgroundImageBox = new TextBox();
     this._backgroundImageSelectButton = new Button();
     this._imageStyleLabel = new Label();
     this._imageStyleBox = new ComboBox();
     this.SuspendLayout();
     //
     // _bgColorLabel
     //
     this._bgColorLabel.Location = new System.Drawing.Point(16, 16);
     this._bgColorLabel.Name = "_bgColorLabel";
     this._bgColorLabel.Size = new System.Drawing.Size(72, 24);
     this._bgColorLabel.TabIndex = 0;
     this._bgColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _bgColorBox
     //
     this._bgColorBox.Location = new System.Drawing.Point(120, 16);
     this._bgColorBox.Name = "_bgColorBox";
     this._bgColorBox.Size = new System.Drawing.Size(112, 20);
     this._bgColorBox.TabIndex = 1;
     _bgColorBox.ColorChanged += new ColorButton.NewColorEventHandler(this.OnBGColorChanged);
     //
     // _textColorLabel
     //
     this._textColorLabel.Location = new System.Drawing.Point(16, 40);
     this._textColorLabel.Name = "_textColorLabel";
     this._textColorLabel.Size = new System.Drawing.Size(72, 24);
     this._textColorLabel.TabIndex = 2;
     this._textColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _textColorBox
     //
     this._textColorBox.Location = new System.Drawing.Point(120, 40);
     this._textColorBox.Name = "_textColorBox";
     this._textColorBox.Size = new System.Drawing.Size(112, 20);
     this._textColorBox.TabIndex = 3;
     this._textColorBox.ColorChanged += new ColorButton.NewColorEventHandler(this.OnTextColorChanged);
     //
     // _editColorEscapeSequence
     //
     this._editColorEscapeSequence.Location = new Point(120, 72);
     this._editColorEscapeSequence.Size = new Size(216, 24);
     this._editColorEscapeSequence.TabIndex = 4;
     this._editColorEscapeSequence.Click += new EventHandler(OnEditColorEscapeSequence);
     this._editColorEscapeSequence.FlatStyle = FlatStyle.System;
     //
     // _fontLabel
     //
     this._fontLabel.Location = new System.Drawing.Point(16, 96);
     this._fontLabel.Name = "_fontLabel";
     this._fontLabel.Size = new System.Drawing.Size(72, 16);
     this._fontLabel.TabIndex = 5;
     this._fontLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _fontDescription
     //
     this._fontDescription.Location = new System.Drawing.Point(120, 100);
     this._fontDescription.Name = "_fontDescription";
     this._fontDescription.Size = new System.Drawing.Size(168, 24);
     this._fontDescription.TabIndex = 6;
     this._fontDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _fontSelectButton
     //
     this._fontSelectButton.Location = new System.Drawing.Point(296, 100);
     this._fontSelectButton.Name = "_fontSelectButton";
     this._fontSelectButton.FlatStyle = FlatStyle.System;
     this._fontSelectButton.Size = new System.Drawing.Size(64, 23);
     this._fontSelectButton.TabIndex = 7;
     this._fontSelectButton.Click += new System.EventHandler(this.OnFontSelect);
     //
     // _fontSample
     //
     this._fontSample.BackColor = System.Drawing.Color.White;
     this._fontSample.ClearType = false;
     this._fontSample.Location = new System.Drawing.Point(240, 16);
     this._fontSample.Name = "_fontSample";
     this._fontSample.Size = new System.Drawing.Size(120, 46);
     this._fontSample.TabIndex = 8;
     this._fontSample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // _backgroundImageLabel
     //
     this._backgroundImageLabel.Location = new System.Drawing.Point(16, 128);
     this._backgroundImageLabel.Name = "_backgroundImageLabel";
     this._backgroundImageLabel.Size = new System.Drawing.Size(72, 16);
     this._backgroundImageLabel.TabIndex = 9;
     this._backgroundImageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _backgroundImageBox
     //
     this._backgroundImageBox.Location = new System.Drawing.Point(120, 128);
     this._backgroundImageBox.Name = "_backgroundImageBox";
     this._backgroundImageBox.Size = new System.Drawing.Size(220, 19);
     this._backgroundImageBox.TabIndex = 10;
     //
     // _backgroundImageSelectButton
     //
     this._backgroundImageSelectButton.Location = new System.Drawing.Point(340, 128);
     this._backgroundImageSelectButton.Name = "_backgroundImageSelectButton";
     this._backgroundImageSelectButton.FlatStyle = FlatStyle.System;
     this._backgroundImageSelectButton.Size = new System.Drawing.Size(19, 19);
     this._backgroundImageSelectButton.TabIndex = 11;
     this._backgroundImageSelectButton.Text = "...";
     this._backgroundImageSelectButton.Click += new EventHandler(OnSelectBackgroundImage);
     //
     // _imageStyleLabel
     //
     this._imageStyleLabel.Location = new System.Drawing.Point(16, 152);
     this._imageStyleLabel.Name = "_imageStyleLabel";
     this._imageStyleLabel.Size = new System.Drawing.Size(96, 16);
     this._imageStyleLabel.TabIndex = 12;
     this._imageStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _imageStyleBox
     //
     this._imageStyleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._imageStyleBox.Location = new System.Drawing.Point(120, 152);
     this._imageStyleBox.Name = "_imageStyleBox";
     this._imageStyleBox.Size = new System.Drawing.Size(112, 19);
     this._imageStyleBox.TabIndex = 13;
     //
     // _okButton
     //
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._okButton.Location = new System.Drawing.Point(208, 180);
     this._okButton.Name = "_okButton";
     this._okButton.FlatStyle = FlatStyle.System;
     this._okButton.TabIndex = 14;
     this._okButton.Click += new EventHandler(OnOK);
     //
     // _cancelButton
     //
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.Location = new System.Drawing.Point(288, 180);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.FlatStyle = FlatStyle.System;
     this._cancelButton.TabIndex = 15;
     //
     // EditRenderProfile
     //
     this.AcceptButton = this._okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.CancelButton = this._cancelButton;
     this.ClientSize = new System.Drawing.Size(368, 208);
     this.Controls.Add(this._cancelButton);
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._bgColorLabel);
     this.Controls.Add(this._bgColorBox);
     this.Controls.Add(this._textColorLabel);
     this.Controls.Add(this._textColorBox);
     this.Controls.Add(this._editColorEscapeSequence);
     this.Controls.Add(this._fontLabel);
     this.Controls.Add(this._fontDescription);
     this.Controls.Add(this._fontSelectButton);
     this.Controls.Add(this._fontSample);
     this.Controls.Add(this._backgroundImageLabel);
     this.Controls.Add(this._backgroundImageBox);
     this.Controls.Add(this._backgroundImageSelectButton);
     this.Controls.Add(this._imageStyleLabel);
     this.Controls.Add(this._imageStyleBox);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "EditRenderProfile";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.ResumeLayout(false);
 }
        private void InitializeComponent() {
            this._colorFontGroup = new System.Windows.Forms.GroupBox();
            this._darkenEsColorForBackground = new System.Windows.Forms.CheckBox();
            this._bgColorLabel = new System.Windows.Forms.Label();
            this._bgColorBox = new Poderosa.UI.ColorButton();
            this._textColorLabel = new System.Windows.Forms.Label();
            this._textColorBox = new Poderosa.UI.ColorButton();
            this._editColorEscapeSequence = new System.Windows.Forms.Button();
            this._fontLabel = new System.Windows.Forms.Label();
            this._fontDescription = new System.Windows.Forms.Label();
            this._fontSelectButton = new System.Windows.Forms.Button();
            this._fontSample = new Poderosa.Forms.ClearTypeAwareLabel();
            this._backgroundImageLabel = new System.Windows.Forms.Label();
            this._backgroundImageBox = new System.Windows.Forms.TextBox();
            this._backgroundImageSelectButton = new System.Windows.Forms.Button();
            this._imageStyleLabel = new System.Windows.Forms.Label();
            this._imageStyleBox = new System.Windows.Forms.ComboBox();
            this._lineSpacingBox = new System.Windows.Forms.NumericUpDown();
            this._lineSpacingLabel = new System.Windows.Forms.Label();
            this._pixelsLabel = new System.Windows.Forms.Label();
            this._caretGroup = new System.Windows.Forms.GroupBox();
            this._caretStyleLabel = new System.Windows.Forms.Label();
            this._caretStyleBox = new System.Windows.Forms.ComboBox();
            this._caretSpecifyColor = new System.Windows.Forms.CheckBox();
            this._caretColorBox = new Poderosa.UI.ColorButton();
            this._caretBlink = new System.Windows.Forms.CheckBox();
            this._caretColorLabel = new System.Windows.Forms.Label();
            this._colorFontGroup.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this._lineSpacingBox)).BeginInit();
            this._caretGroup.SuspendLayout();
            this.SuspendLayout();
            // 
            // _colorFontGroup
            // 
            this._colorFontGroup.Controls.Add(this._darkenEsColorForBackground);
            this._colorFontGroup.Controls.Add(this._bgColorLabel);
            this._colorFontGroup.Controls.Add(this._bgColorBox);
            this._colorFontGroup.Controls.Add(this._textColorLabel);
            this._colorFontGroup.Controls.Add(this._textColorBox);
            this._colorFontGroup.Controls.Add(this._editColorEscapeSequence);
            this._colorFontGroup.Controls.Add(this._fontLabel);
            this._colorFontGroup.Controls.Add(this._fontDescription);
            this._colorFontGroup.Controls.Add(this._fontSelectButton);
            this._colorFontGroup.Controls.Add(this._fontSample);
            this._colorFontGroup.Controls.Add(this._backgroundImageLabel);
            this._colorFontGroup.Controls.Add(this._backgroundImageBox);
            this._colorFontGroup.Controls.Add(this._backgroundImageSelectButton);
            this._colorFontGroup.Controls.Add(this._imageStyleLabel);
            this._colorFontGroup.Controls.Add(this._imageStyleBox);
            this._colorFontGroup.Controls.Add(this._lineSpacingBox);
            this._colorFontGroup.Controls.Add(this._lineSpacingLabel);
            this._colorFontGroup.Controls.Add(this._pixelsLabel);
            this._colorFontGroup.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._colorFontGroup.Location = new System.Drawing.Point(9, 8);
            this._colorFontGroup.Name = "_colorFontGroup";
            this._colorFontGroup.Size = new System.Drawing.Size(416, 206);
            this._colorFontGroup.TabIndex = 0;
            this._colorFontGroup.TabStop = false;
            // 
            // _darkenEsColorForBackground
            // 
            this._darkenEsColorForBackground.AutoSize = true;
            this._darkenEsColorForBackground.Location = new System.Drawing.Point(143, 95);
            this._darkenEsColorForBackground.Name = "_darkenEsColorForBackground";
            this._darkenEsColorForBackground.Size = new System.Drawing.Size(15, 14);
            this._darkenEsColorForBackground.TabIndex = 6;
            this._darkenEsColorForBackground.UseVisualStyleBackColor = true;
            // 
            // _bgColorLabel
            // 
            this._bgColorLabel.Location = new System.Drawing.Point(16, 16);
            this._bgColorLabel.Name = "_bgColorLabel";
            this._bgColorLabel.Size = new System.Drawing.Size(72, 24);
            this._bgColorLabel.TabIndex = 1;
            this._bgColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _bgColorBox
            // 
            this._bgColorBox.BackColor = System.Drawing.SystemColors.Control;
            this._bgColorBox.Location = new System.Drawing.Point(120, 16);
            this._bgColorBox.Name = "_bgColorBox";
            this._bgColorBox.SelectedColor = System.Drawing.Color.Empty;
            this._bgColorBox.Size = new System.Drawing.Size(152, 20);
            this._bgColorBox.TabIndex = 2;
            this._bgColorBox.UseVisualStyleBackColor = false;
            this._bgColorBox.ColorChanged += new Poderosa.UI.ColorButton.NewColorEventHandler(this.OnBGColorChanged);
            // 
            // _textColorLabel
            // 
            this._textColorLabel.Location = new System.Drawing.Point(16, 40);
            this._textColorLabel.Name = "_textColorLabel";
            this._textColorLabel.Size = new System.Drawing.Size(72, 24);
            this._textColorLabel.TabIndex = 3;
            this._textColorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _textColorBox
            // 
            this._textColorBox.BackColor = System.Drawing.SystemColors.Control;
            this._textColorBox.Location = new System.Drawing.Point(120, 40);
            this._textColorBox.Name = "_textColorBox";
            this._textColorBox.SelectedColor = System.Drawing.Color.Empty;
            this._textColorBox.Size = new System.Drawing.Size(152, 20);
            this._textColorBox.TabIndex = 4;
            this._textColorBox.UseVisualStyleBackColor = false;
            this._textColorBox.ColorChanged += new Poderosa.UI.ColorButton.NewColorEventHandler(this.OnTextColorChanged);
            // 
            // _editColorEscapeSequence
            // 
            this._editColorEscapeSequence.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._editColorEscapeSequence.Location = new System.Drawing.Point(120, 66);
            this._editColorEscapeSequence.Name = "_editColorEscapeSequence";
            this._editColorEscapeSequence.Size = new System.Drawing.Size(280, 24);
            this._editColorEscapeSequence.TabIndex = 5;
            this._editColorEscapeSequence.Click += new System.EventHandler(this.OnEditColorEscapeSequence);
            // 
            // _fontLabel
            // 
            this._fontLabel.Location = new System.Drawing.Point(16, 122);
            this._fontLabel.Name = "_fontLabel";
            this._fontLabel.Size = new System.Drawing.Size(72, 16);
            this._fontLabel.TabIndex = 7;
            this._fontLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _fontDescription
            // 
            this._fontDescription.Location = new System.Drawing.Point(120, 118);
            this._fontDescription.Name = "_fontDescription";
            this._fontDescription.Size = new System.Drawing.Size(210, 24);
            this._fontDescription.TabIndex = 8;
            this._fontDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _fontSelectButton
            // 
            this._fontSelectButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._fontSelectButton.Location = new System.Drawing.Point(340, 118);
            this._fontSelectButton.Name = "_fontSelectButton";
            this._fontSelectButton.Size = new System.Drawing.Size(60, 23);
            this._fontSelectButton.TabIndex = 9;
            this._fontSelectButton.Click += new System.EventHandler(this.OnFontSelect);
            // 
            // _fontSample
            // 
            this._fontSample.BackColor = System.Drawing.Color.White;
            this._fontSample.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._fontSample.ClearType = false;
            this._fontSample.Location = new System.Drawing.Point(280, 16);
            this._fontSample.Name = "_fontSample";
            this._fontSample.Size = new System.Drawing.Size(120, 46);
            this._fontSample.TabIndex = 0;
            this._fontSample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // _backgroundImageLabel
            // 
            this._backgroundImageLabel.Location = new System.Drawing.Point(16, 150);
            this._backgroundImageLabel.Name = "_backgroundImageLabel";
            this._backgroundImageLabel.Size = new System.Drawing.Size(72, 16);
            this._backgroundImageLabel.TabIndex = 10;
            this._backgroundImageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _backgroundImageBox
            // 
            this._backgroundImageBox.Location = new System.Drawing.Point(120, 150);
            this._backgroundImageBox.Name = "_backgroundImageBox";
            this._backgroundImageBox.Size = new System.Drawing.Size(260, 19);
            this._backgroundImageBox.TabIndex = 11;
            // 
            // _backgroundImageSelectButton
            // 
            this._backgroundImageSelectButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._backgroundImageSelectButton.Location = new System.Drawing.Point(380, 150);
            this._backgroundImageSelectButton.Name = "_backgroundImageSelectButton";
            this._backgroundImageSelectButton.Size = new System.Drawing.Size(19, 19);
            this._backgroundImageSelectButton.TabIndex = 12;
            this._backgroundImageSelectButton.Text = "...";
            this._backgroundImageSelectButton.Click += new System.EventHandler(this.OnSelectBackgroundImage);
            // 
            // _imageStyleLabel
            // 
            this._imageStyleLabel.Location = new System.Drawing.Point(16, 175);
            this._imageStyleLabel.Name = "_imageStyleLabel";
            this._imageStyleLabel.Size = new System.Drawing.Size(96, 16);
            this._imageStyleLabel.TabIndex = 13;
            this._imageStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _imageStyleBox
            // 
            this._imageStyleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._imageStyleBox.Location = new System.Drawing.Point(120, 174);
            this._imageStyleBox.Name = "_imageStyleBox";
            this._imageStyleBox.Size = new System.Drawing.Size(100, 20);
            this._imageStyleBox.TabIndex = 14;
            // 
            // _lineSpacingBox
            // 
            this._lineSpacingBox.Location = new System.Drawing.Point(338, 174);
            this._lineSpacingBox.Maximum = new decimal(new int[] {
            10,
            0,
            0,
            0});
            this._lineSpacingBox.Name = "_lineSpacingBox";
            this._lineSpacingBox.Size = new System.Drawing.Size(35, 19);
            this._lineSpacingBox.TabIndex = 16;
            // 
            // _lineSpacingLabel
            // 
            this._lineSpacingLabel.Location = new System.Drawing.Point(270, 175);
            this._lineSpacingLabel.Name = "_lineSpacingLabel";
            this._lineSpacingLabel.Size = new System.Drawing.Size(69, 16);
            this._lineSpacingLabel.TabIndex = 15;
            this._lineSpacingLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _pixelsLabel
            // 
            this._pixelsLabel.AutoSize = true;
            this._pixelsLabel.Location = new System.Drawing.Point(373, 175);
            this._pixelsLabel.Name = "_pixelsLabel";
            this._pixelsLabel.Size = new System.Drawing.Size(0, 12);
            this._pixelsLabel.TabIndex = 17;
            // 
            // _caretGroup
            // 
            this._caretGroup.Controls.Add(this._caretStyleLabel);
            this._caretGroup.Controls.Add(this._caretStyleBox);
            this._caretGroup.Controls.Add(this._caretSpecifyColor);
            this._caretGroup.Controls.Add(this._caretColorBox);
            this._caretGroup.Controls.Add(this._caretBlink);
            this._caretGroup.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._caretGroup.Location = new System.Drawing.Point(9, 220);
            this._caretGroup.Name = "_caretGroup";
            this._caretGroup.Size = new System.Drawing.Size(416, 72);
            this._caretGroup.TabIndex = 16;
            this._caretGroup.TabStop = false;
            // 
            // _caretStyleLabel
            // 
            this._caretStyleLabel.Location = new System.Drawing.Point(16, 16);
            this._caretStyleLabel.Name = "_caretStyleLabel";
            this._caretStyleLabel.Size = new System.Drawing.Size(104, 23);
            this._caretStyleLabel.TabIndex = 0;
            this._caretStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // _caretStyleBox
            // 
            this._caretStyleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._caretStyleBox.Location = new System.Drawing.Point(120, 16);
            this._caretStyleBox.Name = "_caretStyleBox";
            this._caretStyleBox.Size = new System.Drawing.Size(152, 20);
            this._caretStyleBox.TabIndex = 1;
            // 
            // _caretSpecifyColor
            // 
            this._caretSpecifyColor.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._caretSpecifyColor.Location = new System.Drawing.Point(16, 40);
            this._caretSpecifyColor.Name = "_caretSpecifyColor";
            this._caretSpecifyColor.Size = new System.Drawing.Size(104, 20);
            this._caretSpecifyColor.TabIndex = 3;
            this._caretSpecifyColor.CheckedChanged += new System.EventHandler(this.OnCaretSpecifyColorChanged);
            // 
            // _caretColorBox
            // 
            this._caretColorBox.BackColor = System.Drawing.SystemColors.Control;
            this._caretColorBox.Enabled = false;
            this._caretColorBox.Location = new System.Drawing.Point(120, 40);
            this._caretColorBox.Name = "_caretColorBox";
            this._caretColorBox.SelectedColor = System.Drawing.Color.Empty;
            this._caretColorBox.Size = new System.Drawing.Size(151, 20);
            this._caretColorBox.TabIndex = 4;
            this._caretColorBox.UseVisualStyleBackColor = false;
            // 
            // _caretBlink
            // 
            this._caretBlink.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._caretBlink.Location = new System.Drawing.Point(296, 16);
            this._caretBlink.Name = "_caretBlink";
            this._caretBlink.Size = new System.Drawing.Size(96, 20);
            this._caretBlink.TabIndex = 2;
            // 
            // _caretColorLabel
            // 
            this._caretColorLabel.Location = new System.Drawing.Point(0, 0);
            this._caretColorLabel.Name = "_caretColorLabel";
            this._caretColorLabel.Size = new System.Drawing.Size(100, 23);
            this._caretColorLabel.TabIndex = 0;
            // 
            // DisplayOptionPanel
            // 
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this._caretGroup);
            this.Controls.Add(this._colorFontGroup);
            this.Name = "DisplayOptionPanel";
            this.Size = new System.Drawing.Size(448, 348);
            this._colorFontGroup.ResumeLayout(false);
            this._colorFontGroup.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this._lineSpacingBox)).EndInit();
            this._caretGroup.ResumeLayout(false);
            this.ResumeLayout(false);

        }