From 45a094a25f293292729b6d8691cd4a2b394bf5d1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 10 Jan 2015 23:16:30 +0000 Subject: [PATCH] changed design to be more console like --- mainWindow.Designer.cs | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/mainWindow.Designer.cs b/mainWindow.Designer.cs index 8cd1724..9be2735 100644 --- a/mainWindow.Designer.cs +++ b/mainWindow.Designer.cs @@ -35,31 +35,36 @@ // // inputBox // - this.inputBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.inputBox.Location = new System.Drawing.Point(12, 304); + this.inputBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.inputBox.Location = new System.Drawing.Point(12, 341); this.inputBox.Name = "inputBox"; - this.inputBox.Size = new System.Drawing.Size(656, 23); + this.inputBox.Size = new System.Drawing.Size(729, 23); this.inputBox.TabIndex = 0; // // output // - this.output.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.output.BackColor = System.Drawing.Color.Black; + this.output.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.output.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.output.ForeColor = System.Drawing.Color.White; this.output.Location = new System.Drawing.Point(12, 12); this.output.Name = "output"; this.output.ReadOnly = true; - this.output.Size = new System.Drawing.Size(705, 286); + this.output.Size = new System.Drawing.Size(778, 320); this.output.TabIndex = 1; this.output.Text = ""; // // executeButton // + this.executeButton.BackColor = System.Drawing.Color.Transparent; + this.executeButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.executeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.executeButton.Location = new System.Drawing.Point(674, 301); + this.executeButton.Location = new System.Drawing.Point(747, 338); this.executeButton.Name = "executeButton"; this.executeButton.Size = new System.Drawing.Size(43, 26); this.executeButton.TabIndex = 2; this.executeButton.Text = ">>"; - this.executeButton.UseVisualStyleBackColor = true; + this.executeButton.UseVisualStyleBackColor = false; this.executeButton.Click += new System.EventHandler(this.executeButton_Click); // // mainWindow @@ -67,7 +72,8 @@ this.AcceptButton = this.executeButton; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(729, 339); + this.BackColor = System.Drawing.Color.Black; + this.ClientSize = new System.Drawing.Size(802, 376); this.Controls.Add(this.executeButton); this.Controls.Add(this.output); this.Controls.Add(this.inputBox); @@ -75,6 +81,7 @@ this.Name = "mainWindow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Pithos - Main Window"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainWindow_FormClosing); this.Load += new System.EventHandler(this.mainWindow_Load); this.ResumeLayout(false); this.PerformLayout();