From 9dba2a4e3d97e30a9555ead89e4dc841fdb1a063 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 24 Oct 2021 17:18:23 +0100 Subject: [PATCH] WIP: prepared main form ui --- MainForm.Designer.cs | 40 +++++++++++++++++----------------------- MainForm.cs | 2 +- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs index dc92186..c67629a 100644 --- a/MainForm.Designer.cs +++ b/MainForm.Designer.cs @@ -68,7 +68,7 @@ namespace RandomFileRunner this.button4 = new RyzStudio.Windows.ThemedForms.TButton(); this.button3 = new RyzStudio.Windows.ThemedForms.TMenuButton(); this.memoBox1 = new RyzStudio.Windows.ThemedForms.TMemoBox(); - this.button8 = new RyzStudio.Windows.ThemedForms.TButton(); + this.button5 = new RyzStudio.Windows.ThemedForms.TButton(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); @@ -410,21 +410,21 @@ namespace RandomFileRunner this.memoBox1.DragDrop += new System.Windows.Forms.DragEventHandler(this.memoBox1_DragDrop); this.memoBox1.DragOver += new System.Windows.Forms.DragEventHandler(this.memoBox1_DragOver); // - // button8 + // button5 // - this.button8.BackColor = System.Drawing.Color.Transparent; - this.button8.DefaultImage = null; - this.button8.DownImage = null; - this.button8.IsSelected = false; - this.button8.LabelText = "&Run Next"; - this.button8.Location = new System.Drawing.Point(127, 705); - this.button8.Margin = new System.Windows.Forms.Padding(10, 0, 10, 10); - this.button8.Name = "button8"; - this.button8.OverImage = null; - this.button8.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3); - this.button8.Size = new System.Drawing.Size(149, 37); - this.button8.TabIndex = 49; - this.button8.MouseClick += new System.Windows.Forms.MouseEventHandler(this.button8_MouseClick); + this.button5.BackColor = System.Drawing.Color.Transparent; + this.button5.DefaultImage = null; + this.button5.DownImage = null; + this.button5.IsSelected = false; + this.button5.LabelText = "&Run Next"; + this.button5.Location = new System.Drawing.Point(127, 705); + this.button5.Margin = new System.Windows.Forms.Padding(10, 0, 10, 10); + this.button5.Name = "button5"; + this.button5.OverImage = null; + this.button5.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3); + this.button5.Size = new System.Drawing.Size(149, 37); + this.button5.TabIndex = 49; + this.button5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.button5_MouseClick); // // MainForm // @@ -433,7 +433,7 @@ namespace RandomFileRunner this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); this.ClientSize = new System.Drawing.Size(464, 761); - this.Controls.Add(this.button8); + this.Controls.Add(this.button5); this.Controls.Add(this.memoBox1); this.Controls.Add(this.button3); this.Controls.Add(this.button4); @@ -461,11 +461,9 @@ namespace RandomFileRunner #endregion private RyzStudio.Windows.ThemedForms.TButton button1; - private RyzStudio.Windows.Forms.THorizontalSeparator tHorizontalSeparator3; private System.Windows.Forms.PictureBox pictureBox1; private RyzStudio.Windows.ThemedForms.TButton button2; private System.Windows.Forms.ToolTip toolTip1; - private RyzStudio.Windows.ThemedForms.TClearableTextBox textBox3; private System.Windows.Forms.Label label9; private RyzStudio.Windows.ThemedForms.TButton button4; private System.Windows.Forms.Label label2; @@ -489,9 +487,6 @@ namespace RandomFileRunner private System.Windows.Forms.ToolStripSeparator toolStripMenuItem16; private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem1; private RyzStudio.Windows.ThemedForms.TMemoBox memoBox1; - private RyzStudio.Windows.ThemedForms.TButton button5; - private RyzStudio.Windows.ThemedForms.TButton button7; - private RyzStudio.Windows.ThemedForms.TMenuButton button6; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.ToolStripMenuItem addDirectoryToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem addFileToolStripMenuItem; @@ -501,9 +496,8 @@ namespace RandomFileRunner private System.Windows.Forms.Label label1; private RyzStudio.Windows.Forms.THorizontalSeparator tHorizontalSeparator2; private RyzStudio.Windows.ThemedForms.TClearableTextBox textBox1; - private RyzStudio.Windows.ThemedForms.TButton tButton1; private RyzStudio.Windows.ThemedForms.TMenuButton button3; - private RyzStudio.Windows.ThemedForms.TButton button8; + private RyzStudio.Windows.ThemedForms.TButton button5; } } diff --git a/MainForm.cs b/MainForm.cs index b53a539..a0460e6 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -159,7 +159,7 @@ namespace RandomFileRunner /// /// /// - private void button8_MouseClick(object sender, MouseEventArgs e) + private void button5_MouseClick(object sender, MouseEventArgs e) { }