/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.textEditorControl1 = new DigitalRune.Windows.TextEditor.TextEditorControl(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.BackColor = System.Drawing.Color.Black; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.Color.Lime; this.button1.Location = new System.Drawing.Point(586, 34); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(100, 24); this.button1.TabIndex = 2; this.button1.Text = "About NoobTools"; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.Button1Click); // // button2 // this.button2.BackColor = System.Drawing.Color.Black; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.ForeColor = System.Drawing.Color.Lime; this.button2.Location = new System.Drawing.Point(9, 33); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(49, 25); this.button2.TabIndex = 3; this.button2.Text = "Menu"; this.button2.UseVisualStyleBackColor = false; // // textEditorControl1 // this.textEditorControl1.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.textEditorControl1.ForeColor = System.Drawing.Color.Black; this.textEditorControl1.LineViewerStyle = DigitalRune.Windows.TextEditor.Properties.LineViewerStyle.FullRow; this.textEditorControl1.Location = new System.Drawing.Point(9, 65); this.textEditorControl1.Name = "textEditorControl1"; this.textEditorControl1.ShowScrollBars = false; this.textEditorControl1.ShowTabs = true; this.textEditorControl1.Size = new System.Drawing.Size(677, 330); this.textEditorControl1.TabIndex = 4; this.textEditorControl1.TextAreaKeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextEditorControl1TextAreaKeyPress); this.textEditorControl1.Load += new System.EventHandler(this.TextEditorControl1Load); this.textEditorControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextEditorControl1KeyDown); this.textEditorControl1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextEditorControl1KeyPress); this.textEditorControl1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.TextEditorControl1PreviewKeyDown); // // button3 // this.button3.BackColor = System.Drawing.Color.Black; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.ForeColor = System.Drawing.Color.Lime; this.button3.Location = new System.Drawing.Point(64, 33); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(49, 25); this.button3.TabIndex = 5; this.button3.Text = "Run"; this.button3.UseVisualStyleBackColor = false; this.button3.Click += new System.EventHandler(this.Button3Click); // // button4 // this.button4.BackColor = System.Drawing.Color.Black; this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button4.ForeColor = System.Drawing.Color.Lime; this.button4.Location = new System.Drawing.Point(332, 34); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(76, 25); this.button4.TabIndex = 6; this.button4.Text = "Save"; this.button4.UseVisualStyleBackColor = false; this.button4.Click += new System.EventHandler(this.Button4Click); // // contextMenuStrip1 // this.contextMenuStrip1.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.contextMenuStrip1.DropShadowEnabled = false; this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.saveToolStripMenuItem, this.saveAsToolStripMenuItem}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(115, 48); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(114, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(114, 22); this.saveAsToolStripMenuItem.Text = "Save As"; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BorderColor = System.Drawing.Color.Lime; this.ClientSize = new System.Drawing.Size(694, 404); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.textEditorControl1); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.DisplayHeader = false; this.DisplayTitle = true; this.ForeColor = System.Drawing.Color.Lime; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20); this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow; this.Style = MetroFramework.MetroColorStyle.Lime; this.Text = "NoobTools ScriptBuilder"; this.Theme = MetroFramework.MetroThemeStyle.Dark; this.TitleColor = System.Drawing.Color.Lime; this.Load += new System.EventHandler(this.MainFormLoad); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainFormKeyDown); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.textEditorControl1 = new DigitalRune.Windows.TextEditor.TextEditorControl(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.uiOutputText = new System.Windows.Forms.Label(); this.projectName = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // textEditorControl1 // this.textEditorControl1.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.textEditorControl1.BackColor = System.Drawing.Color.Black; this.textEditorControl1.BracketMatchingStyle = DigitalRune.Windows.TextEditor.Properties.BracketMatchingStyle.OnBracket; this.textEditorControl1.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.textEditorControl1.Location = new System.Drawing.Point(24, 70); this.textEditorControl1.Name = "textEditorControl1"; this.textEditorControl1.ShowScrollBars = false; this.textEditorControl1.Size = new System.Drawing.Size(787, 354); this.textEditorControl1.TabIndex = 0; this.textEditorControl1.Text = "//Created with ExaPhaser Processing DotNet\r\n\r\nvoid setup()\r\n{\r\n\tsize(400, 400);\r\n" + "}\r\nvoid draw()\r\n{\r\n\tbackground(250);\r\n}"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.button1.Location = new System.Drawing.Point(24, 41); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(81, 23); this.button1.TabIndex = 1; this.button1.Text = "Build"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Button1Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.button2.Location = new System.Drawing.Point(111, 41); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(81, 23); this.button2.TabIndex = 2; this.button2.Text = "Run"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.Button2Click); // // uiOutputText // this.uiOutputText.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.uiOutputText.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.uiOutputText.Location = new System.Drawing.Point(24, 427); this.uiOutputText.Name = "uiOutputText"; this.uiOutputText.Size = new System.Drawing.Size(100, 23); this.uiOutputText.TabIndex = 18; this.uiOutputText.Text = "Ready."; this.uiOutputText.Click += new System.EventHandler(this.UiOutputTextClick); // // projectName // this.projectName.Location = new System.Drawing.Point(711, 44); this.projectName.Name = "projectName"; this.projectName.Size = new System.Drawing.Size(100, 20); this.projectName.TabIndex = 19; // // label1 // this.label1.ForeColor = System.Drawing.SystemColors.ControlLightLight; this.label1.Location = new System.Drawing.Point(632, 46); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(74, 23); this.label1.TabIndex = 20; this.label1.Text = "Project Name"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BorderColor = System.Drawing.Color.Lime; this.ClientSize = new System.Drawing.Size(834, 458); this.Controls.Add(this.label1); this.Controls.Add(this.projectName); this.Controls.Add(this.uiOutputText); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.textEditorControl1); this.DisplayHeader = false; this.DisplayTitle = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.Padding = new System.Windows.Forms.Padding(20, 30, 20, 20); this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow; this.Style = MetroFramework.MetroColorStyle.Lime; this.Text = "ExaPhaser Processing"; this.Theme = MetroFramework.MetroThemeStyle.Dark; this.TitleColor = System.Drawing.Color.WhiteSmoke; this.Load += new System.EventHandler(this.MainFormLoad); this.Shown += new System.EventHandler(this.MainFormShown); this.ResumeLayout(false); this.PerformLayout(); }