/// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 void InitializeComponent()
 {
     components    = new Container();
     txtOutput     = new FastColoredTextBox();
     txtInput      = new FastColoredTextBox();
     btnChangeCase = new Button();
     btnClipboard  = new Button();
     pnlLayout     = new TableLayoutPanel();
     pnlLayout.SuspendLayout();
     SuspendLayout();
     ((ISupportInitialize)txtOutput).BeginInit();
     ((ISupportInitialize)txtInput).BeginInit();
     //
     // txtOutput
     //
     txtOutput.Location = new Point(3, 152);
     txtOutput.Name     = "txtOutput";
     txtOutput.ReadOnly = true;
     txtOutput.Size     = new Size(309, 67);
     txtOutput.TabIndex = 7;
     TextEditorHelper.Initialize(txtOutput);
     //
     // txtInput
     //
     txtInput.Location = new Point(3, 152);
     txtInput.Name     = "txtInput";
     txtInput.Size     = new Size(309, 67);
     txtInput.TabIndex = 5;
     TextEditorHelper.Initialize(txtInput);
     //
     // btnChangeCase
     //
     btnChangeCase.Dock     = DockStyle.Fill;
     btnChangeCase.Location = new Point(3, 259);
     btnChangeCase.Name     = "btnChangeCase";
     btnChangeCase.Size     = new Size(844, 39);
     btnChangeCase.TabIndex = 6;
     btnChangeCase.Text     = "Change Case";
     btnChangeCase.UseVisualStyleBackColor = true;
     btnChangeCase.Click += btnChangeCase_Click;
     //
     // btnClipboard
     //
     btnClipboard.Dock     = DockStyle.Fill;
     btnClipboard.Location = new Point(3, 530);
     btnClipboard.Name     = "btnClipboard";
     btnClipboard.Size     = new Size(844, 41);
     btnClipboard.TabIndex = 8;
     btnClipboard.Text     = "Copy to Clipboard";
     btnClipboard.UseVisualStyleBackColor = true;
     btnClipboard.Click += btnClipboard_Click;
     //
     // pnlLayout
     //
     pnlLayout.ColumnCount = 1;
     pnlLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
     pnlLayout.Controls.Add(btnClipboard, 0, 3);
     pnlLayout.Controls.Add(txtOutput, 0, 2);
     pnlLayout.Controls.Add(btnChangeCase, 0, 1);
     pnlLayout.Controls.Add(txtInput, 0, 0);
     pnlLayout.Dock     = DockStyle.Fill;
     pnlLayout.Location = new Point(0, 0);
     pnlLayout.Name     = "pnlLayout";
     pnlLayout.RowCount = 4;
     pnlLayout.RowStyles.Add(new RowStyle(SizeType.Absolute, 241F));
     pnlLayout.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
     pnlLayout.RowStyles.Add(new RowStyle(SizeType.Absolute, 241F));
     pnlLayout.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
     pnlLayout.Size     = new Size(850, 574);
     pnlLayout.TabIndex = 10;
     //
     // ChangeCaseView
     //
     AutoScaleDimensions = new SizeF(7F, 18F);
     AutoScaleMode       = AutoScaleMode.Font;
     BackColor           = Color.Transparent;
     Controls.Add(pnlLayout);
     Font   = new Font("Trebuchet MS", 9.75F, FontStyle.Regular, GraphicsUnit.Point, 0);
     Margin = new Padding(3, 4, 3, 4);
     Name   = "ChangeCaseView";
     Size   = new Size(850, 574);
     ((ISupportInitialize)txtOutput).EndInit();
     ((ISupportInitialize)txtInput).EndInit();
     pnlLayout.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
Beispiel #2
0
 void InitializeInternalComponent()
 {
     TextEditorHelper.Initialize(InputTextBox);
     TextEditorHelper.Initialize(OutputTextBox);
 }