From ce0b8dc8297a96d3dcdb54dc16fb7599f5715804 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Thu, 20 May 2021 17:54:29 +1200 Subject: [PATCH] Change start prog close default This changes the start program to default to closing the start program when the main application closes. I believe this will be the most common way to do things. --- DisplayMagician/UIForms/StartProgramControl.Designer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DisplayMagician/UIForms/StartProgramControl.Designer.cs b/DisplayMagician/UIForms/StartProgramControl.Designer.cs index b0fe93e..a8dd10e 100644 --- a/DisplayMagician/UIForms/StartProgramControl.Designer.cs +++ b/DisplayMagician/UIForms/StartProgramControl.Designer.cs @@ -73,6 +73,8 @@ namespace DisplayMagician.UIForms // cb_start_program_close // this.cb_start_program_close.AutoSize = true; + this.cb_start_program_close.Checked = true; + this.cb_start_program_close.CheckState = System.Windows.Forms.CheckState.Checked; this.cb_start_program_close.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cb_start_program_close.ForeColor = System.Drawing.Color.White; this.cb_start_program_close.Location = new System.Drawing.Point(506, 86); @@ -86,7 +88,6 @@ namespace DisplayMagician.UIForms // // btn_start_program // - this.btn_start_program.Anchor = System.Windows.Forms.AnchorStyles.None; this.btn_start_program.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_start_program.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_start_program.ForeColor = System.Drawing.Color.White;