366 lines
19 KiB
C#
366 lines
19 KiB
C#
namespace Compiler
|
|
{
|
|
partial class FormCompiler
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCompiler));
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.txtBox = new FastColoredTextBoxNS.FastColoredTextBox();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.wordWraoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.comboFrame = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.comboType = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.listBoxReferences = new System.Windows.Forms.ListBox();
|
|
this.menuReferences = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.comboLang = new System.Windows.Forms.ComboBox();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtBox)).BeginInit();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.menuReferences.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panel2.Controls.Add(this.txtBox);
|
|
this.panel2.Location = new System.Drawing.Point(8, 22);
|
|
this.panel2.Margin = new System.Windows.Forms.Padding(2);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(579, 319);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// txtBox
|
|
//
|
|
this.txtBox.AutoCompleteBracketsList = new char[] {
|
|
'(',
|
|
')',
|
|
'{',
|
|
'}',
|
|
'[',
|
|
']',
|
|
'\"',
|
|
'\"',
|
|
'\'',
|
|
'\''};
|
|
this.txtBox.AutoIndentCharsPatterns = "\r\n^\\s*[\\w\\.]+(\\s\\w+)?\\s*(?<range>=)\\s*(?<range>[^;]+);\r\n^\\s*(case|default)\\s*[^:]" +
|
|
"*(?<range>:)\\s*(?<range>[^;]+);\r\n";
|
|
this.txtBox.AutoScrollMinSize = new System.Drawing.Size(27, 14);
|
|
this.txtBox.BackBrush = null;
|
|
this.txtBox.BracketsHighlightStrategy = FastColoredTextBoxNS.BracketsHighlightStrategy.Strategy2;
|
|
this.txtBox.CharHeight = 14;
|
|
this.txtBox.CharWidth = 8;
|
|
this.txtBox.Cursor = System.Windows.Forms.Cursors.IBeam;
|
|
this.txtBox.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
|
|
this.txtBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtBox.Font = new System.Drawing.Font("Courier New", 9.75F);
|
|
this.txtBox.IsReplaceMode = false;
|
|
this.txtBox.Language = FastColoredTextBoxNS.Language.CSharp;
|
|
this.txtBox.LeftBracket = '(';
|
|
this.txtBox.LeftBracket2 = '{';
|
|
this.txtBox.Location = new System.Drawing.Point(0, 0);
|
|
this.txtBox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtBox.Name = "txtBox";
|
|
this.txtBox.Paddings = new System.Windows.Forms.Padding(0);
|
|
this.txtBox.RightBracket = ')';
|
|
this.txtBox.RightBracket2 = '}';
|
|
this.txtBox.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.txtBox.Size = new System.Drawing.Size(579, 319);
|
|
this.txtBox.TabIndex = 3;
|
|
this.txtBox.Zoom = 100;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.optionsToolStripMenuItem,
|
|
this.editToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 1, 0, 1);
|
|
this.menuStrip1.Size = new System.Drawing.Size(741, 24);
|
|
this.menuStrip1.TabIndex = 2;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// optionsToolStripMenuItem
|
|
//
|
|
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.runToolStripMenuItem});
|
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(66, 22);
|
|
this.optionsToolStripMenuItem.Text = "Options";
|
|
//
|
|
// runToolStripMenuItem
|
|
//
|
|
this.runToolStripMenuItem.Name = "runToolStripMenuItem";
|
|
this.runToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
|
|
this.runToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
|
this.runToolStripMenuItem.Text = "Compile";
|
|
this.runToolStripMenuItem.Click += new System.EventHandler(this.RunToolStripMenuItem_Click);
|
|
//
|
|
// editToolStripMenuItem
|
|
//
|
|
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.wordWraoToolStripMenuItem});
|
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
|
this.editToolStripMenuItem.Size = new System.Drawing.Size(42, 22);
|
|
this.editToolStripMenuItem.Text = "Edit";
|
|
//
|
|
// wordWraoToolStripMenuItem
|
|
//
|
|
this.wordWraoToolStripMenuItem.Name = "wordWraoToolStripMenuItem";
|
|
this.wordWraoToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
this.wordWraoToolStripMenuItem.Text = "Word Wrap";
|
|
this.wordWraoToolStripMenuItem.Click += new System.EventHandler(this.WordWraoToolStripMenuItem_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.label4);
|
|
this.panel1.Controls.Add(this.comboFrame);
|
|
this.panel1.Controls.Add(this.label3);
|
|
this.panel1.Controls.Add(this.comboType);
|
|
this.panel1.Controls.Add(this.label2);
|
|
this.panel1.Controls.Add(this.listBoxReferences);
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Controls.Add(this.comboLang);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.panel1.Location = new System.Drawing.Point(591, 24);
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(150, 324);
|
|
this.panel1.TabIndex = 3;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(3, 136);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(59, 12);
|
|
this.label4.TabIndex = 7;
|
|
this.label4.Text = "Framework";
|
|
//
|
|
// comboFrame
|
|
//
|
|
this.comboFrame.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.comboFrame.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboFrame.FormattingEnabled = true;
|
|
this.comboFrame.Items.AddRange(new object[] {
|
|
"v2.0",
|
|
"v4.0"});
|
|
this.comboFrame.Location = new System.Drawing.Point(5, 157);
|
|
this.comboFrame.Margin = new System.Windows.Forms.Padding(2);
|
|
this.comboFrame.Name = "comboFrame";
|
|
this.comboFrame.Size = new System.Drawing.Size(138, 20);
|
|
this.comboFrame.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(3, 77);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(35, 12);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Type:";
|
|
//
|
|
// comboType
|
|
//
|
|
this.comboType.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.comboType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboType.FormattingEnabled = true;
|
|
this.comboType.Items.AddRange(new object[] {
|
|
"winexe",
|
|
"library"});
|
|
this.comboType.Location = new System.Drawing.Point(5, 98);
|
|
this.comboType.Margin = new System.Windows.Forms.Padding(2);
|
|
this.comboType.Name = "comboType";
|
|
this.comboType.Size = new System.Drawing.Size(138, 20);
|
|
this.comboType.TabIndex = 4;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(3, 201);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(71, 12);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "References:";
|
|
//
|
|
// listBoxReferences
|
|
//
|
|
this.listBoxReferences.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.listBoxReferences.ContextMenuStrip = this.menuReferences;
|
|
this.listBoxReferences.FormattingEnabled = true;
|
|
this.listBoxReferences.ItemHeight = 12;
|
|
this.listBoxReferences.Items.AddRange(new object[] {
|
|
"System.dll",
|
|
"System.Windows.Forms.dll",
|
|
"Microsoft.VisualBasic.dll",
|
|
"System.Management.dll",
|
|
"System.Drawing.dll"});
|
|
this.listBoxReferences.Location = new System.Drawing.Point(5, 223);
|
|
this.listBoxReferences.Margin = new System.Windows.Forms.Padding(2);
|
|
this.listBoxReferences.Name = "listBoxReferences";
|
|
this.listBoxReferences.Size = new System.Drawing.Size(138, 88);
|
|
this.listBoxReferences.TabIndex = 2;
|
|
//
|
|
// menuReferences
|
|
//
|
|
this.menuReferences.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
this.menuReferences.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.addToolStripMenuItem,
|
|
this.removeToolStripMenuItem});
|
|
this.menuReferences.Name = "menuReferences";
|
|
this.menuReferences.ShowImageMargin = false;
|
|
this.menuReferences.Size = new System.Drawing.Size(99, 48);
|
|
//
|
|
// addToolStripMenuItem
|
|
//
|
|
this.addToolStripMenuItem.Name = "addToolStripMenuItem";
|
|
this.addToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
|
|
this.addToolStripMenuItem.Text = "Add";
|
|
this.addToolStripMenuItem.Click += new System.EventHandler(this.AddToolStripMenuItem_Click);
|
|
//
|
|
// removeToolStripMenuItem
|
|
//
|
|
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
|
|
this.removeToolStripMenuItem.Size = new System.Drawing.Size(98, 22);
|
|
this.removeToolStripMenuItem.Text = "Remove";
|
|
this.removeToolStripMenuItem.Click += new System.EventHandler(this.RemoveToolStripMenuItem_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(3, 7);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(59, 12);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Language:";
|
|
//
|
|
// comboLang
|
|
//
|
|
this.comboLang.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.comboLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboLang.FormattingEnabled = true;
|
|
this.comboLang.Items.AddRange(new object[] {
|
|
"C#",
|
|
"VB.NET"});
|
|
this.comboLang.Location = new System.Drawing.Point(5, 28);
|
|
this.comboLang.Margin = new System.Windows.Forms.Padding(2);
|
|
this.comboLang.Name = "comboLang";
|
|
this.comboLang.Size = new System.Drawing.Size(138, 20);
|
|
this.comboLang.TabIndex = 0;
|
|
this.comboLang.SelectedIndexChanged += new System.EventHandler(this.ComboLang_SelectedIndexChanged);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(741, 348);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.Controls.Add(this.panel2);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|
this.Name = "Form1";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Compiler";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.txtBox)).EndInit();
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.menuReferences.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem runToolStripMenuItem;
|
|
private FastColoredTextBoxNS.FastColoredTextBox txtBox;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.ListBox listBoxReferences;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.ComboBox comboLang;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox comboType;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ComboBox comboFrame;
|
|
private System.Windows.Forms.ContextMenuStrip menuReferences;
|
|
private System.Windows.Forms.ToolStripMenuItem addToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem wordWraoToolStripMenuItem;
|
|
}
|
|
}
|
|
|