From: <che...@us...> - 2007-06-13 22:57:58
|
Revision: 539 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=539&view=rev Author: chef_koch Date: 2007-06-13 15:57:56 -0700 (Wed, 13 Jun 2007) Log Message: ----------- changed startupDirTextBox to startupDirComboBox containing - %FILEDIR% - DirectoryName of applicationExeTextBox Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -68,7 +68,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox @@ -121,7 +121,7 @@ this.Controls.SetChildIndex(this.applicationArgumentsTextBox, 0); this.Controls.SetChildIndex(this.winStyleLabel, 0); this.Controls.SetChildIndex(this.winStyleComboBox, 0); - this.Controls.SetChildIndex(this.startupDirTextBox, 0); + this.Controls.SetChildIndex(this.startupDirComboBox, 0); this.Controls.SetChildIndex(this.startupDirLabel, 0); this.Controls.SetChildIndex(this.quoteCheckBox, 0); this.Controls.SetChildIndex(this.applicationImageButton, 0); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -43,7 +43,7 @@ winStyleComboBox.Visible = false; startupDirButton.Visible = false; startupDirLabel.Visible = false; - startupDirTextBox.Visible = false; + startupDirComboBox.Visible = false; quoteCheckBox.Visible = false; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -44,7 +44,6 @@ this.applicationArgumentsTextBox = new System.Windows.Forms.TextBox(); this.winStyleLabel = new System.Windows.Forms.Label(); this.winStyleComboBox = new System.Windows.Forms.ComboBox(); - this.startupDirTextBox = new System.Windows.Forms.TextBox(); this.startupDirLabel = new System.Windows.Forms.Label(); this.quoteCheckBox = new System.Windows.Forms.CheckBox(); this.applicationImageButton = new System.Windows.Forms.Button(); @@ -56,6 +55,7 @@ this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); this.applicationExeTextBox = new System.Windows.Forms.TextBox(); this.prePostButton = new System.Windows.Forms.Button(); + this.startupDirComboBox = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // winTypeLabel @@ -73,7 +73,7 @@ this.enabledCheckbox.AutoSize = true; this.enabledCheckbox.Location = new System.Drawing.Point(427, 17); this.enabledCheckbox.Name = "enabledCheckbox"; - this.enabledCheckbox.Size = new System.Drawing.Size(65, 17); + this.enabledCheckbox.Size = new System.Drawing.Size(64, 17); this.enabledCheckbox.TabIndex = 1; this.enabledCheckbox.Text = "Enabled"; this.enabledCheckbox.UseVisualStyleBackColor = true; @@ -101,7 +101,7 @@ this.titleTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.titleTextBox.Location = new System.Drawing.Point(94, 44); this.titleTextBox.Name = "titleTextBox"; - this.titleTextBox.Size = new System.Drawing.Size(325, 20); + this.titleTextBox.Size = new System.Drawing.Size(325, 21); this.titleTextBox.TabIndex = 4; // // applicationExeButton @@ -119,7 +119,7 @@ this.shellexecuteCheckBox.AutoSize = true; this.shellexecuteCheckBox.Location = new System.Drawing.Point(7, 322); this.shellexecuteCheckBox.Name = "shellexecuteCheckBox"; - this.shellexecuteCheckBox.Size = new System.Drawing.Size(88, 17); + this.shellexecuteCheckBox.Size = new System.Drawing.Size(87, 17); this.shellexecuteCheckBox.TabIndex = 7; this.shellexecuteCheckBox.Text = "ShellExecute"; this.shellexecuteCheckBox.UseVisualStyleBackColor = true; @@ -130,7 +130,7 @@ this.waitExitCheckBox.AutoSize = true; this.waitExitCheckBox.Location = new System.Drawing.Point(7, 368); this.waitExitCheckBox.Name = "waitExitCheckBox"; - this.waitExitCheckBox.Size = new System.Drawing.Size(82, 17); + this.waitExitCheckBox.Size = new System.Drawing.Size(86, 17); this.waitExitCheckBox.TabIndex = 8; this.waitExitCheckBox.Text = "Wait for exit"; this.waitExitCheckBox.UseVisualStyleBackColor = true; @@ -158,7 +158,7 @@ this.applicationImageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.applicationImageTextBox.Location = new System.Drawing.Point(94, 97); this.applicationImageTextBox.Name = "applicationImageTextBox"; - this.applicationImageTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationImageTextBox.Size = new System.Drawing.Size(325, 21); this.applicationImageTextBox.TabIndex = 13; // // applicationArgumentsTextBox @@ -166,7 +166,7 @@ this.applicationArgumentsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.applicationArgumentsTextBox.Location = new System.Drawing.Point(94, 123); this.applicationArgumentsTextBox.Name = "applicationArgumentsTextBox"; - this.applicationArgumentsTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationArgumentsTextBox.Size = new System.Drawing.Size(325, 21); this.applicationArgumentsTextBox.TabIndex = 14; // // winStyleLabel @@ -193,14 +193,6 @@ this.winStyleComboBox.Size = new System.Drawing.Size(325, 21); this.winStyleComboBox.TabIndex = 16; // - // startupDirTextBox - // - this.startupDirTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.startupDirTextBox.Location = new System.Drawing.Point(94, 177); - this.startupDirTextBox.Name = "startupDirTextBox"; - this.startupDirTextBox.Size = new System.Drawing.Size(325, 20); - this.startupDirTextBox.TabIndex = 17; - // // startupDirLabel // this.startupDirLabel.Location = new System.Drawing.Point(3, 177); @@ -215,7 +207,7 @@ this.quoteCheckBox.AutoSize = true; this.quoteCheckBox.Location = new System.Drawing.Point(7, 299); this.quoteCheckBox.Name = "quoteCheckBox"; - this.quoteCheckBox.Size = new System.Drawing.Size(102, 17); + this.quoteCheckBox.Size = new System.Drawing.Size(104, 17); this.quoteCheckBox.TabIndex = 19; this.quoteCheckBox.Text = "Quote filenames"; this.quoteCheckBox.UseVisualStyleBackColor = true; @@ -245,7 +237,7 @@ this.allowRefreshCheckBox.AutoSize = true; this.allowRefreshCheckBox.Location = new System.Drawing.Point(7, 345); this.allowRefreshCheckBox.Name = "allowRefreshCheckBox"; - this.allowRefreshCheckBox.Size = new System.Drawing.Size(154, 17); + this.allowRefreshCheckBox.Size = new System.Drawing.Size(159, 17); this.allowRefreshCheckBox.TabIndex = 30; this.allowRefreshCheckBox.Text = "Allow refresh in mediaportal"; this.allowRefreshCheckBox.UseVisualStyleBackColor = true; @@ -266,8 +258,9 @@ this.applicationExeTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.applicationExeTextBox.Location = new System.Drawing.Point(94, 71); this.applicationExeTextBox.Name = "applicationExeTextBox"; - this.applicationExeTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationExeTextBox.Size = new System.Drawing.Size(325, 21); this.applicationExeTextBox.TabIndex = 32; + this.applicationExeTextBox.TextChanged += new System.EventHandler(this.applicationExeTextBox_TextChanged); // // prePostButton // @@ -279,10 +272,19 @@ this.prePostButton.UseVisualStyleBackColor = true; this.prePostButton.Click += new System.EventHandler(this.prePostButton_Click); // + // startupDirComboBox + // + this.startupDirComboBox.FormattingEnabled = true; + this.startupDirComboBox.Location = new System.Drawing.Point(94, 177); + this.startupDirComboBox.Name = "startupDirComboBox"; + this.startupDirComboBox.Size = new System.Drawing.Size(325, 21); + this.startupDirComboBox.TabIndex = 36; + // // AppSettingsBase // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.startupDirComboBox); this.Controls.Add(this.prePostButton); this.Controls.Add(this.applicationExeTextBox); this.Controls.Add(this.informationLabel); @@ -291,7 +293,6 @@ this.Controls.Add(this.applicationImageButton); this.Controls.Add(this.quoteCheckBox); this.Controls.Add(this.startupDirLabel); - this.Controls.Add(this.startupDirTextBox); this.Controls.Add(this.winStyleComboBox); this.Controls.Add(this.winStyleLabel); this.Controls.Add(this.applicationArgumentsTextBox); @@ -329,7 +330,6 @@ protected System.Windows.Forms.TextBox applicationArgumentsTextBox; protected System.Windows.Forms.Label winStyleLabel; protected System.Windows.Forms.ComboBox winStyleComboBox; - protected System.Windows.Forms.TextBox startupDirTextBox; protected System.Windows.Forms.Label startupDirLabel; protected System.Windows.Forms.CheckBox quoteCheckBox; protected System.Windows.Forms.Button applicationImageButton; @@ -341,5 +341,6 @@ protected System.Windows.Forms.OpenFileDialog openFileDialog; protected System.Windows.Forms.TextBox applicationExeTextBox; protected System.Windows.Forms.Button prePostButton; + protected System.Windows.Forms.ComboBox startupDirComboBox; } } \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -1,21 +1,22 @@ using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; +using System.Diagnostics; using System.Drawing; -using System.Data; +using System.IO; using System.Text; -using System.Diagnostics; using System.Windows.Forms; using Core.Util; -using GUIPrograms.Database; + using GUIPrograms; using GUIPrograms.ApplicationItems; +using GUIPrograms.Database; namespace GUIPrograms.Design { - public partial class AppSettingsBase : UserControl { string preLaunch = string.Empty; @@ -115,7 +116,7 @@ toolTip.SetToolTip(shellexecuteCheckBox, "Enable this if you want to run a program that is associated with a specific file-" + "extension.\r\n Omit the \"Launching Application\" in this case."); toolTip.SetToolTip(quoteCheckBox, "Quotes are usually needed to handle filenames with spaces correctly. \r\nAvoid double" + " quotes though!"); - toolTip.SetToolTip(startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FILEDIR" + + toolTip.SetToolTip(startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FILEDIR" + "% if you want to use the directory where the launched file is stored)"); toolTip.SetToolTip(winStyleComboBox, "Appearance of the launched program. \r\nTry HIDDEN or MINIMIZED for a seamless integr" + "ation in MediaPortal"); toolTip.SetToolTip(applicationArgumentsTextBox, "Optional arguments that are needed to launch the program \r\n\r\n(advanced hint: Use %FIL" + @@ -150,10 +151,10 @@ protected void startupDirButton_Click(object sender, EventArgs e) { - folderBrowserDialog.SelectedPath = startupDirTextBox.Text; + folderBrowserDialog.SelectedPath = startupDirComboBox.Text; if (folderBrowserDialog.ShowDialog(null) == DialogResult.OK) { - startupDirTextBox.Text = folderBrowserDialog.SelectedPath; + startupDirComboBox.Text = folderBrowserDialog.SelectedPath; } } @@ -192,5 +193,13 @@ this.applicationExeButton.Enabled = true; } } + + private void applicationExeTextBox_TextChanged(object sender, EventArgs e) + { + startupDirComboBox.Items.Clear(); + startupDirComboBox.Items.Add("%FILEDIR%"); + if (File.Exists(applicationExeTextBox.Text)) + startupDirComboBox.Items.Add(Path.GetDirectoryName(applicationExeTextBox.Text)); + } } } Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -60,7 +60,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -29,7 +29,7 @@ applicationExeTextBox.Text = curApp.Filename; applicationArgumentsTextBox.Text = curApp.Arguments; SetWindowStyle(curApp.WindowStyle); - startupDirTextBox.Text = curApp.Startupdir; + startupDirComboBox.Text = curApp.Startupdir; shellexecuteCheckBox.Checked = (curApp.UseShellExecute); quoteCheckBox.Checked = (curApp.UseQuotes); waitExitCheckBox.Checked = (curApp.WaitForExit); @@ -47,7 +47,7 @@ curApp.Filename = applicationExeTextBox.Text; curApp.Arguments = applicationArgumentsTextBox.Text; curApp.WindowStyle = GetSelectedWindowStyle(); - curApp.Startupdir = startupDirTextBox.Text; + curApp.Startupdir = startupDirComboBox.Text; curApp.UseShellExecute = (shellexecuteCheckBox.Checked); curApp.UseQuotes = (quoteCheckBox.Checked); curApp.WaitForExit = (waitExitCheckBox.Checked); @@ -84,7 +84,7 @@ applicationArgumentsTextBox.Text = applicationItem.Arguments; SetWindowStyle(applicationItem.WindowStyle); - startupDirTextBox.Text = applicationItem.Startupdir; + startupDirComboBox.Text = applicationItem.Startupdir; shellexecuteCheckBox.Checked = applicationItem.UseShellExecute; quoteCheckBox.Checked = applicationItem.UseQuotes; waitExitCheckBox.Checked = applicationItem.WaitForExit; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -66,7 +66,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -42,7 +42,7 @@ this.titleTextBox.Text = curApp.Title; this.applicationExeTextBox.Text = curApp.Filename; this.applicationArgumentsTextBox.Text = curApp.Arguments; - this.startupDirTextBox.Text = curApp.Startupdir; + this.startupDirComboBox.Text = curApp.Startupdir; this.quoteCheckBox.Checked = true; //(curApp.UseQuotes); this.waitExitCheckBox.Checked = (curApp.WaitForExit); @@ -63,7 +63,7 @@ curApp.Filename = this.applicationExeTextBox.Text; curApp.Arguments = this.applicationArgumentsTextBox.Text; curApp.WindowStyle = GetSelectedWindowStyle(); - curApp.Startupdir = this.startupDirTextBox.Text; + curApp.Startupdir = this.startupDirComboBox.Text; curApp.UseShellExecute = (this.shellexecuteCheckBox.Checked); curApp.UseQuotes = (this.quoteCheckBox.Checked); curApp.WaitForExit = (this.waitExitCheckBox.Checked); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -60,7 +60,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -35,7 +35,7 @@ winStyleComboBox.Visible = false; startupDirButton.Visible = false; startupDirLabel.Visible = false; - startupDirTextBox.Visible = false; + startupDirComboBox.Visible = false; quoteCheckBox.Visible = false; allowRefreshCheckBox.Visible = false; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -66,7 +66,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox @@ -161,7 +161,7 @@ this.Controls.SetChildIndex(this.applicationArgumentsTextBox, 0); this.Controls.SetChildIndex(this.winStyleLabel, 0); this.Controls.SetChildIndex(this.winStyleComboBox, 0); - this.Controls.SetChildIndex(this.startupDirTextBox, 0); + this.Controls.SetChildIndex(this.startupDirComboBox, 0); this.Controls.SetChildIndex(this.startupDirLabel, 0); this.Controls.SetChildIndex(this.quoteCheckBox, 0); this.Controls.SetChildIndex(this.applicationImageButton, 0); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -83,7 +83,7 @@ { this.startupDirButton.Visible = false; this.startupDirLabel.Visible = false; - this.startupDirTextBox.Visible = false; + this.startupDirComboBox.Visible = false; quoteCheckBox.Visible = false; waitExitCheckBox.Visible = false; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.Designer.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.Designer.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -69,7 +69,7 @@ // // startupDirTextBox // - this.toolTip.SetToolTip(this.startupDirTextBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + + this.toolTip.SetToolTip(this.startupDirComboBox, "Optional path that is passed as the launch-directory \r\n\r\n(advanced hint: Use %FIL" + "EDIR% if you want to use the directory where the launched file is stored)"); // // quoteCheckBox @@ -120,7 +120,7 @@ this.Controls.SetChildIndex(this.applicationArgumentsTextBox, 0); this.Controls.SetChildIndex(this.winStyleLabel, 0); this.Controls.SetChildIndex(this.winStyleComboBox, 0); - this.Controls.SetChildIndex(this.startupDirTextBox, 0); + this.Controls.SetChildIndex(this.startupDirComboBox, 0); this.Controls.SetChildIndex(this.startupDirLabel, 0); this.Controls.SetChildIndex(this.quoteCheckBox, 0); this.Controls.SetChildIndex(this.startupDirButton, 0); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-13 22:08:24 UTC (rev 538) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-13 22:57:56 UTC (rev 539) @@ -49,7 +49,7 @@ startupDirButton.Visible = false; startupDirLabel.Visible = false; - startupDirTextBox.Visible = false; + startupDirComboBox.Visible = false; quoteCheckBox.Visible = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |