mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
[WIP] Basic partially working prototype
This commit is contained in:
parent
7e99af19d1
commit
84c9338be4
@ -51,7 +51,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.cb_dont_start_if_running.Text = "Don\'t start if program already running";
|
this.cb_dont_start_if_running.Text = "Don\'t start if program already running";
|
||||||
this.cb_dont_start_if_running.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.cb_dont_start_if_running.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
this.cb_dont_start_if_running.UseVisualStyleBackColor = true;
|
this.cb_dont_start_if_running.UseVisualStyleBackColor = true;
|
||||||
this.cb_dont_start_if_running.Visible = false;
|
|
||||||
//
|
//
|
||||||
// txt_start_program
|
// txt_start_program
|
||||||
//
|
//
|
||||||
@ -62,7 +61,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.txt_start_program.Name = "txt_start_program";
|
this.txt_start_program.Name = "txt_start_program";
|
||||||
this.txt_start_program.Size = new System.Drawing.Size(535, 26);
|
this.txt_start_program.Size = new System.Drawing.Size(535, 26);
|
||||||
this.txt_start_program.TabIndex = 25;
|
this.txt_start_program.TabIndex = 25;
|
||||||
this.txt_start_program.Visible = false;
|
|
||||||
//
|
//
|
||||||
// cb_start_program_close
|
// cb_start_program_close
|
||||||
//
|
//
|
||||||
@ -76,7 +74,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.cb_start_program_close.Text = "Close started program when you finish playing Game";
|
this.cb_start_program_close.Text = "Close started program when you finish playing Game";
|
||||||
this.cb_start_program_close.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.cb_start_program_close.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
this.cb_start_program_close.UseVisualStyleBackColor = true;
|
this.cb_start_program_close.UseVisualStyleBackColor = true;
|
||||||
this.cb_start_program_close.Visible = false;
|
|
||||||
//
|
//
|
||||||
// btn_start_program
|
// btn_start_program
|
||||||
//
|
//
|
||||||
@ -89,7 +86,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.btn_start_program.TabIndex = 23;
|
this.btn_start_program.TabIndex = 23;
|
||||||
this.btn_start_program.Text = "Choose";
|
this.btn_start_program.Text = "Choose";
|
||||||
this.btn_start_program.UseVisualStyleBackColor = true;
|
this.btn_start_program.UseVisualStyleBackColor = true;
|
||||||
this.btn_start_program.Visible = false;
|
|
||||||
this.btn_start_program.Click += new System.EventHandler(this.btn_start_program_Click);
|
this.btn_start_program.Click += new System.EventHandler(this.btn_start_program_Click);
|
||||||
//
|
//
|
||||||
// txt_start_program_args
|
// txt_start_program_args
|
||||||
@ -101,7 +97,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.txt_start_program_args.Name = "txt_start_program_args";
|
this.txt_start_program_args.Name = "txt_start_program_args";
|
||||||
this.txt_start_program_args.Size = new System.Drawing.Size(540, 26);
|
this.txt_start_program_args.Size = new System.Drawing.Size(540, 26);
|
||||||
this.txt_start_program_args.TabIndex = 22;
|
this.txt_start_program_args.TabIndex = 22;
|
||||||
this.txt_start_program_args.Visible = false;
|
|
||||||
//
|
//
|
||||||
// cb_start_program_pass_args
|
// cb_start_program_pass_args
|
||||||
//
|
//
|
||||||
@ -115,7 +110,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.cb_start_program_pass_args.Text = "Pass arguments to program:";
|
this.cb_start_program_pass_args.Text = "Pass arguments to program:";
|
||||||
this.cb_start_program_pass_args.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.cb_start_program_pass_args.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
this.cb_start_program_pass_args.UseVisualStyleBackColor = true;
|
this.cb_start_program_pass_args.UseVisualStyleBackColor = true;
|
||||||
this.cb_start_program_pass_args.Visible = false;
|
|
||||||
this.cb_start_program_pass_args.CheckedChanged += new System.EventHandler(this.cb_start_program_pass_args_CheckedChanged);
|
this.cb_start_program_pass_args.CheckedChanged += new System.EventHandler(this.cb_start_program_pass_args_CheckedChanged);
|
||||||
//
|
//
|
||||||
// btn_delete
|
// btn_delete
|
||||||
@ -129,7 +123,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.btn_delete.TabIndex = 27;
|
this.btn_delete.TabIndex = 27;
|
||||||
this.btn_delete.Text = "X";
|
this.btn_delete.Text = "X";
|
||||||
this.btn_delete.UseVisualStyleBackColor = true;
|
this.btn_delete.UseVisualStyleBackColor = true;
|
||||||
this.btn_delete.Visible = false;
|
|
||||||
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
|
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
|
||||||
//
|
//
|
||||||
// cb_start_program
|
// cb_start_program
|
||||||
@ -144,7 +137,6 @@ namespace DisplayMagician.UIForms
|
|||||||
this.cb_start_program.Text = "Start the following program:";
|
this.cb_start_program.Text = "Start the following program:";
|
||||||
this.cb_start_program.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
this.cb_start_program.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||||
this.cb_start_program.UseVisualStyleBackColor = true;
|
this.cb_start_program.UseVisualStyleBackColor = true;
|
||||||
this.cb_start_program.Visible = false;
|
|
||||||
this.cb_start_program.CheckedChanged += new System.EventHandler(this.cb_start_program_CheckedChanged);
|
this.cb_start_program.CheckedChanged += new System.EventHandler(this.cb_start_program_CheckedChanged);
|
||||||
//
|
//
|
||||||
// StartProgramControl
|
// StartProgramControl
|
||||||
|
@ -38,14 +38,6 @@ namespace DisplayMagician.UIForms
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
// Now initialise the controls
|
|
||||||
txt_start_program.BackColor = Color.White;
|
|
||||||
txt_start_program.ForeColor = Color.Black;
|
|
||||||
txt_start_program.Visible= true;
|
|
||||||
txt_start_program.BringToFront();
|
|
||||||
cb_start_program.Checked = startProgram.Enabled;
|
|
||||||
txt_start_program.ForeColor = Color.White;
|
|
||||||
|
|
||||||
// Update the text with the start program info
|
// Update the text with the start program info
|
||||||
myStartProgram = startProgram;
|
myStartProgram = startProgram;
|
||||||
populateUI();
|
populateUI();
|
||||||
|
Loading…
Reference in New Issue
Block a user