Exemplo n.º 1
0
 private void InitializeComponent()
 {
     Document document = new Document();
     Document document2 = new Document();
     this.customEditor = new ActiproSoftware.SyntaxEditor.SyntaxEditor();
     this.panBottom = new Panel();
     this.chkTopMost = new CheckBox();
     this.btnApply = new Button();
     this.baseEditor = new ActiproSoftware.SyntaxEditor.SyntaxEditor();
     this.splitContainer = new SplitContainer();
     this.label2 = new Label();
     this.label1 = new Label();
     this.panBottom.SuspendLayout();
     this.splitContainer.Panel1.SuspendLayout();
     this.splitContainer.Panel2.SuspendLayout();
     this.splitContainer.SuspendLayout();
     base.SuspendLayout();
     this.customEditor.set_BracketHighlightingVisible(true);
     this.customEditor.Dock = DockStyle.Fill;
     this.customEditor.set_Document(document);
     this.customEditor.set_IndicatorMarginVisible(false);
     this.customEditor.Location = new Point(0, 0x15);
     this.customEditor.Name = "customEditor";
     this.customEditor.set_ScrollBarType(3);
     this.customEditor.Size = new Size(0x1b1, 240);
     this.customEditor.set_SplitType(0);
     this.customEditor.TabIndex = 0;
     this.customEditor.TextChanged += new EventHandler(this.customEditor_TextChanged);
     this.panBottom.Controls.Add(this.chkTopMost);
     this.panBottom.Controls.Add(this.btnApply);
     this.panBottom.Dock = DockStyle.Bottom;
     this.panBottom.Location = new Point(5, 0x27a);
     this.panBottom.Name = "panBottom";
     this.panBottom.Padding = new Padding(0, 6, 0, 0);
     this.panBottom.Size = new Size(0x1b1, 0x23);
     this.panBottom.TabIndex = 1;
     this.chkTopMost.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.chkTopMost.AutoSize = true;
     this.chkTopMost.Checked = true;
     this.chkTopMost.CheckState = CheckState.Checked;
     this.chkTopMost.Location = new Point(1, 11);
     this.chkTopMost.Name = "chkTopMost";
     this.chkTopMost.Size = new Size(0x9f, 0x17);
     this.chkTopMost.TabIndex = 3;
     this.chkTopMost.Text = "Keep Window on Top";
     this.chkTopMost.UseVisualStyleBackColor = true;
     this.chkTopMost.CheckedChanged += new EventHandler(this.chkTopMost_CheckedChanged);
     this.btnApply.Dock = DockStyle.Right;
     this.btnApply.Location = new Point(0x13d, 6);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new Size(0x74, 0x1d);
     this.btnApply.TabIndex = 0;
     this.btnApply.Text = "&Apply Changes";
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     this.baseEditor.set_BracketHighlightingVisible(true);
     this.baseEditor.Dock = DockStyle.Fill;
     document2.set_ReadOnly(true);
     this.baseEditor.set_Document(document2);
     this.baseEditor.set_IndicatorMarginVisible(false);
     this.baseEditor.Location = new Point(0, 0x15);
     this.baseEditor.Name = "baseEditor";
     this.baseEditor.set_ScrollBarType(3);
     this.baseEditor.Size = new Size(0x1b1, 340);
     this.baseEditor.set_SplitType(0);
     this.baseEditor.TabIndex = 2;
     this.baseEditor.set_UseDisabledRenderingForReadOnlyMode(true);
     this.splitContainer.Dock = DockStyle.Fill;
     this.splitContainer.Location = new Point(5, 6);
     this.splitContainer.Name = "splitContainer";
     this.splitContainer.Orientation = Orientation.Horizontal;
     this.splitContainer.Panel1.Controls.Add(this.baseEditor);
     this.splitContainer.Panel1.Controls.Add(this.label2);
     this.splitContainer.Panel2.Controls.Add(this.customEditor);
     this.splitContainer.Panel2.Controls.Add(this.label1);
     this.splitContainer.Size = new Size(0x1b1, 0x274);
     this.splitContainer.SplitterDistance = 0x169;
     this.splitContainer.SplitterWidth = 6;
     this.splitContainer.TabIndex = 0;
     this.label2.AutoSize = true;
     this.label2.Dock = DockStyle.Top;
     this.label2.Location = new Point(0, 0);
     this.label2.Margin = new Padding(0, 0, 3, 0);
     this.label2.Name = "label2";
     this.label2.Padding = new Padding(0, 0, 0, 2);
     this.label2.Size = new Size(0x4c, 0x15);
     this.label2.TabIndex = 3;
     this.label2.Text = "Base Styles";
     this.label1.AutoSize = true;
     this.label1.Dock = DockStyle.Top;
     this.label1.Location = new Point(0, 0);
     this.label1.Margin = new Padding(0, 0, 3, 0);
     this.label1.Name = "label1";
     this.label1.Padding = new Padding(0, 0, 0, 2);
     this.label1.Size = new Size(0x67, 0x15);
     this.label1.TabIndex = 1;
     this.label1.Text = "Customizations";
     base.AutoScaleDimensions = new SizeF(7f, 17f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x1bb, 0x2a2);
     base.Controls.Add(this.splitContainer);
     base.Controls.Add(this.panBottom);
     base.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     base.Name = "ResultStylesForm";
     base.Padding = new Padding(5, 6, 5, 5);
     base.StartPosition = FormStartPosition.Manual;
     this.Text = "LINQPad Stylesheet Editor";
     this.panBottom.ResumeLayout(false);
     this.panBottom.PerformLayout();
     this.splitContainer.Panel1.ResumeLayout(false);
     this.splitContainer.Panel1.PerformLayout();
     this.splitContainer.Panel2.ResumeLayout(false);
     this.splitContainer.Panel2.PerformLayout();
     this.splitContainer.ResumeLayout(false);
     base.ResumeLayout(false);
 }