Click here to Skip to main content
15,891,850 members
Articles / Programming Languages / C#

Brainf*ck Compiler

Rate me:
Please Sign up or sign in to vote.
4.98/5 (25 votes)
14 Nov 2011CPOL2 min read 47.6K   965   35  
This article shows how to produce executable file from brainf*ck source code using CodeDOM
namespace Brainfuck
{
	partial class MainForm
	{
		/// <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(MainForm));
			this._content = new System.Windows.Forms.TabControl();
			this._tCode = new System.Windows.Forms.TabPage();
			this._txtCode = new System.Windows.Forms.TextBox();
			this._tOptions = new System.Windows.Forms.TabPage();
			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
			this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
			this._cbProduceCode = new System.Windows.Forms.CheckBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this._txtOutputName = new System.Windows.Forms.TextBox();
			this._txtCellCount = new System.Windows.Forms.TextBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
			this._rbNoInput = new System.Windows.Forms.RadioButton();
			this._rbFileInput = new System.Windows.Forms.RadioButton();
			this._rbTextInput = new System.Windows.Forms.RadioButton();
			this._txtInput = new System.Windows.Forms.TextBox();
			this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
			this._txtInputFile = new System.Windows.Forms.TextBox();
			this._btTextInputBrowse = new System.Windows.Forms.Button();
			this._tOutput = new System.Windows.Forms.TabPage();
			this.splitContainer2 = new System.Windows.Forms.SplitContainer();
			this._txtCodegen = new System.Windows.Forms.TextBox();
			this._lvReport = new System.Windows.Forms.ListView();
			this._lcIcon = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			this._lcNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			this._lcDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			this._lcLine = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			this._lcColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
			this._ilReport = new System.Windows.Forms.ImageList(this.components);
			this._ilTabs = new System.Windows.Forms.ImageList(this.components);
			this._toolbar = new System.Windows.Forms.ToolStrip();
			this._tbNew = new System.Windows.Forms.ToolStripButton();
			this._tbOpen = new System.Windows.Forms.ToolStripButton();
			this._tbSave = new System.Windows.Forms.ToolStripButton();
			this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
			this._tbCompile = new System.Windows.Forms.ToolStripButton();
			this._tbExecute = new System.Windows.Forms.ToolStripButton();
			this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
			this._tbAbout = new System.Windows.Forms.ToolStripButton();
			this._dlgOpen = new System.Windows.Forms.OpenFileDialog();
			this._dlgSave = new System.Windows.Forms.SaveFileDialog();
			this._dlgOpenInput = new System.Windows.Forms.OpenFileDialog();
			this.menuStrip1 = new System.Windows.Forms.MenuStrip();
			this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.compileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this._content.SuspendLayout();
			this._tCode.SuspendLayout();
			this._tOptions.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.Panel2.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			this.tableLayoutPanel3.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.tableLayoutPanel2.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.tableLayoutPanel1.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.tableLayoutPanel4.SuspendLayout();
			this.tableLayoutPanel5.SuspendLayout();
			this._tOutput.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
			this.splitContainer2.Panel1.SuspendLayout();
			this.splitContainer2.Panel2.SuspendLayout();
			this.splitContainer2.SuspendLayout();
			this._toolbar.SuspendLayout();
			this.menuStrip1.SuspendLayout();
			this.SuspendLayout();
			// 
			// _content
			// 
			this._content.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._content.Controls.Add(this._tCode);
			this._content.Controls.Add(this._tOptions);
			this._content.Controls.Add(this._tOutput);
			this._content.ImageList = this._ilTabs;
			this._content.Location = new System.Drawing.Point(12, 52);
			this._content.Name = "_content";
			this._content.SelectedIndex = 0;
			this._content.Size = new System.Drawing.Size(660, 498);
			this._content.TabIndex = 1;
			// 
			// _tCode
			// 
			this._tCode.Controls.Add(this._txtCode);
			this._tCode.ImageIndex = 0;
			this._tCode.Location = new System.Drawing.Point(4, 23);
			this._tCode.Name = "_tCode";
			this._tCode.Padding = new System.Windows.Forms.Padding(3);
			this._tCode.Size = new System.Drawing.Size(652, 471);
			this._tCode.TabIndex = 0;
			this._tCode.Text = "Code";
			this._tCode.UseVisualStyleBackColor = true;
			// 
			// _txtCode
			// 
			this._txtCode.AcceptsReturn = true;
			this._txtCode.AcceptsTab = true;
			this._txtCode.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtCode.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this._txtCode.Location = new System.Drawing.Point(3, 3);
			this._txtCode.Multiline = true;
			this._txtCode.Name = "_txtCode";
			this._txtCode.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this._txtCode.Size = new System.Drawing.Size(646, 465);
			this._txtCode.TabIndex = 0;
			this._txtCode.TextChanged += new System.EventHandler(this._txtCode_TextChanged);
			// 
			// _tOptions
			// 
			this._tOptions.Controls.Add(this.splitContainer1);
			this._tOptions.ImageIndex = 1;
			this._tOptions.Location = new System.Drawing.Point(4, 23);
			this._tOptions.Name = "_tOptions";
			this._tOptions.Padding = new System.Windows.Forms.Padding(3);
			this._tOptions.Size = new System.Drawing.Size(652, 471);
			this._tOptions.TabIndex = 1;
			this._tOptions.Text = "Options";
			this._tOptions.UseVisualStyleBackColor = true;
			// 
			// splitContainer1
			// 
			this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer1.Location = new System.Drawing.Point(3, 3);
			this.splitContainer1.Name = "splitContainer1";
			this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// splitContainer1.Panel1
			// 
			this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel3);
			// 
			// splitContainer1.Panel2
			// 
			this.splitContainer1.Panel2.Controls.Add(this.groupBox3);
			this.splitContainer1.Size = new System.Drawing.Size(646, 465);
			this.splitContainer1.SplitterDistance = 106;
			this.splitContainer1.TabIndex = 0;
			// 
			// tableLayoutPanel3
			// 
			this.tableLayoutPanel3.ColumnCount = 2;
			this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
			this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
			this.tableLayoutPanel3.Controls.Add(this.groupBox2, 1, 0);
			this.tableLayoutPanel3.Controls.Add(this.groupBox1, 0, 0);
			this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
			this.tableLayoutPanel3.Name = "tableLayoutPanel3";
			this.tableLayoutPanel3.RowCount = 1;
			this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
			this.tableLayoutPanel3.Size = new System.Drawing.Size(646, 106);
			this.tableLayoutPanel3.TabIndex = 1;
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.tableLayoutPanel2);
			this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
			this.groupBox2.Location = new System.Drawing.Point(326, 3);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(317, 100);
			this.groupBox2.TabIndex = 1;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Codegen Options";
			// 
			// tableLayoutPanel2
			// 
			this.tableLayoutPanel2.AutoSize = true;
			this.tableLayoutPanel2.ColumnCount = 2;
			this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 130F));
			this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
			this.tableLayoutPanel2.Controls.Add(this._cbProduceCode, 1, 0);
			this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top;
			this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
			this.tableLayoutPanel2.Name = "tableLayoutPanel2";
			this.tableLayoutPanel2.RowCount = 2;
			this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel2.Size = new System.Drawing.Size(311, 23);
			this.tableLayoutPanel2.TabIndex = 0;
			// 
			// _cbProduceCode
			// 
			this._cbProduceCode.AutoSize = true;
			this._cbProduceCode.Location = new System.Drawing.Point(133, 3);
			this._cbProduceCode.Name = "_cbProduceCode";
			this._cbProduceCode.Size = new System.Drawing.Size(94, 17);
			this._cbProduceCode.TabIndex = 0;
			this._cbProduceCode.Text = "&Produce Code";
			this._cbProduceCode.UseVisualStyleBackColor = true;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.tableLayoutPanel1);
			this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.groupBox1.Location = new System.Drawing.Point(3, 3);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(317, 100);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Compiler Options";
			// 
			// tableLayoutPanel1
			// 
			this.tableLayoutPanel1.AutoSize = true;
			this.tableLayoutPanel1.ColumnCount = 2;
			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 130F));
			this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
			this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
			this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1);
			this.tableLayoutPanel1.Controls.Add(this._txtOutputName, 1, 0);
			this.tableLayoutPanel1.Controls.Add(this._txtCellCount, 1, 1);
			this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
			this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
			this.tableLayoutPanel1.Name = "tableLayoutPanel1";
			this.tableLayoutPanel1.RowCount = 2;
			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel1.Size = new System.Drawing.Size(311, 52);
			this.tableLayoutPanel1.TabIndex = 0;
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(3, 0);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(120, 13);
			this.label1.TabIndex = 0;
			this.label1.Text = "Output &Assembly Name:";
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(3, 26);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(84, 13);
			this.label2.TabIndex = 2;
			this.label2.Text = "Number of &Cells:";
			// 
			// _txtOutputName
			// 
			this._txtOutputName.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtOutputName.Location = new System.Drawing.Point(133, 3);
			this._txtOutputName.Name = "_txtOutputName";
			this._txtOutputName.Size = new System.Drawing.Size(183, 20);
			this._txtOutputName.TabIndex = 1;
			// 
			// _txtCellCount
			// 
			this._txtCellCount.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtCellCount.Location = new System.Drawing.Point(133, 29);
			this._txtCellCount.Name = "_txtCellCount";
			this._txtCellCount.Size = new System.Drawing.Size(183, 20);
			this._txtCellCount.TabIndex = 3;
			this._txtCellCount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this._txtCellCount_KeyPress);
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.tableLayoutPanel4);
			this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
			this.groupBox3.Location = new System.Drawing.Point(0, 0);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(646, 355);
			this.groupBox3.TabIndex = 0;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "Execution Options";
			// 
			// tableLayoutPanel4
			// 
			this.tableLayoutPanel4.ColumnCount = 1;
			this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
			this.tableLayoutPanel4.Controls.Add(this._rbNoInput, 0, 0);
			this.tableLayoutPanel4.Controls.Add(this._rbFileInput, 0, 1);
			this.tableLayoutPanel4.Controls.Add(this._rbTextInput, 0, 3);
			this.tableLayoutPanel4.Controls.Add(this._txtInput, 0, 4);
			this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel5, 0, 2);
			this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 16);
			this.tableLayoutPanel4.Name = "tableLayoutPanel4";
			this.tableLayoutPanel4.RowCount = 5;
			this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tableLayoutPanel4.Size = new System.Drawing.Size(640, 336);
			this.tableLayoutPanel4.TabIndex = 0;
			// 
			// _rbNoInput
			// 
			this._rbNoInput.AutoSize = true;
			this._rbNoInput.Location = new System.Drawing.Point(3, 3);
			this._rbNoInput.Name = "_rbNoInput";
			this._rbNoInput.Size = new System.Drawing.Size(66, 17);
			this._rbNoInput.TabIndex = 0;
			this._rbNoInput.TabStop = true;
			this._rbNoInput.Text = "&No Input";
			this._rbNoInput.UseVisualStyleBackColor = true;
			this._rbNoInput.CheckedChanged += new System.EventHandler(this._rbNoInput_CheckedChanged);
			// 
			// _rbFileInput
			// 
			this._rbFileInput.AutoSize = true;
			this._rbFileInput.Location = new System.Drawing.Point(3, 26);
			this._rbFileInput.Name = "_rbFileInput";
			this._rbFileInput.Size = new System.Drawing.Size(91, 17);
			this._rbFileInput.TabIndex = 1;
			this._rbFileInput.TabStop = true;
			this._rbFileInput.Text = "Input from &File";
			this._rbFileInput.UseVisualStyleBackColor = true;
			this._rbFileInput.CheckedChanged += new System.EventHandler(this._rbFileInput_CheckedChanged);
			// 
			// _rbTextInput
			// 
			this._rbTextInput.AutoSize = true;
			this._rbTextInput.Location = new System.Drawing.Point(3, 84);
			this._rbTextInput.Name = "_rbTextInput";
			this._rbTextInput.Size = new System.Drawing.Size(73, 17);
			this._rbTextInput.TabIndex = 2;
			this._rbTextInput.TabStop = true;
			this._rbTextInput.Text = "&Text Input";
			this._rbTextInput.UseVisualStyleBackColor = true;
			this._rbTextInput.CheckedChanged += new System.EventHandler(this._rbTextInput_CheckedChanged);
			// 
			// _txtInput
			// 
			this._txtInput.AcceptsReturn = true;
			this._txtInput.AcceptsTab = true;
			this._txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtInput.Location = new System.Drawing.Point(3, 107);
			this._txtInput.Multiline = true;
			this._txtInput.Name = "_txtInput";
			this._txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this._txtInput.Size = new System.Drawing.Size(634, 253);
			this._txtInput.TabIndex = 3;
			// 
			// tableLayoutPanel5
			// 
			this.tableLayoutPanel5.AutoSize = true;
			this.tableLayoutPanel5.ColumnCount = 2;
			this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
			this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
			this.tableLayoutPanel5.Controls.Add(this._txtInputFile, 0, 0);
			this.tableLayoutPanel5.Controls.Add(this._btTextInputBrowse, 1, 0);
			this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tableLayoutPanel5.Location = new System.Drawing.Point(3, 49);
			this.tableLayoutPanel5.Name = "tableLayoutPanel5";
			this.tableLayoutPanel5.RowCount = 1;
			this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
			this.tableLayoutPanel5.Size = new System.Drawing.Size(634, 29);
			this.tableLayoutPanel5.TabIndex = 5;
			// 
			// _txtInputFile
			// 
			this._txtInputFile.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtInputFile.Location = new System.Drawing.Point(3, 3);
			this._txtInputFile.Name = "_txtInputFile";
			this._txtInputFile.Size = new System.Drawing.Size(548, 20);
			this._txtInputFile.TabIndex = 0;
			// 
			// _btTextInputBrowse
			// 
			this._btTextInputBrowse.Location = new System.Drawing.Point(557, 3);
			this._btTextInputBrowse.Name = "_btTextInputBrowse";
			this._btTextInputBrowse.Size = new System.Drawing.Size(74, 23);
			this._btTextInputBrowse.TabIndex = 1;
			this._btTextInputBrowse.Text = "&Browse...";
			this._btTextInputBrowse.UseVisualStyleBackColor = true;
			this._btTextInputBrowse.Click += new System.EventHandler(this._btTextInputBrowse_Click);
			// 
			// _tOutput
			// 
			this._tOutput.Controls.Add(this.splitContainer2);
			this._tOutput.ImageIndex = 2;
			this._tOutput.Location = new System.Drawing.Point(4, 23);
			this._tOutput.Name = "_tOutput";
			this._tOutput.Padding = new System.Windows.Forms.Padding(3);
			this._tOutput.Size = new System.Drawing.Size(652, 495);
			this._tOutput.TabIndex = 2;
			this._tOutput.Text = "Output";
			this._tOutput.UseVisualStyleBackColor = true;
			// 
			// splitContainer2
			// 
			this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer2.Location = new System.Drawing.Point(3, 3);
			this.splitContainer2.Name = "splitContainer2";
			this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// splitContainer2.Panel1
			// 
			this.splitContainer2.Panel1.Controls.Add(this._txtCodegen);
			// 
			// splitContainer2.Panel2
			// 
			this.splitContainer2.Panel2.Controls.Add(this._lvReport);
			this.splitContainer2.Size = new System.Drawing.Size(646, 489);
			this.splitContainer2.SplitterDistance = 319;
			this.splitContainer2.SplitterWidth = 8;
			this.splitContainer2.TabIndex = 1;
			// 
			// _txtCodegen
			// 
			this._txtCodegen.Dock = System.Windows.Forms.DockStyle.Fill;
			this._txtCodegen.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this._txtCodegen.Location = new System.Drawing.Point(0, 0);
			this._txtCodegen.Multiline = true;
			this._txtCodegen.Name = "_txtCodegen";
			this._txtCodegen.ReadOnly = true;
			this._txtCodegen.ScrollBars = System.Windows.Forms.ScrollBars.Both;
			this._txtCodegen.Size = new System.Drawing.Size(646, 319);
			this._txtCodegen.TabIndex = 0;
			// 
			// _lvReport
			// 
			this._lvReport.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this._lcIcon,
            this._lcNo,
            this._lcDescription,
            this._lcLine,
            this._lcColumn});
			this._lvReport.Dock = System.Windows.Forms.DockStyle.Fill;
			this._lvReport.FullRowSelect = true;
			this._lvReport.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
			this._lvReport.Location = new System.Drawing.Point(0, 0);
			this._lvReport.Name = "_lvReport";
			this._lvReport.Size = new System.Drawing.Size(646, 162);
			this._lvReport.SmallImageList = this._ilReport;
			this._lvReport.TabIndex = 0;
			this._lvReport.UseCompatibleStateImageBehavior = false;
			this._lvReport.View = System.Windows.Forms.View.Details;
			this._lvReport.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this._lvReport_MouseDoubleClick);
			// 
			// _lcIcon
			// 
			this._lcIcon.Text = "";
			this._lcIcon.Width = 24;
			// 
			// _lcNo
			// 
			this._lcNo.Text = "#";
			this._lcNo.Width = 40;
			// 
			// _lcDescription
			// 
			this._lcDescription.Text = "Description";
			this._lcDescription.Width = 304;
			// 
			// _lcLine
			// 
			this._lcLine.Text = "L";
			this._lcLine.Width = 40;
			// 
			// _lcColumn
			// 
			this._lcColumn.Text = "C";
			this._lcColumn.Width = 40;
			// 
			// _ilReport
			// 
			this._ilReport.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_ilReport.ImageStream")));
			this._ilReport.TransparentColor = System.Drawing.Color.Transparent;
			this._ilReport.Images.SetKeyName(0, "ok.png");
			this._ilReport.Images.SetKeyName(1, "error.png");
			this._ilReport.Images.SetKeyName(2, "warning.png");
			// 
			// _ilTabs
			// 
			this._ilTabs.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_ilTabs.ImageStream")));
			this._ilTabs.TransparentColor = System.Drawing.Color.Transparent;
			this._ilTabs.Images.SetKeyName(0, "code.png");
			this._ilTabs.Images.SetKeyName(1, "settings.png");
			this._ilTabs.Images.SetKeyName(2, "codegen.png");
			// 
			// _toolbar
			// 
			this._toolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._tbNew,
            this._tbOpen,
            this._tbSave,
            this.toolStripSeparator1,
            this._tbCompile,
            this._tbExecute,
            this.toolStripSeparator2,
            this._tbAbout});
			this._toolbar.Location = new System.Drawing.Point(0, 24);
			this._toolbar.Name = "_toolbar";
			this._toolbar.Size = new System.Drawing.Size(684, 25);
			this._toolbar.TabIndex = 0;
			this._toolbar.Text = "toolStrip1";
			// 
			// _tbNew
			// 
			this._tbNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbNew.Image = ((System.Drawing.Image)(resources.GetObject("_tbNew.Image")));
			this._tbNew.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbNew.Name = "_tbNew";
			this._tbNew.Size = new System.Drawing.Size(23, 22);
			this._tbNew.Text = "New (Ctrl+N)";
			this._tbNew.Click += new System.EventHandler(this._tbNew_Click);
			// 
			// _tbOpen
			// 
			this._tbOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbOpen.Image = ((System.Drawing.Image)(resources.GetObject("_tbOpen.Image")));
			this._tbOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbOpen.Name = "_tbOpen";
			this._tbOpen.Size = new System.Drawing.Size(23, 22);
			this._tbOpen.Text = "Open (Ctrl+O)";
			this._tbOpen.Click += new System.EventHandler(this._tbOpen_Click);
			// 
			// _tbSave
			// 
			this._tbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbSave.Image = ((System.Drawing.Image)(resources.GetObject("_tbSave.Image")));
			this._tbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbSave.Name = "_tbSave";
			this._tbSave.Size = new System.Drawing.Size(23, 22);
			this._tbSave.Text = "Save (Ctrl+S)";
			this._tbSave.Click += new System.EventHandler(this._tbSave_Click);
			// 
			// toolStripSeparator1
			// 
			this.toolStripSeparator1.Name = "toolStripSeparator1";
			this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
			// 
			// _tbCompile
			// 
			this._tbCompile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbCompile.Image = ((System.Drawing.Image)(resources.GetObject("_tbCompile.Image")));
			this._tbCompile.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbCompile.Name = "_tbCompile";
			this._tbCompile.Size = new System.Drawing.Size(23, 22);
			this._tbCompile.Text = "Compile (F8)";
			this._tbCompile.Click += new System.EventHandler(this._tbCompile_Click);
			// 
			// _tbExecute
			// 
			this._tbExecute.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbExecute.Image = ((System.Drawing.Image)(resources.GetObject("_tbExecute.Image")));
			this._tbExecute.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbExecute.Name = "_tbExecute";
			this._tbExecute.Size = new System.Drawing.Size(23, 22);
			this._tbExecute.Text = "Execute (F5)";
			this._tbExecute.Click += new System.EventHandler(this._tbExecute_Click);
			// 
			// toolStripSeparator2
			// 
			this.toolStripSeparator2.Name = "toolStripSeparator2";
			this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
			// 
			// _tbAbout
			// 
			this._tbAbout.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this._tbAbout.Image = ((System.Drawing.Image)(resources.GetObject("_tbAbout.Image")));
			this._tbAbout.ImageTransparentColor = System.Drawing.Color.Magenta;
			this._tbAbout.Name = "_tbAbout";
			this._tbAbout.Size = new System.Drawing.Size(23, 22);
			this._tbAbout.Text = "About (F1)";
			this._tbAbout.Click += new System.EventHandler(this._tbAbout_Click);
			// 
			// _dlgOpen
			// 
			this._dlgOpen.Filter = "Brainfuck Project Files (.bf)|*.bf|All Files (*.*)|*.*";
			// 
			// _dlgSave
			// 
			this._dlgSave.Filter = "Brainfuck Project Files (.bf)|*.bf|All Files (*.*)|*.*";
			// 
			// _dlgOpenInput
			// 
			this._dlgOpenInput.Filter = "All Files (*.*)|*.*";
			// 
			// menuStrip1
			// 
			this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newToolStripMenuItem,
            this.openToolStripMenuItem,
            this.saveAsToolStripMenuItem,
            this.compileToolStripMenuItem,
            this.runToolStripMenuItem,
            this.aboutToolStripMenuItem});
			this.menuStrip1.Location = new System.Drawing.Point(0, 0);
			this.menuStrip1.Name = "menuStrip1";
			this.menuStrip1.Size = new System.Drawing.Size(684, 24);
			this.menuStrip1.TabIndex = 2;
			this.menuStrip1.Text = "menuStrip1";
			// 
			// newToolStripMenuItem
			// 
			this.newToolStripMenuItem.Name = "newToolStripMenuItem";
			this.newToolStripMenuItem.ShortcutKeyDisplayString = "";
			this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
			this.newToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
			this.newToolStripMenuItem.Text = "&New";
			this.newToolStripMenuItem.Click += new System.EventHandler(this._tbNew_Click);
			// 
			// openToolStripMenuItem
			// 
			this.openToolStripMenuItem.Name = "openToolStripMenuItem";
			this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
			this.openToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
			this.openToolStripMenuItem.Text = "&Open...";
			this.openToolStripMenuItem.Click += new System.EventHandler(this._tbOpen_Click);
			// 
			// saveAsToolStripMenuItem
			// 
			this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
			this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
			this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(76, 20);
			this.saveAsToolStripMenuItem.Text = "&Save [As]...";
			this.saveAsToolStripMenuItem.Click += new System.EventHandler(this._tbSave_Click);
			// 
			// compileToolStripMenuItem
			// 
			this.compileToolStripMenuItem.Name = "compileToolStripMenuItem";
			this.compileToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F8;
			this.compileToolStripMenuItem.Size = new System.Drawing.Size(64, 20);
			this.compileToolStripMenuItem.Text = "Compi&le";
			this.compileToolStripMenuItem.Click += new System.EventHandler(this._tbCompile_Click);
			// 
			// runToolStripMenuItem
			// 
			this.runToolStripMenuItem.Name = "runToolStripMenuItem";
			this.runToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
			this.runToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
			this.runToolStripMenuItem.Text = "&Execute";
			this.runToolStripMenuItem.Click += new System.EventHandler(this._tbExecute_Click);
			// 
			// aboutToolStripMenuItem
			// 
			this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
			this.aboutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
			this.aboutToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
			this.aboutToolStripMenuItem.Text = "Abou&t...";
			this.aboutToolStripMenuItem.Click += new System.EventHandler(this._tbAbout_Click);
			// 
			// MainForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(684, 562);
			this.Controls.Add(this._toolbar);
			this.Controls.Add(this.menuStrip1);
			this.Controls.Add(this._content);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MainMenuStrip = this.menuStrip1;
			this.Name = "MainForm";
			this.Text = "Brainfuck Compiler";
			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
			this._content.ResumeLayout(false);
			this._tCode.ResumeLayout(false);
			this._tCode.PerformLayout();
			this._tOptions.ResumeLayout(false);
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.Panel2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
			this.splitContainer1.ResumeLayout(false);
			this.tableLayoutPanel3.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			this.tableLayoutPanel2.ResumeLayout(false);
			this.tableLayoutPanel2.PerformLayout();
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.tableLayoutPanel1.ResumeLayout(false);
			this.tableLayoutPanel1.PerformLayout();
			this.groupBox3.ResumeLayout(false);
			this.tableLayoutPanel4.ResumeLayout(false);
			this.tableLayoutPanel4.PerformLayout();
			this.tableLayoutPanel5.ResumeLayout(false);
			this.tableLayoutPanel5.PerformLayout();
			this._tOutput.ResumeLayout(false);
			this.splitContainer2.Panel1.ResumeLayout(false);
			this.splitContainer2.Panel1.PerformLayout();
			this.splitContainer2.Panel2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
			this.splitContainer2.ResumeLayout(false);
			this._toolbar.ResumeLayout(false);
			this._toolbar.PerformLayout();
			this.menuStrip1.ResumeLayout(false);
			this.menuStrip1.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.TabControl _content;
		private System.Windows.Forms.TabPage _tCode;
		private System.Windows.Forms.TabPage _tOptions;
		private System.Windows.Forms.TabPage _tOutput;
		private System.Windows.Forms.ToolStrip _toolbar;
		private System.Windows.Forms.ToolStripButton _tbCompile;
		private System.Windows.Forms.ToolStripButton _tbExecute;
		private System.Windows.Forms.ToolStripButton _tbNew;
		private System.Windows.Forms.ToolStripButton _tbOpen;
		private System.Windows.Forms.ToolStripButton _tbSave;
		private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
		private System.Windows.Forms.ImageList _ilTabs;
		private System.Windows.Forms.SplitContainer splitContainer1;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox _txtOutputName;
		private System.Windows.Forms.TextBox _txtCellCount;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
		private System.Windows.Forms.CheckBox _cbProduceCode;
		private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
		private System.Windows.Forms.ToolStripButton _tbAbout;
		private System.Windows.Forms.TextBox _txtCode;
		private System.Windows.Forms.TextBox _txtCodegen;
		private System.Windows.Forms.OpenFileDialog _dlgOpen;
		private System.Windows.Forms.SaveFileDialog _dlgSave;
		private System.Windows.Forms.SplitContainer splitContainer2;
		private System.Windows.Forms.ListView _lvReport;
		private System.Windows.Forms.ColumnHeader _lcIcon;
		private System.Windows.Forms.ColumnHeader _lcNo;
		private System.Windows.Forms.ColumnHeader _lcDescription;
		private System.Windows.Forms.ColumnHeader _lcLine;
		private System.Windows.Forms.ColumnHeader _lcColumn;
		private System.Windows.Forms.ImageList _ilReport;
		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
		private System.Windows.Forms.RadioButton _rbNoInput;
		private System.Windows.Forms.RadioButton _rbFileInput;
		private System.Windows.Forms.RadioButton _rbTextInput;
		private System.Windows.Forms.TextBox _txtInput;
		private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;
		private System.Windows.Forms.TextBox _txtInputFile;
		private System.Windows.Forms.Button _btTextInputBrowse;
		private System.Windows.Forms.OpenFileDialog _dlgOpenInput;
		private System.Windows.Forms.MenuStrip menuStrip1;
		private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
		private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
		private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
		private System.Windows.Forms.ToolStripMenuItem compileToolStripMenuItem;
		private System.Windows.Forms.ToolStripMenuItem runToolStripMenuItem;
		private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Serbia Serbia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions