mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Added resizable Shortcut Form
This commit is contained in:
parent
da8d5de7c3
commit
97a4e5f170
@ -26,8 +26,8 @@ using System.Resources;
|
||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||
|
||||
// Version information
|
||||
[assembly: AssemblyVersion("2.1.1.48")]
|
||||
[assembly: AssemblyFileVersion("2.1.1.48")]
|
||||
[assembly: AssemblyVersion("2.1.1.62")]
|
||||
[assembly: AssemblyFileVersion("2.1.1.62")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||
[assembly: CLSCompliant(true)]
|
||||
|
||||
|
365
DisplayMagician/UIForms/ShortcutForm.Designer.cs
generated
365
DisplayMagician/UIForms/ShortcutForm.Designer.cs
generated
@ -68,11 +68,13 @@ namespace DisplayMagician.UIForms
|
||||
this.rb_change_audio = new System.Windows.Forms.RadioButton();
|
||||
this.rb_no_change_audio = new System.Windows.Forms.RadioButton();
|
||||
this.tabp_before = new System.Windows.Forms.TabPage();
|
||||
this.p_start_program = new System.Windows.Forms.Panel();
|
||||
this.btn_find_examples_startprograms = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btn_add_new_start_program = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.flp_start_programs = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.tabp_game = new System.Windows.Forms.TabPage();
|
||||
this.p_gametostart = new System.Windows.Forms.Panel();
|
||||
this.btn_find_examples_game = new System.Windows.Forms.Button();
|
||||
this.p_standalone = new System.Windows.Forms.Panel();
|
||||
this.btn_choose_exe_icon = new System.Windows.Forms.Button();
|
||||
@ -98,7 +100,6 @@ namespace DisplayMagician.UIForms
|
||||
this.pb_game_icon = new System.Windows.Forms.PictureBox();
|
||||
this.lbl_no_game_libraries = new System.Windows.Forms.Label();
|
||||
this.cbx_game_priority = new System.Windows.Forms.ComboBox();
|
||||
this.ilv_games = new Manina.Windows.Forms.ImageListView();
|
||||
this.cb_wait_alternative_game = new System.Windows.Forms.CheckBox();
|
||||
this.btn_choose_alternative_game = new System.Windows.Forms.Button();
|
||||
this.txt_alternative_game = new System.Windows.Forms.TextBox();
|
||||
@ -111,6 +112,7 @@ namespace DisplayMagician.UIForms
|
||||
this.nud_timeout_game = new System.Windows.Forms.NumericUpDown();
|
||||
this.lbl_game_library = new System.Windows.Forms.Label();
|
||||
this.rb_launcher = new System.Windows.Forms.RadioButton();
|
||||
this.ilv_games = new Manina.Windows.Forms.ImageListView();
|
||||
this.tabp_after = new System.Windows.Forms.TabPage();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.txt_run_cmd_afterwards_args = new System.Windows.Forms.TextBox();
|
||||
@ -144,7 +146,9 @@ namespace DisplayMagician.UIForms
|
||||
this.gb_audio_volume.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nud_audio_volume)).BeginInit();
|
||||
this.tabp_before.SuspendLayout();
|
||||
this.p_start_program.SuspendLayout();
|
||||
this.tabp_game.SuspendLayout();
|
||||
this.p_gametostart.SuspendLayout();
|
||||
this.p_standalone.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pb_exe_icon)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nud_timeout_executable)).BeginInit();
|
||||
@ -160,15 +164,14 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// btn_save
|
||||
//
|
||||
this.btn_save.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btn_save.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.btn_save.Enabled = false;
|
||||
this.btn_save.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_save.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_save.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_save.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_save.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_save.Location = new System.Drawing.Point(560, 891);
|
||||
this.btn_save.Location = new System.Drawing.Point(545, 891);
|
||||
this.btn_save.Name = "btn_save";
|
||||
this.btn_save.Size = new System.Drawing.Size(120, 40);
|
||||
this.btn_save.TabIndex = 6;
|
||||
@ -184,7 +187,7 @@ namespace DisplayMagician.UIForms
|
||||
this.btn_cancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_cancel.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_cancel.Location = new System.Drawing.Point(1008, 906);
|
||||
this.btn_cancel.Location = new System.Drawing.Point(978, 906);
|
||||
this.btn_cancel.Name = "btn_cancel";
|
||||
this.btn_cancel.Size = new System.Drawing.Size(94, 25);
|
||||
this.btn_cancel.TabIndex = 5;
|
||||
@ -223,7 +226,7 @@ namespace DisplayMagician.UIForms
|
||||
this.tabc_shortcut.Name = "tabc_shortcut";
|
||||
this.tabc_shortcut.SelectedIndex = 0;
|
||||
this.tabc_shortcut.ShowToolTips = true;
|
||||
this.tabc_shortcut.Size = new System.Drawing.Size(1090, 767);
|
||||
this.tabc_shortcut.Size = new System.Drawing.Size(1060, 767);
|
||||
this.tabc_shortcut.TabIndex = 28;
|
||||
//
|
||||
// tabp_display
|
||||
@ -239,7 +242,7 @@ namespace DisplayMagician.UIForms
|
||||
this.tabp_display.Location = new System.Drawing.Point(4, 32);
|
||||
this.tabp_display.Name = "tabp_display";
|
||||
this.tabp_display.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabp_display.Size = new System.Drawing.Size(1082, 731);
|
||||
this.tabp_display.Size = new System.Drawing.Size(1052, 731);
|
||||
this.tabp_display.TabIndex = 0;
|
||||
this.tabp_display.Text = "1. Choose Display Profile";
|
||||
this.tabp_display.ToolTipText = "Choose which previously saved Display Profile you will use with this shortcut.";
|
||||
@ -248,7 +251,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.pbLogo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pbLogo.BackColor = System.Drawing.Color.DimGray;
|
||||
this.pbLogo.Location = new System.Drawing.Point(953, 20);
|
||||
this.pbLogo.Location = new System.Drawing.Point(923, 20);
|
||||
this.pbLogo.Name = "pbLogo";
|
||||
this.pbLogo.Size = new System.Drawing.Size(100, 49);
|
||||
this.pbLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
@ -286,14 +289,13 @@ namespace DisplayMagician.UIForms
|
||||
this.ilv_saved_profiles.AllowColumnResize = false;
|
||||
this.ilv_saved_profiles.AllowItemReorder = false;
|
||||
this.ilv_saved_profiles.AllowPaneResize = false;
|
||||
this.ilv_saved_profiles.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ilv_saved_profiles.Location = new System.Drawing.Point(0, 477);
|
||||
this.ilv_saved_profiles.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ilv_saved_profiles.Location = new System.Drawing.Point(3, 475);
|
||||
this.ilv_saved_profiles.MultiSelect = false;
|
||||
this.ilv_saved_profiles.Name = "ilv_saved_profiles";
|
||||
this.ilv_saved_profiles.PersistentCacheDirectory = "";
|
||||
this.ilv_saved_profiles.PersistentCacheSize = ((long)(100));
|
||||
this.ilv_saved_profiles.Size = new System.Drawing.Size(1086, 258);
|
||||
this.ilv_saved_profiles.Size = new System.Drawing.Size(1046, 253);
|
||||
this.ilv_saved_profiles.TabIndex = 24;
|
||||
this.ilv_saved_profiles.UseWIC = true;
|
||||
this.ilv_saved_profiles.View = Manina.Windows.Forms.View.HorizontalStrip;
|
||||
@ -312,7 +314,7 @@ namespace DisplayMagician.UIForms
|
||||
this.dv_profile.PaddingX = 100;
|
||||
this.dv_profile.PaddingY = 100;
|
||||
this.dv_profile.Profile = null;
|
||||
this.dv_profile.Size = new System.Drawing.Size(1076, 472);
|
||||
this.dv_profile.Size = new System.Drawing.Size(1046, 472);
|
||||
this.dv_profile.TabIndex = 23;
|
||||
//
|
||||
// tabp_audio
|
||||
@ -326,20 +328,20 @@ namespace DisplayMagician.UIForms
|
||||
this.tabp_audio.Location = new System.Drawing.Point(4, 32);
|
||||
this.tabp_audio.Name = "tabp_audio";
|
||||
this.tabp_audio.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabp_audio.Size = new System.Drawing.Size(1082, 731);
|
||||
this.tabp_audio.Size = new System.Drawing.Size(1052, 731);
|
||||
this.tabp_audio.TabIndex = 4;
|
||||
this.tabp_audio.Text = "2. Choose Audio";
|
||||
//
|
||||
// lbl_no_active_capture_devices
|
||||
//
|
||||
this.lbl_no_active_capture_devices.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.lbl_no_active_capture_devices.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.lbl_no_active_capture_devices.AutoSize = true;
|
||||
this.lbl_no_active_capture_devices.BackColor = System.Drawing.Color.Brown;
|
||||
this.lbl_no_active_capture_devices.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lbl_no_active_capture_devices.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.lbl_no_active_capture_devices.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_no_active_capture_devices.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lbl_no_active_capture_devices.Location = new System.Drawing.Point(126, 438);
|
||||
this.lbl_no_active_capture_devices.Location = new System.Drawing.Point(111, 438);
|
||||
this.lbl_no_active_capture_devices.Name = "lbl_no_active_capture_devices";
|
||||
this.lbl_no_active_capture_devices.Size = new System.Drawing.Size(831, 22);
|
||||
this.lbl_no_active_capture_devices.TabIndex = 36;
|
||||
@ -356,7 +358,7 @@ namespace DisplayMagician.UIForms
|
||||
this.lbl_no_active_audio_devices.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.lbl_no_active_audio_devices.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_no_active_audio_devices.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lbl_no_active_audio_devices.Location = new System.Drawing.Point(131, 153);
|
||||
this.lbl_no_active_audio_devices.Location = new System.Drawing.Point(116, 153);
|
||||
this.lbl_no_active_audio_devices.Name = "lbl_no_active_audio_devices";
|
||||
this.lbl_no_active_audio_devices.Size = new System.Drawing.Size(804, 22);
|
||||
this.lbl_no_active_audio_devices.TabIndex = 35;
|
||||
@ -366,14 +368,14 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// lbl_disabled_shortcut_audio_chipset
|
||||
//
|
||||
this.lbl_disabled_shortcut_audio_chipset.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.lbl_disabled_shortcut_audio_chipset.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.lbl_disabled_shortcut_audio_chipset.AutoSize = true;
|
||||
this.lbl_disabled_shortcut_audio_chipset.BackColor = System.Drawing.Color.Brown;
|
||||
this.lbl_disabled_shortcut_audio_chipset.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lbl_disabled_shortcut_audio_chipset.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.lbl_disabled_shortcut_audio_chipset.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_disabled_shortcut_audio_chipset.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lbl_disabled_shortcut_audio_chipset.Location = new System.Drawing.Point(263, 303);
|
||||
this.lbl_disabled_shortcut_audio_chipset.Location = new System.Drawing.Point(248, 303);
|
||||
this.lbl_disabled_shortcut_audio_chipset.Name = "lbl_disabled_shortcut_audio_chipset";
|
||||
this.lbl_disabled_shortcut_audio_chipset.Size = new System.Drawing.Size(557, 22);
|
||||
this.lbl_disabled_shortcut_audio_chipset.TabIndex = 34;
|
||||
@ -382,13 +384,14 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// gb_capture_settings
|
||||
//
|
||||
this.gb_capture_settings.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.gb_capture_settings.Controls.Add(this.gb_capture_volume);
|
||||
this.gb_capture_settings.Controls.Add(this.btn_rescan_capture);
|
||||
this.gb_capture_settings.Controls.Add(this.cb_capture_device);
|
||||
this.gb_capture_settings.Controls.Add(this.rb_change_capture);
|
||||
this.gb_capture_settings.Controls.Add(this.rb_no_change_capture);
|
||||
this.gb_capture_settings.ForeColor = System.Drawing.Color.White;
|
||||
this.gb_capture_settings.Location = new System.Drawing.Point(65, 317);
|
||||
this.gb_capture_settings.Location = new System.Drawing.Point(48, 317);
|
||||
this.gb_capture_settings.Name = "gb_capture_settings";
|
||||
this.gb_capture_settings.Size = new System.Drawing.Size(953, 256);
|
||||
this.gb_capture_settings.TabIndex = 21;
|
||||
@ -513,13 +516,14 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// gb_audio_settings
|
||||
//
|
||||
this.gb_audio_settings.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.gb_audio_settings.Controls.Add(this.gb_audio_volume);
|
||||
this.gb_audio_settings.Controls.Add(this.btn_rescan_audio);
|
||||
this.gb_audio_settings.Controls.Add(this.cb_audio_device);
|
||||
this.gb_audio_settings.Controls.Add(this.rb_change_audio);
|
||||
this.gb_audio_settings.Controls.Add(this.rb_no_change_audio);
|
||||
this.gb_audio_settings.ForeColor = System.Drawing.Color.White;
|
||||
this.gb_audio_settings.Location = new System.Drawing.Point(65, 30);
|
||||
this.gb_audio_settings.Location = new System.Drawing.Point(48, 30);
|
||||
this.gb_audio_settings.Name = "gb_audio_settings";
|
||||
this.gb_audio_settings.Size = new System.Drawing.Size(953, 272);
|
||||
this.gb_audio_settings.TabIndex = 0;
|
||||
@ -645,61 +649,68 @@ namespace DisplayMagician.UIForms
|
||||
// tabp_before
|
||||
//
|
||||
this.tabp_before.BackColor = System.Drawing.Color.Black;
|
||||
this.tabp_before.Controls.Add(this.btn_find_examples_startprograms);
|
||||
this.tabp_before.Controls.Add(this.label3);
|
||||
this.tabp_before.Controls.Add(this.btn_add_new_start_program);
|
||||
this.tabp_before.Controls.Add(this.p_start_program);
|
||||
this.tabp_before.Controls.Add(this.flp_start_programs);
|
||||
this.tabp_before.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabp_before.ForeColor = System.Drawing.Color.White;
|
||||
this.tabp_before.Location = new System.Drawing.Point(4, 32);
|
||||
this.tabp_before.Name = "tabp_before";
|
||||
this.tabp_before.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabp_before.Size = new System.Drawing.Size(1082, 731);
|
||||
this.tabp_before.Size = new System.Drawing.Size(1052, 731);
|
||||
this.tabp_before.TabIndex = 1;
|
||||
this.tabp_before.Text = "3. Choose what happens before";
|
||||
//
|
||||
// p_start_program
|
||||
//
|
||||
this.p_start_program.Controls.Add(this.btn_find_examples_startprograms);
|
||||
this.p_start_program.Controls.Add(this.btn_add_new_start_program);
|
||||
this.p_start_program.Controls.Add(this.label3);
|
||||
this.p_start_program.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.p_start_program.Location = new System.Drawing.Point(3, 3);
|
||||
this.p_start_program.Name = "p_start_program";
|
||||
this.p_start_program.Size = new System.Drawing.Size(1046, 121);
|
||||
this.p_start_program.TabIndex = 41;
|
||||
//
|
||||
// btn_find_examples_startprograms
|
||||
//
|
||||
this.btn_find_examples_startprograms.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btn_find_examples_startprograms.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.btn_find_examples_startprograms.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_find_examples_startprograms.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_find_examples_startprograms.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_find_examples_startprograms.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_find_examples_startprograms.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_find_examples_startprograms.Location = new System.Drawing.Point(953, 76);
|
||||
this.btn_find_examples_startprograms.Location = new System.Drawing.Point(912, 78);
|
||||
this.btn_find_examples_startprograms.Name = "btn_find_examples_startprograms";
|
||||
this.btn_find_examples_startprograms.Size = new System.Drawing.Size(117, 25);
|
||||
this.btn_find_examples_startprograms.TabIndex = 40;
|
||||
this.btn_find_examples_startprograms.TabIndex = 43;
|
||||
this.btn_find_examples_startprograms.Text = "Show me &Examples";
|
||||
this.btn_find_examples_startprograms.UseVisualStyleBackColor = true;
|
||||
this.btn_find_examples_startprograms.Click += new System.EventHandler(this.btn_find_examples_startprograms_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(138, 24);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(807, 20);
|
||||
this.label3.TabIndex = 39;
|
||||
this.label3.Text = "Add one or more additional programs to start before the main Game starts. They wi" +
|
||||
"ll start in the order listed below.";
|
||||
//
|
||||
// btn_add_new_start_program
|
||||
//
|
||||
this.btn_add_new_start_program.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btn_add_new_start_program.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.btn_add_new_start_program.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_add_new_start_program.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_add_new_start_program.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_add_new_start_program.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_add_new_start_program.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_add_new_start_program.Location = new System.Drawing.Point(424, 65);
|
||||
this.btn_add_new_start_program.Location = new System.Drawing.Point(400, 63);
|
||||
this.btn_add_new_start_program.Name = "btn_add_new_start_program";
|
||||
this.btn_add_new_start_program.Size = new System.Drawing.Size(235, 40);
|
||||
this.btn_add_new_start_program.TabIndex = 38;
|
||||
this.btn_add_new_start_program.Size = new System.Drawing.Size(246, 40);
|
||||
this.btn_add_new_start_program.TabIndex = 41;
|
||||
this.btn_add_new_start_program.Text = "&Add Start Program";
|
||||
this.btn_add_new_start_program.UseVisualStyleBackColor = true;
|
||||
this.btn_add_new_start_program.Click += new System.EventHandler(this.btn_add_new_start_program_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(136, 21);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(807, 20);
|
||||
this.label3.TabIndex = 42;
|
||||
this.label3.Text = "Add one or more additional programs to start before the main Game starts. They wi" +
|
||||
"ll start in the order listed below.";
|
||||
//
|
||||
// flp_start_programs
|
||||
//
|
||||
@ -708,30 +719,40 @@ namespace DisplayMagician.UIForms
|
||||
this.flp_start_programs.AutoScrollMargin = new System.Drawing.Size(5, 0);
|
||||
this.flp_start_programs.AutoScrollMinSize = new System.Drawing.Size(5, 0);
|
||||
this.flp_start_programs.BackColor = System.Drawing.Color.White;
|
||||
this.flp_start_programs.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.flp_start_programs.Location = new System.Drawing.Point(3, 130);
|
||||
this.flp_start_programs.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.flp_start_programs.Location = new System.Drawing.Point(3, 3);
|
||||
this.flp_start_programs.Name = "flp_start_programs";
|
||||
this.flp_start_programs.Size = new System.Drawing.Size(1076, 598);
|
||||
this.flp_start_programs.Size = new System.Drawing.Size(1046, 725);
|
||||
this.flp_start_programs.TabIndex = 0;
|
||||
//
|
||||
// tabp_game
|
||||
//
|
||||
this.tabp_game.BackColor = System.Drawing.Color.Black;
|
||||
this.tabp_game.Controls.Add(this.btn_find_examples_game);
|
||||
this.tabp_game.Controls.Add(this.p_standalone);
|
||||
this.tabp_game.Controls.Add(this.rb_standalone);
|
||||
this.tabp_game.Controls.Add(this.rb_no_game);
|
||||
this.tabp_game.Controls.Add(this.p_game);
|
||||
this.tabp_game.Controls.Add(this.rb_launcher);
|
||||
this.tabp_game.Controls.Add(this.ilv_games);
|
||||
this.tabp_game.Controls.Add(this.p_gametostart);
|
||||
this.tabp_game.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabp_game.ForeColor = System.Drawing.Color.White;
|
||||
this.tabp_game.Location = new System.Drawing.Point(4, 32);
|
||||
this.tabp_game.Name = "tabp_game";
|
||||
this.tabp_game.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabp_game.Size = new System.Drawing.Size(1082, 731);
|
||||
this.tabp_game.Size = new System.Drawing.Size(1052, 731);
|
||||
this.tabp_game.TabIndex = 2;
|
||||
this.tabp_game.Text = "4. Choose Game to start";
|
||||
//
|
||||
// p_gametostart
|
||||
//
|
||||
this.p_gametostart.Controls.Add(this.btn_find_examples_game);
|
||||
this.p_gametostart.Controls.Add(this.p_standalone);
|
||||
this.p_gametostart.Controls.Add(this.rb_standalone);
|
||||
this.p_gametostart.Controls.Add(this.rb_no_game);
|
||||
this.p_gametostart.Controls.Add(this.p_game);
|
||||
this.p_gametostart.Controls.Add(this.rb_launcher);
|
||||
this.p_gametostart.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.p_gametostart.Location = new System.Drawing.Point(3, 3);
|
||||
this.p_gametostart.Name = "p_gametostart";
|
||||
this.p_gametostart.Size = new System.Drawing.Size(1046, 520);
|
||||
this.p_gametostart.TabIndex = 43;
|
||||
//
|
||||
// btn_find_examples_game
|
||||
//
|
||||
this.btn_find_examples_game.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@ -740,16 +761,17 @@ namespace DisplayMagician.UIForms
|
||||
this.btn_find_examples_game.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_find_examples_game.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_find_examples_game.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_find_examples_game.Location = new System.Drawing.Point(924, 19);
|
||||
this.btn_find_examples_game.Location = new System.Drawing.Point(924, 11);
|
||||
this.btn_find_examples_game.Name = "btn_find_examples_game";
|
||||
this.btn_find_examples_game.Size = new System.Drawing.Size(117, 25);
|
||||
this.btn_find_examples_game.TabIndex = 41;
|
||||
this.btn_find_examples_game.TabIndex = 47;
|
||||
this.btn_find_examples_game.Text = "Show me &Examples";
|
||||
this.btn_find_examples_game.UseVisualStyleBackColor = true;
|
||||
this.btn_find_examples_game.Click += new System.EventHandler(this.btn_find_examples_game_Click);
|
||||
//
|
||||
// p_standalone
|
||||
//
|
||||
this.p_standalone.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.p_standalone.Controls.Add(this.btn_choose_exe_icon);
|
||||
this.p_standalone.Controls.Add(this.pb_exe_icon);
|
||||
this.p_standalone.Controls.Add(this.cbx_exe_priority);
|
||||
@ -766,10 +788,10 @@ namespace DisplayMagician.UIForms
|
||||
this.p_standalone.Controls.Add(this.label2);
|
||||
this.p_standalone.Controls.Add(this.nud_timeout_executable);
|
||||
this.p_standalone.Enabled = false;
|
||||
this.p_standalone.Location = new System.Drawing.Point(3, 86);
|
||||
this.p_standalone.Location = new System.Drawing.Point(3, 79);
|
||||
this.p_standalone.Name = "p_standalone";
|
||||
this.p_standalone.Size = new System.Drawing.Size(1076, 201);
|
||||
this.p_standalone.TabIndex = 10;
|
||||
this.p_standalone.Size = new System.Drawing.Size(1046, 201);
|
||||
this.p_standalone.TabIndex = 46;
|
||||
//
|
||||
// btn_choose_exe_icon
|
||||
//
|
||||
@ -795,13 +817,14 @@ namespace DisplayMagician.UIForms
|
||||
this.pb_exe_icon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pb_exe_icon.TabIndex = 37;
|
||||
this.pb_exe_icon.TabStop = false;
|
||||
this.pb_exe_icon.Click += new System.EventHandler(this.pb_exe_icon_Click);
|
||||
//
|
||||
// cbx_exe_priority
|
||||
//
|
||||
this.cbx_exe_priority.AllowDrop = true;
|
||||
this.cbx_exe_priority.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbx_exe_priority.FormattingEnabled = true;
|
||||
this.cbx_exe_priority.Location = new System.Drawing.Point(917, 82);
|
||||
this.cbx_exe_priority.Location = new System.Drawing.Point(888, 82);
|
||||
this.cbx_exe_priority.Name = "cbx_exe_priority";
|
||||
this.cbx_exe_priority.Size = new System.Drawing.Size(150, 28);
|
||||
this.cbx_exe_priority.TabIndex = 31;
|
||||
@ -810,11 +833,12 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.lbl_exe_priority.AutoSize = true;
|
||||
this.lbl_exe_priority.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_exe_priority.Location = new System.Drawing.Point(770, 85);
|
||||
this.lbl_exe_priority.Location = new System.Drawing.Point(741, 85);
|
||||
this.lbl_exe_priority.Name = "lbl_exe_priority";
|
||||
this.lbl_exe_priority.Size = new System.Drawing.Size(143, 20);
|
||||
this.lbl_exe_priority.TabIndex = 30;
|
||||
this.lbl_exe_priority.Text = "Executable Priority:";
|
||||
this.lbl_exe_priority.Paint += new System.Windows.Forms.PaintEventHandler(this.label_Paint);
|
||||
//
|
||||
// btn_exe_to_start
|
||||
//
|
||||
@ -833,7 +857,7 @@ namespace DisplayMagician.UIForms
|
||||
this.txt_args_executable.Enabled = false;
|
||||
this.txt_args_executable.Location = new System.Drawing.Point(425, 46);
|
||||
this.txt_args_executable.Name = "txt_args_executable";
|
||||
this.txt_args_executable.Size = new System.Drawing.Size(642, 26);
|
||||
this.txt_args_executable.Size = new System.Drawing.Size(613, 26);
|
||||
this.txt_args_executable.TabIndex = 11;
|
||||
//
|
||||
// cb_args_executable
|
||||
@ -854,7 +878,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.btn_choose_alternative_executable.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_choose_alternative_executable.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_choose_alternative_executable.Location = new System.Drawing.Point(981, 155);
|
||||
this.btn_choose_alternative_executable.Location = new System.Drawing.Point(953, 155);
|
||||
this.btn_choose_alternative_executable.Name = "btn_choose_alternative_executable";
|
||||
this.btn_choose_alternative_executable.Size = new System.Drawing.Size(85, 27);
|
||||
this.btn_choose_alternative_executable.TabIndex = 9;
|
||||
@ -867,9 +891,9 @@ namespace DisplayMagician.UIForms
|
||||
this.txt_alternative_executable.Enabled = false;
|
||||
this.txt_alternative_executable.Location = new System.Drawing.Point(633, 156);
|
||||
this.txt_alternative_executable.Name = "txt_alternative_executable";
|
||||
this.txt_alternative_executable.Size = new System.Drawing.Size(342, 26);
|
||||
this.txt_alternative_executable.Size = new System.Drawing.Size(314, 26);
|
||||
this.txt_alternative_executable.TabIndex = 4;
|
||||
this.txt_alternative_executable.TextChanged += new System.EventHandler(this.txt_alternative_executable_TextChanged);
|
||||
this.txt_alternative_executable.Click += new System.EventHandler(this.txt_alternative_executable_TextChanged);
|
||||
//
|
||||
// rb_wait_alternative_executable
|
||||
//
|
||||
@ -905,7 +929,7 @@ namespace DisplayMagician.UIForms
|
||||
this.txt_executable.Name = "txt_executable";
|
||||
this.txt_executable.Size = new System.Drawing.Size(489, 26);
|
||||
this.txt_executable.TabIndex = 1;
|
||||
this.txt_executable.TextChanged += new System.EventHandler(this.txt_executable_TextChanged);
|
||||
this.txt_executable.Click += new System.EventHandler(this.txt_executable_TextChanged);
|
||||
//
|
||||
// lbl_app_executable
|
||||
//
|
||||
@ -923,7 +947,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label2.Location = new System.Drawing.Point(881, 13);
|
||||
this.label2.Location = new System.Drawing.Point(852, 13);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(125, 20);
|
||||
this.label2.TabIndex = 5;
|
||||
@ -932,7 +956,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// nud_timeout_executable
|
||||
//
|
||||
this.nud_timeout_executable.Location = new System.Drawing.Point(1012, 10);
|
||||
this.nud_timeout_executable.Location = new System.Drawing.Point(983, 10);
|
||||
this.nud_timeout_executable.Maximum = new decimal(new int[] {
|
||||
240,
|
||||
0,
|
||||
@ -951,34 +975,36 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.rb_standalone.AutoSize = true;
|
||||
this.rb_standalone.ForeColor = System.Drawing.Color.White;
|
||||
this.rb_standalone.Location = new System.Drawing.Point(16, 60);
|
||||
this.rb_standalone.Location = new System.Drawing.Point(16, 53);
|
||||
this.rb_standalone.Name = "rb_standalone";
|
||||
this.rb_standalone.Size = new System.Drawing.Size(222, 24);
|
||||
this.rb_standalone.TabIndex = 9;
|
||||
this.rb_standalone.TabIndex = 45;
|
||||
this.rb_standalone.Text = "Launch a Game executable";
|
||||
this.rb_standalone.UseVisualStyleBackColor = true;
|
||||
this.rb_standalone.CheckedChanged += new System.EventHandler(this.rb_standalone_CheckedChanged);
|
||||
this.rb_standalone.Paint += new System.Windows.Forms.PaintEventHandler(this.radiobutton_Paint);
|
||||
//
|
||||
// rb_no_game
|
||||
//
|
||||
this.rb_no_game.AutoSize = true;
|
||||
this.rb_no_game.ForeColor = System.Drawing.Color.White;
|
||||
this.rb_no_game.Location = new System.Drawing.Point(15, 18);
|
||||
this.rb_no_game.Location = new System.Drawing.Point(15, 11);
|
||||
this.rb_no_game.Name = "rb_no_game";
|
||||
this.rb_no_game.Size = new System.Drawing.Size(162, 24);
|
||||
this.rb_no_game.TabIndex = 8;
|
||||
this.rb_no_game.TabIndex = 44;
|
||||
this.rb_no_game.Text = "Don\'t start a Game";
|
||||
this.rb_no_game.UseVisualStyleBackColor = true;
|
||||
this.rb_no_game.CheckedChanged += new System.EventHandler(this.rb_no_game_CheckedChanged);
|
||||
this.rb_no_game.Paint += new System.Windows.Forms.PaintEventHandler(this.radiobutton_Paint);
|
||||
//
|
||||
// p_game
|
||||
//
|
||||
this.p_game.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.p_game.Controls.Add(this.btn_refresh_games_list);
|
||||
this.p_game.Controls.Add(this.btn_choose_game_icon);
|
||||
this.p_game.Controls.Add(this.pb_game_icon);
|
||||
this.p_game.Controls.Add(this.lbl_no_game_libraries);
|
||||
this.p_game.Controls.Add(this.cbx_game_priority);
|
||||
this.p_game.Controls.Add(this.ilv_games);
|
||||
this.p_game.Controls.Add(this.cb_wait_alternative_game);
|
||||
this.p_game.Controls.Add(this.btn_choose_alternative_game);
|
||||
this.p_game.Controls.Add(this.txt_alternative_game);
|
||||
@ -990,20 +1016,20 @@ namespace DisplayMagician.UIForms
|
||||
this.p_game.Controls.Add(this.lbl_game_timeout);
|
||||
this.p_game.Controls.Add(this.nud_timeout_game);
|
||||
this.p_game.Controls.Add(this.lbl_game_library);
|
||||
this.p_game.Location = new System.Drawing.Point(3, 338);
|
||||
this.p_game.Location = new System.Drawing.Point(3, 331);
|
||||
this.p_game.Name = "p_game";
|
||||
this.p_game.Size = new System.Drawing.Size(1076, 389);
|
||||
this.p_game.TabIndex = 7;
|
||||
this.p_game.Size = new System.Drawing.Size(1046, 181);
|
||||
this.p_game.TabIndex = 43;
|
||||
//
|
||||
// btn_refresh_games_list
|
||||
//
|
||||
this.btn_refresh_games_list.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btn_refresh_games_list.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.btn_refresh_games_list.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_refresh_games_list.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_refresh_games_list.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_refresh_games_list.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_refresh_games_list.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_refresh_games_list.Location = new System.Drawing.Point(950, 162);
|
||||
this.btn_refresh_games_list.Location = new System.Drawing.Point(921, 147);
|
||||
this.btn_refresh_games_list.Name = "btn_refresh_games_list";
|
||||
this.btn_refresh_games_list.Size = new System.Drawing.Size(117, 25);
|
||||
this.btn_refresh_games_list.TabIndex = 42;
|
||||
@ -1035,6 +1061,7 @@ namespace DisplayMagician.UIForms
|
||||
this.pb_game_icon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pb_game_icon.TabIndex = 35;
|
||||
this.pb_game_icon.TabStop = false;
|
||||
this.pb_game_icon.Click += new System.EventHandler(this.pb_game_icon_Click);
|
||||
//
|
||||
// lbl_no_game_libraries
|
||||
//
|
||||
@ -1045,7 +1072,7 @@ namespace DisplayMagician.UIForms
|
||||
this.lbl_no_game_libraries.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.lbl_no_game_libraries.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_no_game_libraries.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lbl_no_game_libraries.Location = new System.Drawing.Point(267, 162);
|
||||
this.lbl_no_game_libraries.Location = new System.Drawing.Point(208, 147);
|
||||
this.lbl_no_game_libraries.Name = "lbl_no_game_libraries";
|
||||
this.lbl_no_game_libraries.Size = new System.Drawing.Size(613, 22);
|
||||
this.lbl_no_game_libraries.TabIndex = 34;
|
||||
@ -1059,43 +1086,29 @@ namespace DisplayMagician.UIForms
|
||||
this.cbx_game_priority.AllowDrop = true;
|
||||
this.cbx_game_priority.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbx_game_priority.FormattingEnabled = true;
|
||||
this.cbx_game_priority.Location = new System.Drawing.Point(679, 11);
|
||||
this.cbx_game_priority.Location = new System.Drawing.Point(666, 12);
|
||||
this.cbx_game_priority.Name = "cbx_game_priority";
|
||||
this.cbx_game_priority.Size = new System.Drawing.Size(164, 28);
|
||||
this.cbx_game_priority.TabIndex = 29;
|
||||
//
|
||||
// ilv_games
|
||||
//
|
||||
this.ilv_games.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.ilv_games.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ilv_games.IntegralScroll = true;
|
||||
this.ilv_games.Location = new System.Drawing.Point(0, 200);
|
||||
this.ilv_games.Name = "ilv_games";
|
||||
this.ilv_games.PersistentCacheDirectory = "";
|
||||
this.ilv_games.PersistentCacheSize = ((long)(100));
|
||||
this.ilv_games.Size = new System.Drawing.Size(1076, 189);
|
||||
this.ilv_games.SortOrder = Manina.Windows.Forms.SortOrder.Ascending;
|
||||
this.ilv_games.TabIndex = 28;
|
||||
this.ilv_games.UseWIC = true;
|
||||
this.ilv_games.ItemClick += new Manina.Windows.Forms.ItemClickEventHandler(this.ilv_games_ItemClick);
|
||||
//
|
||||
// cb_wait_alternative_game
|
||||
//
|
||||
this.cb_wait_alternative_game.AutoSize = true;
|
||||
this.cb_wait_alternative_game.Location = new System.Drawing.Point(165, 111);
|
||||
this.cb_wait_alternative_game.Location = new System.Drawing.Point(165, 100);
|
||||
this.cb_wait_alternative_game.Name = "cb_wait_alternative_game";
|
||||
this.cb_wait_alternative_game.Size = new System.Drawing.Size(229, 24);
|
||||
this.cb_wait_alternative_game.TabIndex = 27;
|
||||
this.cb_wait_alternative_game.Text = "Monitor different executable:";
|
||||
this.cb_wait_alternative_game.UseVisualStyleBackColor = true;
|
||||
this.cb_wait_alternative_game.CheckedChanged += new System.EventHandler(this.cb_wait_alternative_game_CheckedChanged);
|
||||
this.cb_wait_alternative_game.Paint += new System.Windows.Forms.PaintEventHandler(this.checkbox_Paint);
|
||||
//
|
||||
// btn_choose_alternative_game
|
||||
//
|
||||
this.btn_choose_alternative_game.Enabled = false;
|
||||
this.btn_choose_alternative_game.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_choose_alternative_game.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_choose_alternative_game.Location = new System.Drawing.Point(981, 109);
|
||||
this.btn_choose_alternative_game.Location = new System.Drawing.Point(953, 98);
|
||||
this.btn_choose_alternative_game.Name = "btn_choose_alternative_game";
|
||||
this.btn_choose_alternative_game.Size = new System.Drawing.Size(85, 27);
|
||||
this.btn_choose_alternative_game.TabIndex = 26;
|
||||
@ -1106,13 +1119,14 @@ namespace DisplayMagician.UIForms
|
||||
// txt_alternative_game
|
||||
//
|
||||
this.txt_alternative_game.Enabled = false;
|
||||
this.txt_alternative_game.Location = new System.Drawing.Point(399, 109);
|
||||
this.txt_alternative_game.Location = new System.Drawing.Point(399, 98);
|
||||
this.txt_alternative_game.Name = "txt_alternative_game";
|
||||
this.txt_alternative_game.Size = new System.Drawing.Size(576, 26);
|
||||
this.txt_alternative_game.Size = new System.Drawing.Size(548, 26);
|
||||
this.txt_alternative_game.TabIndex = 24;
|
||||
//
|
||||
// txt_game_name
|
||||
//
|
||||
this.txt_game_name.Enabled = false;
|
||||
this.txt_game_name.Location = new System.Drawing.Point(150, 11);
|
||||
this.txt_game_name.Name = "txt_game_name";
|
||||
this.txt_game_name.ReadOnly = true;
|
||||
@ -1124,7 +1138,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.lbl_game_priority.AutoSize = true;
|
||||
this.lbl_game_priority.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_game_priority.Location = new System.Drawing.Point(570, 14);
|
||||
this.lbl_game_priority.Location = new System.Drawing.Point(557, 15);
|
||||
this.lbl_game_priority.Name = "lbl_game_priority";
|
||||
this.lbl_game_priority.Size = new System.Drawing.Size(108, 20);
|
||||
this.lbl_game_priority.TabIndex = 18;
|
||||
@ -1146,16 +1160,16 @@ namespace DisplayMagician.UIForms
|
||||
// txt_args_game
|
||||
//
|
||||
this.txt_args_game.Enabled = false;
|
||||
this.txt_args_game.Location = new System.Drawing.Point(399, 72);
|
||||
this.txt_args_game.Location = new System.Drawing.Point(399, 61);
|
||||
this.txt_args_game.Name = "txt_args_game";
|
||||
this.txt_args_game.Size = new System.Drawing.Size(667, 26);
|
||||
this.txt_args_game.Size = new System.Drawing.Size(639, 26);
|
||||
this.txt_args_game.TabIndex = 13;
|
||||
//
|
||||
// cb_args_game
|
||||
//
|
||||
this.cb_args_game.AutoSize = true;
|
||||
this.cb_args_game.ForeColor = System.Drawing.Color.White;
|
||||
this.cb_args_game.Location = new System.Drawing.Point(166, 74);
|
||||
this.cb_args_game.Location = new System.Drawing.Point(166, 63);
|
||||
this.cb_args_game.Name = "cb_args_game";
|
||||
this.cb_args_game.Size = new System.Drawing.Size(213, 24);
|
||||
this.cb_args_game.TabIndex = 12;
|
||||
@ -1169,7 +1183,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
this.lbl_game_timeout.AutoSize = true;
|
||||
this.lbl_game_timeout.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_game_timeout.Location = new System.Drawing.Point(881, 14);
|
||||
this.lbl_game_timeout.Location = new System.Drawing.Point(853, 14);
|
||||
this.lbl_game_timeout.Name = "lbl_game_timeout";
|
||||
this.lbl_game_timeout.Size = new System.Drawing.Size(125, 20);
|
||||
this.lbl_game_timeout.TabIndex = 4;
|
||||
@ -1178,7 +1192,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// nud_timeout_game
|
||||
//
|
||||
this.nud_timeout_game.Location = new System.Drawing.Point(1012, 13);
|
||||
this.nud_timeout_game.Location = new System.Drawing.Point(984, 13);
|
||||
this.nud_timeout_game.Maximum = new decimal(new int[] {
|
||||
240,
|
||||
0,
|
||||
@ -1198,7 +1212,7 @@ namespace DisplayMagician.UIForms
|
||||
this.lbl_game_library.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.lbl_game_library.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbl_game_library.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_game_library.Location = new System.Drawing.Point(408, 40);
|
||||
this.lbl_game_library.Location = new System.Drawing.Point(393, -64);
|
||||
this.lbl_game_library.Name = "lbl_game_library";
|
||||
this.lbl_game_library.Size = new System.Drawing.Size(127, 22);
|
||||
this.lbl_game_library.TabIndex = 30;
|
||||
@ -1210,14 +1224,30 @@ namespace DisplayMagician.UIForms
|
||||
this.rb_launcher.AutoSize = true;
|
||||
this.rb_launcher.Checked = true;
|
||||
this.rb_launcher.ForeColor = System.Drawing.Color.White;
|
||||
this.rb_launcher.Location = new System.Drawing.Point(15, 309);
|
||||
this.rb_launcher.Location = new System.Drawing.Point(15, 302);
|
||||
this.rb_launcher.Name = "rb_launcher";
|
||||
this.rb_launcher.Size = new System.Drawing.Size(466, 24);
|
||||
this.rb_launcher.TabIndex = 6;
|
||||
this.rb_launcher.TabIndex = 42;
|
||||
this.rb_launcher.TabStop = true;
|
||||
this.rb_launcher.Text = "Launch a Game installed in Steam, Origin, Uplay, Epic or GOG";
|
||||
this.rb_launcher.UseVisualStyleBackColor = true;
|
||||
this.rb_launcher.CheckedChanged += new System.EventHandler(this.rb_launcher_CheckedChanged);
|
||||
this.rb_launcher.Paint += new System.Windows.Forms.PaintEventHandler(this.radiobutton_Paint);
|
||||
//
|
||||
// ilv_games
|
||||
//
|
||||
this.ilv_games.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ilv_games.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ilv_games.IntegralScroll = true;
|
||||
this.ilv_games.Location = new System.Drawing.Point(3, 523);
|
||||
this.ilv_games.Name = "ilv_games";
|
||||
this.ilv_games.PersistentCacheDirectory = "";
|
||||
this.ilv_games.PersistentCacheSize = ((long)(100));
|
||||
this.ilv_games.Size = new System.Drawing.Size(1046, 205);
|
||||
this.ilv_games.SortOrder = Manina.Windows.Forms.SortOrder.Ascending;
|
||||
this.ilv_games.TabIndex = 42;
|
||||
this.ilv_games.UseWIC = true;
|
||||
this.ilv_games.ItemClick += new Manina.Windows.Forms.ItemClickEventHandler(this.ilv_games_ItemClick);
|
||||
//
|
||||
// tabp_after
|
||||
//
|
||||
@ -1231,12 +1261,13 @@ namespace DisplayMagician.UIForms
|
||||
this.tabp_after.Location = new System.Drawing.Point(4, 32);
|
||||
this.tabp_after.Name = "tabp_after";
|
||||
this.tabp_after.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabp_after.Size = new System.Drawing.Size(1082, 731);
|
||||
this.tabp_after.Size = new System.Drawing.Size(1052, 731);
|
||||
this.tabp_after.TabIndex = 3;
|
||||
this.tabp_after.Text = "5. Choose what happens afterwards";
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.groupBox3.Controls.Add(this.txt_run_cmd_afterwards_args);
|
||||
this.groupBox3.Controls.Add(this.cb_run_cmd_afterwards_args);
|
||||
this.groupBox3.Controls.Add(this.btn_run_cmd_afterwards);
|
||||
@ -1306,6 +1337,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.groupBox2.Controls.Add(this.rb_switch_capture_permanent);
|
||||
this.groupBox2.Controls.Add(this.rb_switch_capture_temp);
|
||||
this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
@ -1345,6 +1377,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.groupBox1.Controls.Add(this.rb_switch_audio_permanent);
|
||||
this.groupBox1.Controls.Add(this.rb_switch_audio_temp);
|
||||
this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
@ -1384,6 +1417,7 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// gb_display_after
|
||||
//
|
||||
this.gb_display_after.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.gb_display_after.Controls.Add(this.rb_switch_display_permanent);
|
||||
this.gb_display_after.Controls.Add(this.rb_switch_display_temp);
|
||||
this.gb_display_after.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
@ -1429,7 +1463,7 @@ namespace DisplayMagician.UIForms
|
||||
this.txt_shortcut_save_name.Location = new System.Drawing.Point(207, 844);
|
||||
this.txt_shortcut_save_name.MaxLength = 200;
|
||||
this.txt_shortcut_save_name.Name = "txt_shortcut_save_name";
|
||||
this.txt_shortcut_save_name.Size = new System.Drawing.Size(744, 35);
|
||||
this.txt_shortcut_save_name.Size = new System.Drawing.Size(714, 35);
|
||||
this.txt_shortcut_save_name.TabIndex = 29;
|
||||
this.txt_shortcut_save_name.Click += new System.EventHandler(this.txt_shortcut_save_name_Click);
|
||||
this.txt_shortcut_save_name.TextChanged += new System.EventHandler(this.txt_shortcut_save_name_TextChanged);
|
||||
@ -1460,13 +1494,11 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// cb_autosuggest
|
||||
//
|
||||
this.cb_autosuggest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cb_autosuggest.AutoSize = true;
|
||||
this.cb_autosuggest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cb_autosuggest.Checked = true;
|
||||
this.cb_autosuggest.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cb_autosuggest.ForeColor = System.Drawing.Color.White;
|
||||
this.cb_autosuggest.Location = new System.Drawing.Point(969, 853);
|
||||
this.cb_autosuggest.Location = new System.Drawing.Point(954, 853);
|
||||
this.cb_autosuggest.Name = "cb_autosuggest";
|
||||
this.cb_autosuggest.Size = new System.Drawing.Size(117, 17);
|
||||
this.cb_autosuggest.TabIndex = 32;
|
||||
@ -1476,14 +1508,13 @@ namespace DisplayMagician.UIForms
|
||||
//
|
||||
// btn_hotkey
|
||||
//
|
||||
this.btn_hotkey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btn_hotkey.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.btn_hotkey.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_hotkey.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_hotkey.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btn_hotkey.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btn_hotkey.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_hotkey.Location = new System.Drawing.Point(434, 891);
|
||||
this.btn_hotkey.Location = new System.Drawing.Point(419, 891);
|
||||
this.btn_hotkey.Name = "btn_hotkey";
|
||||
this.btn_hotkey.Size = new System.Drawing.Size(120, 40);
|
||||
this.btn_hotkey.TabIndex = 36;
|
||||
@ -1513,7 +1544,7 @@ namespace DisplayMagician.UIForms
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Black;
|
||||
this.CancelButton = this.btn_cancel;
|
||||
this.ClientSize = new System.Drawing.Size(1114, 943);
|
||||
this.ClientSize = new System.Drawing.Size(1084, 943);
|
||||
this.Controls.Add(this.lbl_hotkey_assigned);
|
||||
this.Controls.Add(this.btn_hotkey);
|
||||
this.Controls.Add(this.cb_autosuggest);
|
||||
@ -1523,9 +1554,9 @@ namespace DisplayMagician.UIForms
|
||||
this.Controls.Add(this.tabc_shortcut);
|
||||
this.Controls.Add(this.btn_cancel);
|
||||
this.Controls.Add(this.btn_save);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(1100, 982);
|
||||
this.Name = "ShortcutForm";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
@ -1549,9 +1580,11 @@ namespace DisplayMagician.UIForms
|
||||
this.gb_audio_volume.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nud_audio_volume)).EndInit();
|
||||
this.tabp_before.ResumeLayout(false);
|
||||
this.tabp_before.PerformLayout();
|
||||
this.p_start_program.ResumeLayout(false);
|
||||
this.p_start_program.PerformLayout();
|
||||
this.tabp_game.ResumeLayout(false);
|
||||
this.tabp_game.PerformLayout();
|
||||
this.p_gametostart.ResumeLayout(false);
|
||||
this.p_gametostart.PerformLayout();
|
||||
this.p_standalone.ResumeLayout(false);
|
||||
this.p_standalone.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pb_exe_icon)).EndInit();
|
||||
@ -1585,34 +1618,11 @@ namespace DisplayMagician.UIForms
|
||||
private System.Windows.Forms.Label lbl_profile_shown;
|
||||
private Manina.Windows.Forms.ImageListView ilv_saved_profiles;
|
||||
private DisplayView dv_profile;
|
||||
private System.Windows.Forms.TabPage tabp_before;
|
||||
private System.Windows.Forms.TabPage tabp_game;
|
||||
private System.Windows.Forms.TabPage tabp_after;
|
||||
private System.Windows.Forms.TextBox txt_shortcut_save_name;
|
||||
private System.Windows.Forms.Panel p_game;
|
||||
private System.Windows.Forms.TextBox txt_game_name;
|
||||
private System.Windows.Forms.Label lbl_game_name;
|
||||
private System.Windows.Forms.TextBox txt_args_game;
|
||||
private System.Windows.Forms.CheckBox cb_args_game;
|
||||
private System.Windows.Forms.Label lbl_game_timeout;
|
||||
private System.Windows.Forms.NumericUpDown nud_timeout_game;
|
||||
private System.Windows.Forms.RadioButton rb_launcher;
|
||||
private System.Windows.Forms.RadioButton rb_no_game;
|
||||
private System.Windows.Forms.Panel p_standalone;
|
||||
private System.Windows.Forms.TextBox txt_args_executable;
|
||||
private System.Windows.Forms.CheckBox cb_args_executable;
|
||||
private System.Windows.Forms.Button btn_choose_alternative_executable;
|
||||
private System.Windows.Forms.TextBox txt_alternative_executable;
|
||||
private System.Windows.Forms.RadioButton rb_wait_alternative_executable;
|
||||
private System.Windows.Forms.RadioButton rb_wait_executable;
|
||||
private System.Windows.Forms.TextBox txt_executable;
|
||||
private System.Windows.Forms.Label lbl_app_executable;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.NumericUpDown nud_timeout_executable;
|
||||
private System.Windows.Forms.RadioButton rb_standalone;
|
||||
private System.Windows.Forms.Label lbl_title;
|
||||
private System.Windows.Forms.Label lbl_shortcut_name;
|
||||
private System.Windows.Forms.Button btn_exe_to_start;
|
||||
private System.Windows.Forms.CheckBox cb_autosuggest;
|
||||
private System.Windows.Forms.TabPage tabp_audio;
|
||||
private System.Windows.Forms.GroupBox gb_display_after;
|
||||
@ -1644,37 +1654,62 @@ namespace DisplayMagician.UIForms
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.RadioButton rb_switch_capture_permanent;
|
||||
private System.Windows.Forms.RadioButton rb_switch_capture_temp;
|
||||
private System.Windows.Forms.Label lbl_no_game_libraries;
|
||||
private System.Windows.Forms.Label lbl_disabled_shortcut_audio_chipset;
|
||||
private System.Windows.Forms.Label lbl_no_active_audio_devices;
|
||||
private System.Windows.Forms.Label lbl_no_active_capture_devices;
|
||||
private System.Windows.Forms.Button btn_choose_alternative_game;
|
||||
private System.Windows.Forms.TextBox txt_alternative_game;
|
||||
private System.Windows.Forms.CheckBox cb_wait_alternative_game;
|
||||
private System.Windows.Forms.Button btn_hotkey;
|
||||
private System.Windows.Forms.Label lbl_hotkey_assigned;
|
||||
private System.Windows.Forms.FlowLayoutPanel flp_start_programs;
|
||||
private System.Windows.Forms.Button btn_add_new_start_program;
|
||||
private System.Windows.Forms.Label label3;
|
||||
internal Manina.Windows.Forms.ImageListView ilv_games;
|
||||
private System.Windows.Forms.Button btn_find_examples_startprograms;
|
||||
private System.Windows.Forms.ComboBox cbx_exe_priority;
|
||||
private System.Windows.Forms.Label lbl_exe_priority;
|
||||
private System.Windows.Forms.Button btn_find_examples_game;
|
||||
private System.Windows.Forms.Label lbl_game_library;
|
||||
private System.Windows.Forms.ComboBox cbx_game_priority;
|
||||
private System.Windows.Forms.Label lbl_game_priority;
|
||||
private System.Windows.Forms.PictureBox pbLogo;
|
||||
private System.Windows.Forms.Button btn_choose_exe_icon;
|
||||
private System.Windows.Forms.PictureBox pb_exe_icon;
|
||||
private System.Windows.Forms.Button btn_choose_game_icon;
|
||||
private System.Windows.Forms.PictureBox pb_game_icon;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.Button btn_run_cmd_afterwards;
|
||||
private System.Windows.Forms.TextBox txt_run_cmd_afterwards;
|
||||
private System.Windows.Forms.CheckBox cb_run_cmd_afterwards;
|
||||
private System.Windows.Forms.TextBox txt_run_cmd_afterwards_args;
|
||||
private System.Windows.Forms.CheckBox cb_run_cmd_afterwards_args;
|
||||
private System.Windows.Forms.TabPage tabp_before;
|
||||
private System.Windows.Forms.Panel p_start_program;
|
||||
private System.Windows.Forms.Button btn_find_examples_startprograms;
|
||||
private System.Windows.Forms.Button btn_add_new_start_program;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.FlowLayoutPanel flp_start_programs;
|
||||
private System.Windows.Forms.Panel p_gametostart;
|
||||
private System.Windows.Forms.Button btn_find_examples_game;
|
||||
private System.Windows.Forms.Panel p_standalone;
|
||||
private System.Windows.Forms.Button btn_choose_exe_icon;
|
||||
private System.Windows.Forms.PictureBox pb_exe_icon;
|
||||
private System.Windows.Forms.ComboBox cbx_exe_priority;
|
||||
private System.Windows.Forms.Label lbl_exe_priority;
|
||||
private System.Windows.Forms.Button btn_exe_to_start;
|
||||
private System.Windows.Forms.TextBox txt_args_executable;
|
||||
private System.Windows.Forms.CheckBox cb_args_executable;
|
||||
private System.Windows.Forms.Button btn_choose_alternative_executable;
|
||||
private System.Windows.Forms.TextBox txt_alternative_executable;
|
||||
private System.Windows.Forms.RadioButton rb_wait_alternative_executable;
|
||||
private System.Windows.Forms.RadioButton rb_wait_executable;
|
||||
private System.Windows.Forms.TextBox txt_executable;
|
||||
private System.Windows.Forms.Label lbl_app_executable;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.NumericUpDown nud_timeout_executable;
|
||||
private System.Windows.Forms.RadioButton rb_standalone;
|
||||
private System.Windows.Forms.RadioButton rb_no_game;
|
||||
private System.Windows.Forms.Panel p_game;
|
||||
private System.Windows.Forms.Button btn_refresh_games_list;
|
||||
private System.Windows.Forms.Button btn_choose_game_icon;
|
||||
private System.Windows.Forms.PictureBox pb_game_icon;
|
||||
private System.Windows.Forms.Label lbl_no_game_libraries;
|
||||
private System.Windows.Forms.ComboBox cbx_game_priority;
|
||||
private System.Windows.Forms.CheckBox cb_wait_alternative_game;
|
||||
private System.Windows.Forms.Button btn_choose_alternative_game;
|
||||
private System.Windows.Forms.TextBox txt_alternative_game;
|
||||
private System.Windows.Forms.TextBox txt_game_name;
|
||||
private System.Windows.Forms.Label lbl_game_priority;
|
||||
private System.Windows.Forms.Label lbl_game_name;
|
||||
private System.Windows.Forms.TextBox txt_args_game;
|
||||
private System.Windows.Forms.CheckBox cb_args_game;
|
||||
private System.Windows.Forms.Label lbl_game_timeout;
|
||||
private System.Windows.Forms.NumericUpDown nud_timeout_game;
|
||||
private System.Windows.Forms.Label lbl_game_library;
|
||||
private System.Windows.Forms.RadioButton rb_launcher;
|
||||
internal Manina.Windows.Forms.ImageListView ilv_games;
|
||||
}
|
||||
}
|
@ -43,7 +43,7 @@ namespace DisplayMagician.UIForms
|
||||
private bool _setCaptureVolume = false;
|
||||
private decimal _captureVolume = -1;
|
||||
private ShortcutItem _shortcutToEdit = null;
|
||||
//List<Game> allGames = new List<Game>();
|
||||
Game _selectedGame = null;
|
||||
private bool _isUnsaved = true;
|
||||
private bool _loadedShortcut = false;
|
||||
private bool _autoName = true;
|
||||
@ -966,8 +966,6 @@ namespace DisplayMagician.UIForms
|
||||
|
||||
private void LoadShortcut()
|
||||
{
|
||||
Game shortcutGame = null;
|
||||
|
||||
// Load all the profiles to prepare things
|
||||
bool foundChosenProfileInLoadedProfiles = false;
|
||||
ProfileItem chosenProfile = null;
|
||||
@ -1223,7 +1221,7 @@ namespace DisplayMagician.UIForms
|
||||
ilv_games.Items.Add(newItem, _gameAdaptor);
|
||||
if (_editingExistingShortcut && game.Name.Equals(_shortcutToEdit.GameName))
|
||||
{
|
||||
shortcutGame = game;
|
||||
_selectedGame = game;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1478,12 +1476,12 @@ namespace DisplayMagician.UIForms
|
||||
// If this is a shortcut we're editing
|
||||
_availableImages = new List<ShortcutBitmap>();
|
||||
// If the game is selected, then grab images from the game
|
||||
if (shortcutGame != null)
|
||||
if (_selectedGame != null)
|
||||
{
|
||||
_availableImages.AddRange(ImageUtils.GetMeAllBitmapsFromFile(shortcutGame.IconPath));
|
||||
if (shortcutGame.ExePath != shortcutGame.IconPath)
|
||||
_availableImages.AddRange(ImageUtils.GetMeAllBitmapsFromFile(_selectedGame.IconPath));
|
||||
if (_selectedGame.ExePath != _selectedGame.IconPath)
|
||||
{
|
||||
_availableImages.AddRange(ImageUtils.GetMeAllBitmapsFromFile(shortcutGame.ExePath));
|
||||
_availableImages.AddRange(ImageUtils.GetMeAllBitmapsFromFile(_selectedGame.ExePath));
|
||||
}
|
||||
|
||||
}
|
||||
@ -1731,9 +1729,10 @@ namespace DisplayMagician.UIForms
|
||||
p_standalone.Enabled = true;
|
||||
// Disable the Game Panel
|
||||
p_game.Enabled = false;
|
||||
ilv_games.Enabled = false;
|
||||
|
||||
// Empty the bitmaps
|
||||
EmptyTheImages();
|
||||
// EmptyTheImages();
|
||||
|
||||
if (!String.IsNullOrWhiteSpace(txt_executable.Text) && File.Exists(txt_executable.Text))
|
||||
{
|
||||
@ -1757,11 +1756,25 @@ namespace DisplayMagician.UIForms
|
||||
|
||||
// Enable the Game Panel
|
||||
p_game.Enabled = true;
|
||||
ilv_games.Enabled = true;
|
||||
// Disable the Standalone Panel
|
||||
p_standalone.Enabled = false;
|
||||
|
||||
// Empty the bitmaps
|
||||
EmptyTheImages();
|
||||
//EmptyTheImages();
|
||||
|
||||
if (!String.IsNullOrWhiteSpace(txt_game_name.Text) && ilv_games.SelectedItems.Count == 1 && _selectedGame != null && pb_game_icon.Image == null)
|
||||
{
|
||||
_gameLauncher = _selectedGame.GameLibrary.ToString("G");
|
||||
lbl_game_library.Text = $"Game Library: {_gameLauncher}";
|
||||
_gameId = _selectedGame.Id;
|
||||
_availableImages = _selectedGame.AvailableGameBitmaps;
|
||||
_shortcutToEdit.AvailableImages = _selectedGame.AvailableGameBitmaps;
|
||||
_selectedImage = ImageUtils.GetMeLargestAvailableBitmap(_availableImages);
|
||||
_shortcutToEdit.SelectedImage = _selectedImage;
|
||||
pb_game_icon.Image = _selectedImage.Image;
|
||||
btn_choose_game_icon.Enabled = true;
|
||||
}
|
||||
|
||||
SuggestShortcutName();
|
||||
EnableSaveButtonIfValid();
|
||||
@ -1789,6 +1802,7 @@ namespace DisplayMagician.UIForms
|
||||
// Disable the Standalone Panel
|
||||
p_standalone.Enabled = false;
|
||||
// Disable the Game Panel
|
||||
ilv_games.Enabled = false;
|
||||
p_game.Enabled = false;
|
||||
|
||||
SuggestShortcutName();
|
||||
@ -2777,6 +2791,7 @@ namespace DisplayMagician.UIForms
|
||||
{
|
||||
if (_loadedShortcut)
|
||||
_isUnsaved = true;
|
||||
_selectedGame = game;
|
||||
_gameLauncher = game.GameLibrary.ToString("G");
|
||||
lbl_game_library.Text = $"Game Library: {_gameLauncher}";
|
||||
_gameId = game.Id;
|
||||
@ -2932,6 +2947,16 @@ namespace DisplayMagician.UIForms
|
||||
MessageBoxIcon.Exclamation);
|
||||
}
|
||||
|
||||
private void pb_game_icon_Click(object sender, EventArgs e)
|
||||
{
|
||||
btn_choose_game_icon.PerformClick();
|
||||
}
|
||||
|
||||
private void pb_exe_icon_Click(object sender, EventArgs e)
|
||||
{
|
||||
btn_choose_exe_icon.PerformClick();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Class used to populate combo boxes
|
||||
|
@ -23,7 +23,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
Loading…
Reference in New Issue
Block a user