/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this._okButton = new System.Windows.Forms.Button(); this._cancelButton = new System.Windows.Forms.Button(); this._setToDefaultButton = new 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; // // _setToDefaultButton // this._setToDefaultButton.Location = new System.Drawing.Point(16, 180); this._setToDefaultButton.Size = new Size(96, 23); this._setToDefaultButton.Name = "_setToDefaultButton"; this._setToDefaultButton.FlatStyle = FlatStyle.System; this._setToDefaultButton.TabIndex = 16; this._setToDefaultButton.Click += new EventHandler(OnSetToDefault); // // 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._setToDefaultButton); 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); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this._asciiFontList = new System.Windows.Forms.ListBox(); this._lAsciiFont = new System.Windows.Forms.Label(); this._lFontSize = new System.Windows.Forms.Label(); this._fontSizeList = new ComboBox(); this._checkClearType = new System.Windows.Forms.CheckBox(); this._checkBoldStyle = new CheckBox(); this._checkForceBoldStyle = new CheckBox(); this._lCJKFont = new System.Windows.Forms.Label(); this._cjkFontList = new System.Windows.Forms.ListBox(); this._lASCIISample = new Poderosa.Forms.ClearTypeAwareLabel(); this._lCJKSample = new Poderosa.Forms.ClearTypeAwareLabel(); this._okButton = new System.Windows.Forms.Button(); this._cancelButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // _asciiFontList // this._asciiFontList.ItemHeight = 12; this._asciiFontList.Location = new System.Drawing.Point(8, 112); this._asciiFontList.Name = "_asciiFontList"; this._asciiFontList.Size = new System.Drawing.Size(128, 100); this._asciiFontList.TabIndex = 5; this._asciiFontList.SelectedIndexChanged += new System.EventHandler(this.OnASCIIFontChange); // // _lAsciiFont // this._lAsciiFont.Location = new System.Drawing.Point(8, 88); this._lAsciiFont.Name = "_lAsciiFont"; this._lAsciiFont.Size = new System.Drawing.Size(120, 23); this._lAsciiFont.TabIndex = 3; this._lAsciiFont.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // _lFontSize // this._lFontSize.Location = new System.Drawing.Point(16, 12); this._lFontSize.Name = "_lFontSize"; this._lFontSize.Size = new System.Drawing.Size(104, 16); this._lFontSize.TabIndex = 0; // // _fontSizeList // this._fontSizeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._fontSizeList.Location = new System.Drawing.Point(136, 8); this._fontSizeList.Name = "_fontSizeList"; this._fontSizeList.Size = new System.Drawing.Size(121, 20); this._fontSizeList.TabIndex = 1; this._fontSizeList.SelectedIndexChanged += new System.EventHandler(this.UpdateFontSample); // // _checkClearType // this._checkClearType.Location = new System.Drawing.Point(24, 32); this._checkClearType.Name = "_checkClearType"; this._checkClearType.FlatStyle = FlatStyle.System; this._checkClearType.Size = new System.Drawing.Size(240, 15); this._checkClearType.TabIndex = 2; this._checkClearType.CheckedChanged += new System.EventHandler(this.UpdateFontSample); // // _checkBoldStyle // this._checkBoldStyle.Location = new System.Drawing.Point(24, 50); this._checkBoldStyle.Name = "_checkBoldStyle"; this._checkBoldStyle.FlatStyle = FlatStyle.System; this._checkBoldStyle.Size = new System.Drawing.Size(240, 15); this._checkBoldStyle.TabIndex = 3; this._checkBoldStyle.CheckedChanged += new System.EventHandler(this.UpdateFontSample); // // _checkForceBoldStyle // this._checkForceBoldStyle.Location = new Point(24, 68); this._checkForceBoldStyle.Name = "_checkForceBoldStyle"; this._checkForceBoldStyle.FlatStyle = FlatStyle.System; this._checkForceBoldStyle.Size = new Size(240, 15); this._checkForceBoldStyle.TabIndex = 4; this._checkForceBoldStyle.Checked = false; this._checkForceBoldStyle.CheckedChanged += new EventHandler(this.UpdateFontSample); // // _lCJKFont // this._lCJKFont.Location = new System.Drawing.Point(144, 88); this._lCJKFont.Name = "_lCJKFont"; this._lCJKFont.Size = new System.Drawing.Size(128, 23); this._lCJKFont.TabIndex = 6; this._lCJKFont.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // _cjkFontList // this._cjkFontList.ItemHeight = 12; this._cjkFontList.Location = new System.Drawing.Point(144, 112); this._cjkFontList.Name = "_cjkFontList"; this._cjkFontList.Size = new System.Drawing.Size(128, 100); this._cjkFontList.TabIndex = 7; this._cjkFontList.SelectedIndexChanged += new System.EventHandler(this.OnCJKFontChange); // // _lASCIISample // this._lASCIISample.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this._lASCIISample.ClearType = false; this._lASCIISample.Location = new System.Drawing.Point(8, 216); this._lASCIISample.Name = "_lASCIISample"; this._lASCIISample.Size = new System.Drawing.Size(128, 40); this._lASCIISample.TabIndex = 8; this._lASCIISample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // _lCJKSample // this._lCJKSample.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this._lCJKSample.ClearType = false; this._lCJKSample.Location = new System.Drawing.Point(144, 216); this._lCJKSample.Name = "_lCJKSample"; this._lCJKSample.Size = new System.Drawing.Size(128, 40); this._lCJKSample.TabIndex = 9; this._lCJKSample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // _okButton // this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this._okButton.Location = new System.Drawing.Point(112, 260); this._okButton.Name = "_okButton"; this._okButton.FlatStyle = FlatStyle.System; this._okButton.TabIndex = 10; this._okButton.Click += new System.EventHandler(this.OnOK); // // _cancelButton // this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this._cancelButton.Location = new System.Drawing.Point(200, 260); this._cancelButton.Name = "_cancelButton"; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.TabIndex = 11; this._cancelButton.Click += new System.EventHandler(this.OnCancel); // // GFontDialog // this.AcceptButton = this._okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.CancelButton = this._cancelButton; this.ClientSize = new System.Drawing.Size(282, 295); this.Controls.AddRange(new System.Windows.Forms.Control[] { this._cancelButton, this._okButton, this._lCJKSample, this._lASCIISample, this._cjkFontList, this._lCJKFont, this._checkClearType, this._checkBoldStyle, this._checkForceBoldStyle, this._fontSizeList, this._lFontSize, this._lAsciiFont, this._asciiFontList}); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GFontDialog"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.ResumeLayout(false); }
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); }
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> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this._asciiFontList = new System.Windows.Forms.ListBox(); this._lAsciiFont = new System.Windows.Forms.Label(); this._lFontSize = new System.Windows.Forms.Label(); this._fontSizeList = new ComboBox(); this._checkClearType = new System.Windows.Forms.CheckBox(); this._checkBoldStyle = new CheckBox(); this._checkForceBoldStyle = new CheckBox(); this._lCJKFont = new System.Windows.Forms.Label(); this._cjkFontList = new System.Windows.Forms.ListBox(); this._lASCIISample = new Poderosa.Forms.ClearTypeAwareLabel(); this._lCJKSample = new Poderosa.Forms.ClearTypeAwareLabel(); this._okButton = new System.Windows.Forms.Button(); this._cancelButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // _asciiFontList // this._asciiFontList.ItemHeight = 12; this._asciiFontList.Location = new System.Drawing.Point(8, 112); this._asciiFontList.Name = "_asciiFontList"; this._asciiFontList.Size = new System.Drawing.Size(128, 100); this._asciiFontList.TabIndex = 5; this._asciiFontList.SelectedIndexChanged += new System.EventHandler(this.OnASCIIFontChange); // // _lAsciiFont // this._lAsciiFont.Location = new System.Drawing.Point(8, 88); this._lAsciiFont.Name = "_lAsciiFont"; this._lAsciiFont.Size = new System.Drawing.Size(120, 23); this._lAsciiFont.TabIndex = 3; this._lAsciiFont.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // _lFontSize // this._lFontSize.Location = new System.Drawing.Point(16, 12); this._lFontSize.Name = "_lFontSize"; this._lFontSize.Size = new System.Drawing.Size(104, 16); this._lFontSize.TabIndex = 0; // // _fontSizeList // this._fontSizeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._fontSizeList.Location = new System.Drawing.Point(136, 8); this._fontSizeList.Name = "_fontSizeList"; this._fontSizeList.Size = new System.Drawing.Size(121, 20); this._fontSizeList.TabIndex = 1; this._fontSizeList.SelectedIndexChanged += new System.EventHandler(this.UpdateFontSample); // // _checkClearType // this._checkClearType.Location = new System.Drawing.Point(24, 32); this._checkClearType.Name = "_checkClearType"; this._checkClearType.FlatStyle = FlatStyle.System; this._checkClearType.Size = new System.Drawing.Size(240, 15); this._checkClearType.TabIndex = 2; this._checkClearType.CheckedChanged += new System.EventHandler(this.UpdateFontSample); // // _checkBoldStyle // this._checkBoldStyle.Location = new System.Drawing.Point(24, 50); this._checkBoldStyle.Name = "_checkBoldStyle"; this._checkBoldStyle.FlatStyle = FlatStyle.System; this._checkBoldStyle.Size = new System.Drawing.Size(240, 15); this._checkBoldStyle.TabIndex = 3; this._checkBoldStyle.CheckedChanged += new System.EventHandler(this.UpdateFontSample); // // _checkForceBoldStyle // this._checkForceBoldStyle.Location = new Point(24, 68); this._checkForceBoldStyle.Name = "_checkForceBoldStyle"; this._checkForceBoldStyle.FlatStyle = FlatStyle.System; this._checkForceBoldStyle.Size = new Size(240, 15); this._checkForceBoldStyle.TabIndex = 4; this._checkForceBoldStyle.Checked = false; this._checkForceBoldStyle.CheckedChanged += new EventHandler(this.UpdateFontSample); // // _lCJKFont // this._lCJKFont.Location = new System.Drawing.Point(144, 88); this._lCJKFont.Name = "_lCJKFont"; this._lCJKFont.Size = new System.Drawing.Size(128, 23); this._lCJKFont.TabIndex = 6; this._lCJKFont.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // _cjkFontList // this._cjkFontList.ItemHeight = 12; this._cjkFontList.Location = new System.Drawing.Point(144, 112); this._cjkFontList.Name = "_cjkFontList"; this._cjkFontList.Size = new System.Drawing.Size(128, 100); this._cjkFontList.TabIndex = 7; this._cjkFontList.SelectedIndexChanged += new System.EventHandler(this.OnCJKFontChange); // // _lASCIISample // this._lASCIISample.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this._lASCIISample.ClearType = false; this._lASCIISample.Location = new System.Drawing.Point(8, 216); this._lASCIISample.Name = "_lASCIISample"; this._lASCIISample.Size = new System.Drawing.Size(128, 40); this._lASCIISample.TabIndex = 8; this._lASCIISample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // _lCJKSample // this._lCJKSample.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this._lCJKSample.ClearType = false; this._lCJKSample.Location = new System.Drawing.Point(144, 216); this._lCJKSample.Name = "_lCJKSample"; this._lCJKSample.Size = new System.Drawing.Size(128, 40); this._lCJKSample.TabIndex = 9; this._lCJKSample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // _okButton // this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK; this._okButton.Location = new System.Drawing.Point(112, 260); this._okButton.Name = "_okButton"; this._okButton.FlatStyle = FlatStyle.System; this._okButton.TabIndex = 10; this._okButton.Click += new System.EventHandler(this.OnOK); // // _cancelButton // this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this._cancelButton.Location = new System.Drawing.Point(200, 260); this._cancelButton.Name = "_cancelButton"; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.TabIndex = 11; this._cancelButton.Click += new System.EventHandler(this.OnCancel); // // GFontDialog // this.AcceptButton = this._okButton; this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.CancelButton = this._cancelButton; this.ClientSize = new System.Drawing.Size(282, 295); this.Controls.AddRange(new System.Windows.Forms.Control[] { this._cancelButton, this._okButton, this._lCJKSample, this._lASCIISample, this._cjkFontList, this._lCJKFont, this._checkClearType, this._checkBoldStyle, this._checkForceBoldStyle, this._fontSizeList, this._lFontSize, this._lAsciiFont, this._asciiFontList }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GFontDialog"; 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); }
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._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._lineSpacingLabel = new Label(); this._lineSpacingBox = new NumericUpDown(); this._pixelsLabel = new Label(); 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._lineSpacingBox, this._lineSpacingLabel, this._pixelsLabel }); this._colorFontGroup.Location = new System.Drawing.Point(9, 8); this._colorFontGroup.Name = "_colorFontGroup"; this._colorFontGroup.FlatStyle = System.Windows.Forms.FlatStyle.System; this._colorFontGroup.Size = new System.Drawing.Size(416, 180); 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(280, 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(210, 24); this._fontDescription.TabIndex = 7; this._fontDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // _fontSelectButton // this._fontSelectButton.Location = new System.Drawing.Point(340, 92); this._fontSelectButton.Name = "_fontSelectButton"; this._fontSelectButton.FlatStyle = FlatStyle.System; this._fontSelectButton.Size = new System.Drawing.Size(60, 23); this._fontSelectButton.TabIndex = 8; 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 = 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(100, 19); this._imageStyleBox.TabIndex = 14; // // _lineSpacingLabel // this._lineSpacingLabel.Location = new Point(270, 153); this._lineSpacingLabel.Name = "_llineSpacing"; this._lineSpacingLabel.Size = new Size(69, 16); this._lineSpacingLabel.TabIndex = 14; this._lineSpacingLabel.TextAlign = ContentAlignment.MiddleLeft; // // _lineSpacingBox // this._lineSpacingBox.Location = new Point(338, 152); this._lineSpacingBox.Maximum = new Decimal(new int[] { 10, 0, 0, 0 }); this._lineSpacingBox.Name = "_lineSpacingBox"; this._lineSpacingBox.Size = new Size(35, 20); this._lineSpacingBox.TabIndex = 18; // // _pixelsLabel // this._pixelsLabel.AutoSize = true; this._pixelsLabel.Location = new Point(373, 155); this._pixelsLabel.Name = "_labelPix"; this._pixelsLabel.Size = new Size(21, 16); this._pixelsLabel.TabIndex = 19; // // _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, 200); 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.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(151, 20); this._caretColorBox.TabIndex = 21; this._caretColorBox.Enabled = false; this.BackColor = SystemColors.Window; this._colorFontGroup.ResumeLayout(); this._caretGroup.ResumeLayout(); }