From: <che...@us...> - 2007-11-19 22:45:33
|
Revision: 1078 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1078&view=rev Author: chef_koch Date: 2007-11-19 14:45:30 -0800 (Mon, 19 Nov 2007) Log Message: ----------- added: option to set an application item as root, is now possible to set up in configuration Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.resx trunk/plugins/myGUIProgramsAlt/myProgramsAlt.xmp Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-11-19 17:42:47 UTC (rev 1077) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-11-19 22:45:30 UTC (rev 1078) @@ -64,44 +64,49 @@ // enabledCheckbox // this.enabledCheckbox.AutoSize = true; - this.enabledCheckbox.Location = new System.Drawing.Point(427, 17); + this.enabledCheckbox.Location = new System.Drawing.Point(8, 60); 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; // // titleLabel // - this.titleLabel.Location = new System.Drawing.Point(2, 71); + this.titleLabel.AutoSize = true; + this.titleLabel.Location = new System.Drawing.Point(5, 82); this.titleLabel.Name = "titleLabel"; - this.titleLabel.Size = new System.Drawing.Size(93, 20); + this.titleLabel.Size = new System.Drawing.Size(31, 13); this.titleLabel.TabIndex = 2; this.titleLabel.Text = "Title:"; this.titleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // applicationExeLabel // - this.applicationExeLabel.Location = new System.Drawing.Point(2, 97); + this.applicationExeLabel.AutoSize = true; + this.applicationExeLabel.Location = new System.Drawing.Point(5, 109); this.applicationExeLabel.Name = "applicationExeLabel"; - this.applicationExeLabel.Size = new System.Drawing.Size(93, 20); + this.applicationExeLabel.Size = new System.Drawing.Size(63, 13); this.applicationExeLabel.TabIndex = 3; this.applicationExeLabel.Text = "Application:"; this.applicationExeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // titleTextBox // + this.titleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.titleTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.titleTextBox.Location = new System.Drawing.Point(93, 71); + this.titleTextBox.Location = new System.Drawing.Point(100, 80); this.titleTextBox.Name = "titleTextBox"; - this.titleTextBox.Size = new System.Drawing.Size(325, 20); + this.titleTextBox.Size = new System.Drawing.Size(357, 21); this.titleTextBox.TabIndex = 4; this.titleTextBox.TextChanged += new System.EventHandler(this.titleTextBox_TextChanged); // // applicationExeButton // + this.applicationExeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.applicationExeButton.Image = global::GUIProgramsAlt.Properties.Resources.browseButtonImage; - this.applicationExeButton.Location = new System.Drawing.Point(426, 96); + this.applicationExeButton.Location = new System.Drawing.Point(463, 107); this.applicationExeButton.Name = "applicationExeButton"; this.applicationExeButton.Size = new System.Drawing.Size(31, 23); this.applicationExeButton.TabIndex = 6; @@ -111,9 +116,9 @@ // shellexecuteCheckBox // this.shellexecuteCheckBox.AutoSize = true; - this.shellexecuteCheckBox.Location = new System.Drawing.Point(5, 345); + this.shellexecuteCheckBox.Location = new System.Drawing.Point(8, 354); 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; @@ -122,59 +127,68 @@ // waitExitCheckBox // this.waitExitCheckBox.AutoSize = true; - this.waitExitCheckBox.Location = new System.Drawing.Point(5, 391); + this.waitExitCheckBox.Location = new System.Drawing.Point(8, 400); 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; // // applicationImageLabel // - this.applicationImageLabel.Location = new System.Drawing.Point(2, 124); + this.applicationImageLabel.AutoSize = true; + this.applicationImageLabel.Location = new System.Drawing.Point(5, 136); this.applicationImageLabel.Name = "applicationImageLabel"; - this.applicationImageLabel.Size = new System.Drawing.Size(93, 20); + this.applicationImageLabel.Size = new System.Drawing.Size(70, 13); this.applicationImageLabel.TabIndex = 11; this.applicationImageLabel.Text = "App. Picture:"; this.applicationImageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // applicationArgumentsLabel // - this.applicationArgumentsLabel.Location = new System.Drawing.Point(2, 150); + this.applicationArgumentsLabel.AutoSize = true; + this.applicationArgumentsLabel.Location = new System.Drawing.Point(5, 163); this.applicationArgumentsLabel.Name = "applicationArgumentsLabel"; - this.applicationArgumentsLabel.Size = new System.Drawing.Size(93, 20); + this.applicationArgumentsLabel.Size = new System.Drawing.Size(89, 13); this.applicationArgumentsLabel.TabIndex = 12; this.applicationArgumentsLabel.Text = "App. Arguments:"; this.applicationArgumentsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // applicationImageTextBox // + this.applicationImageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.applicationImageTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.applicationImageTextBox.Location = new System.Drawing.Point(93, 124); + this.applicationImageTextBox.Location = new System.Drawing.Point(100, 134); this.applicationImageTextBox.Name = "applicationImageTextBox"; - this.applicationImageTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationImageTextBox.Size = new System.Drawing.Size(357, 21); this.applicationImageTextBox.TabIndex = 13; this.applicationImageTextBox.TextChanged += new System.EventHandler(this.applicationImageTextBox_TextChanged); // // applicationArgumentsTextBox // + this.applicationArgumentsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.applicationArgumentsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.applicationArgumentsTextBox.Location = new System.Drawing.Point(93, 150); + this.applicationArgumentsTextBox.Location = new System.Drawing.Point(100, 161); this.applicationArgumentsTextBox.Name = "applicationArgumentsTextBox"; - this.applicationArgumentsTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationArgumentsTextBox.Size = new System.Drawing.Size(357, 21); this.applicationArgumentsTextBox.TabIndex = 14; // // winStyleLabel // - this.winStyleLabel.Location = new System.Drawing.Point(2, 177); + this.winStyleLabel.AutoSize = true; + this.winStyleLabel.Location = new System.Drawing.Point(5, 191); this.winStyleLabel.Name = "winStyleLabel"; - this.winStyleLabel.Size = new System.Drawing.Size(93, 20); + this.winStyleLabel.Size = new System.Drawing.Size(56, 13); this.winStyleLabel.TabIndex = 15; this.winStyleLabel.Text = "Win Style:"; this.winStyleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // winStyleComboBox // + this.winStyleComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.winStyleComboBox.BackColor = System.Drawing.SystemColors.Window; this.winStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.winStyleComboBox.FormattingEnabled = true; @@ -183,16 +197,17 @@ "Hidden", "Minimized", "Maximized"}); - this.winStyleComboBox.Location = new System.Drawing.Point(93, 177); + this.winStyleComboBox.Location = new System.Drawing.Point(100, 188); this.winStyleComboBox.Name = "winStyleComboBox"; - this.winStyleComboBox.Size = new System.Drawing.Size(325, 21); + this.winStyleComboBox.Size = new System.Drawing.Size(357, 21); this.winStyleComboBox.TabIndex = 16; // // startupDirLabel // - this.startupDirLabel.Location = new System.Drawing.Point(2, 204); + this.startupDirLabel.AutoSize = true; + this.startupDirLabel.Location = new System.Drawing.Point(5, 218); this.startupDirLabel.Name = "startupDirLabel"; - this.startupDirLabel.Size = new System.Drawing.Size(85, 20); + this.startupDirLabel.Size = new System.Drawing.Size(64, 13); this.startupDirLabel.TabIndex = 18; this.startupDirLabel.Text = "StartUp Dir:"; this.startupDirLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -200,17 +215,18 @@ // quoteCheckBox // this.quoteCheckBox.AutoSize = true; - this.quoteCheckBox.Location = new System.Drawing.Point(5, 322); + this.quoteCheckBox.Location = new System.Drawing.Point(8, 331); 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; // // applicationImageButton // + this.applicationImageButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.applicationImageButton.Image = global::GUIProgramsAlt.Properties.Resources.browseButtonImage; - this.applicationImageButton.Location = new System.Drawing.Point(426, 121); + this.applicationImageButton.Location = new System.Drawing.Point(463, 134); this.applicationImageButton.Name = "applicationImageButton"; this.applicationImageButton.Size = new System.Drawing.Size(31, 23); this.applicationImageButton.TabIndex = 26; @@ -219,8 +235,9 @@ // // startupDirButton // + this.startupDirButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.startupDirButton.Image = global::GUIProgramsAlt.Properties.Resources.browseButtonImage; - this.startupDirButton.Location = new System.Drawing.Point(426, 201); + this.startupDirButton.Location = new System.Drawing.Point(463, 215); this.startupDirButton.Name = "startupDirButton"; this.startupDirButton.Size = new System.Drawing.Size(31, 23); this.startupDirButton.TabIndex = 27; @@ -230,20 +247,23 @@ // allowGUIImportCheckBox // this.allowGUIImportCheckBox.AutoSize = true; - this.allowGUIImportCheckBox.Location = new System.Drawing.Point(5, 368); + this.allowGUIImportCheckBox.Location = new System.Drawing.Point(8, 377); this.allowGUIImportCheckBox.Name = "allowGUIImportCheckBox"; - this.allowGUIImportCheckBox.Size = new System.Drawing.Size(201, 17); + this.allowGUIImportCheckBox.Size = new System.Drawing.Size(209, 17); this.allowGUIImportCheckBox.TabIndex = 30; this.allowGUIImportCheckBox.Text = "Allow reimport from within mediaportal"; this.allowGUIImportCheckBox.UseVisualStyleBackColor = true; // // informationLabel // + this.informationLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.informationLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 19F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.informationLabel.Location = new System.Drawing.Point(4, 6); + this.informationLabel.Location = new System.Drawing.Point(3, 0); this.informationLabel.Name = "informationLabel"; - this.informationLabel.Size = new System.Drawing.Size(396, 57); + this.informationLabel.Size = new System.Drawing.Size(491, 57); this.informationLabel.TabIndex = 31; + this.informationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // openFileDialog // @@ -251,26 +271,30 @@ // // applicationExeTextBox // + this.applicationExeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.applicationExeTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.applicationExeTextBox.Location = new System.Drawing.Point(93, 98); + this.applicationExeTextBox.Location = new System.Drawing.Point(100, 107); this.applicationExeTextBox.Name = "applicationExeTextBox"; - this.applicationExeTextBox.Size = new System.Drawing.Size(325, 20); + this.applicationExeTextBox.Size = new System.Drawing.Size(357, 21); this.applicationExeTextBox.TabIndex = 32; this.applicationExeTextBox.TextChanged += new System.EventHandler(this.applicationExeTextBox_TextChanged); // // startupDirComboBox // + this.startupDirComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.startupDirComboBox.FormattingEnabled = true; - this.startupDirComboBox.Location = new System.Drawing.Point(93, 204); + this.startupDirComboBox.Location = new System.Drawing.Point(100, 215); this.startupDirComboBox.Name = "startupDirComboBox"; - this.startupDirComboBox.Size = new System.Drawing.Size(325, 21); + this.startupDirComboBox.Size = new System.Drawing.Size(357, 21); this.startupDirComboBox.TabIndex = 36; // // pictureBox // this.pictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pictureBox.InitialImage = null; - this.pictureBox.Location = new System.Drawing.Point(248, 322); + this.pictureBox.Location = new System.Drawing.Point(251, 331); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new System.Drawing.Size(170, 170); this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -279,36 +303,42 @@ // // postCommandsLabel // - this.postCommandsLabel.Location = new System.Drawing.Point(2, 257); + this.postCommandsLabel.AutoSize = true; + this.postCommandsLabel.Location = new System.Drawing.Point(5, 271); this.postCommandsLabel.Name = "postCommandsLabel"; - this.postCommandsLabel.Size = new System.Drawing.Size(85, 20); + this.postCommandsLabel.Size = new System.Drawing.Size(80, 13); this.postCommandsLabel.TabIndex = 40; this.postCommandsLabel.Text = "PostCommands"; this.postCommandsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // preCommandTextBox // + this.preCommandTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.preCommandTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.preCommandTextBox.Location = new System.Drawing.Point(93, 231); + this.preCommandTextBox.Location = new System.Drawing.Point(100, 242); this.preCommandTextBox.Name = "preCommandTextBox"; - this.preCommandTextBox.Size = new System.Drawing.Size(325, 20); + this.preCommandTextBox.Size = new System.Drawing.Size(357, 21); this.preCommandTextBox.TabIndex = 39; // // preCommandsLabel // - this.preCommandsLabel.Location = new System.Drawing.Point(2, 231); + this.preCommandsLabel.AutoSize = true; + this.preCommandsLabel.Location = new System.Drawing.Point(5, 244); this.preCommandsLabel.Name = "preCommandsLabel"; - this.preCommandsLabel.Size = new System.Drawing.Size(93, 20); + this.preCommandsLabel.Size = new System.Drawing.Size(79, 13); this.preCommandsLabel.TabIndex = 38; this.preCommandsLabel.Text = "PreCommands:"; this.preCommandsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postCommandTextBox // + this.postCommandTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.postCommandTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.postCommandTextBox.Location = new System.Drawing.Point(93, 257); + this.postCommandTextBox.Location = new System.Drawing.Point(100, 269); this.postCommandTextBox.Name = "postCommandTextBox"; - this.postCommandTextBox.Size = new System.Drawing.Size(325, 20); + this.postCommandTextBox.Size = new System.Drawing.Size(357, 21); this.postCommandTextBox.TabIndex = 41; // // AppSettingsBase @@ -374,10 +404,10 @@ protected System.Windows.Forms.OpenFileDialog openFileDialog; protected System.Windows.Forms.TextBox applicationExeTextBox; protected System.Windows.Forms.ComboBox startupDirComboBox; - private System.Windows.Forms.PictureBox pictureBox; protected System.Windows.Forms.Label postCommandsLabel; protected System.Windows.Forms.TextBox preCommandTextBox; protected System.Windows.Forms.Label preCommandsLabel; protected System.Windows.Forms.TextBox postCommandTextBox; + protected System.Windows.Forms.PictureBox pictureBox; } } \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs 2007-11-19 17:42:47 UTC (rev 1077) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.Designer.cs 2007-11-19 22:45:30 UTC (rev 1078) @@ -30,6 +30,7 @@ { this.platformComboBox = new System.Windows.Forms.ComboBox(); this.platformLabel = new System.Windows.Forms.Label(); + this.rootCheckBox = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // enabledCheckbox @@ -42,9 +43,13 @@ // // shellexecuteCheckBox // - this.toolTip.SetToolTip(this.shellexecuteCheckBox, "Enable this if you want to run a program that is associated with a specific fileItem-" + - "extension.\r\nYou can omit the \"Launching Application\" in this case."); + this.toolTip.SetToolTip(this.shellexecuteCheckBox, "Enable this if you want to run a program that is associated with a specific fileI" + + "tem-extension.\r\nYou can omit the \"Launching Application\" in this case."); // + // waitExitCheckBox + // + this.toolTip.SetToolTip(this.waitExitCheckBox, "If you want mediaportal to wait for exit while running application."); + // // applicationArgumentsLabel // this.toolTip.SetToolTip(this.applicationArgumentsLabel, "Optional arguments that are needed to launch the program \r\n\r\n(advanced hint: Use " + @@ -78,31 +83,48 @@ // // platformComboBox // + this.platformComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.platformComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.platformComboBox.FormattingEnabled = true; - this.platformComboBox.Location = new System.Drawing.Point(93, 286); + this.platformComboBox.Location = new System.Drawing.Point(100, 296); this.platformComboBox.Name = "platformComboBox"; - this.platformComboBox.Size = new System.Drawing.Size(325, 21); + this.platformComboBox.Size = new System.Drawing.Size(357, 21); this.platformComboBox.TabIndex = 42; // // platformLabel // this.platformLabel.AutoSize = true; this.platformLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.platformLabel.Location = new System.Drawing.Point(2, 289); + this.platformLabel.Location = new System.Drawing.Point(5, 299); this.platformLabel.Name = "platformLabel"; - this.platformLabel.Size = new System.Drawing.Size(84, 13); + this.platformLabel.Size = new System.Drawing.Size(89, 13); this.platformLabel.TabIndex = 41; this.platformLabel.Text = "Default platform:"; // + // rootCheckBox + // + this.rootCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.rootCheckBox.AutoSize = true; + this.rootCheckBox.Location = new System.Drawing.Point(346, 60); + this.rootCheckBox.Name = "rootCheckBox"; + this.rootCheckBox.Size = new System.Drawing.Size(148, 17); + this.rootCheckBox.TabIndex = 43; + this.rootCheckBox.Text = "show files in ROOT-folder"; + this.rootCheckBox.UseVisualStyleBackColor = true; + this.rootCheckBox.CheckedChanged += new System.EventHandler(this.rootCheckBox_CheckedChanged); + // // AppSettingsDirCache // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.rootCheckBox); this.Controls.Add(this.platformComboBox); this.Controls.Add(this.platformLabel); this.Name = "AppSettingsDirCache"; this.Load += new System.EventHandler(this.AppSettingsDirCache_Load); + this.Controls.SetChildIndex(this.platformLabel, 0); + this.Controls.SetChildIndex(this.platformComboBox, 0); this.Controls.SetChildIndex(this.preCommandsLabel, 0); this.Controls.SetChildIndex(this.preCommandTextBox, 0); this.Controls.SetChildIndex(this.postCommandsLabel, 0); @@ -128,8 +150,7 @@ this.Controls.SetChildIndex(this.informationLabel, 0); this.Controls.SetChildIndex(this.applicationExeTextBox, 0); this.Controls.SetChildIndex(this.startupDirComboBox, 0); - this.Controls.SetChildIndex(this.platformLabel, 0); - this.Controls.SetChildIndex(this.platformComboBox, 0); + this.Controls.SetChildIndex(this.rootCheckBox, 0); this.ResumeLayout(false); this.PerformLayout(); @@ -139,6 +160,7 @@ protected System.Windows.Forms.ComboBox platformComboBox; protected System.Windows.Forms.Label platformLabel; + protected System.Windows.Forms.CheckBox rootCheckBox; } } \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-11-19 17:42:47 UTC (rev 1077) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-11-19 22:45:30 UTC (rev 1078) @@ -51,6 +51,11 @@ ProgramUtils.FillComboBox("tblPlatform", "platform", platformComboBox); base.LoadSettings(applicationItem); + if (applicationItem.Title == "@ROOT@") + rootCheckBox.Checked = true; + else + rootCheckBox.Checked = false; + startupDirComboBox.Text = applicationItem.StartupDir; shellexecuteCheckBox.Checked = applicationItem.UseShellExecute; quoteCheckBox.Checked = applicationItem.UseQuotes; @@ -105,18 +110,15 @@ public override void LoadFromAppItem(ApplicationItem applicationItem) { - informationLabel.Text = applicationItem.Title; + informationLabel.Text = applicationItem.Title; titleTextBox.Text = applicationItem.Title; - applicationExeTextBox.Text = applicationItem.Executable; - + applicationExeTextBox.Text = applicationItem.Executable; applicationArgumentsTextBox.Text = applicationItem.Arguments; startupDirComboBox.Text = applicationItem.StartupDir; - shellexecuteCheckBox.Checked = applicationItem.UseShellExecute; quoteCheckBox.Checked = applicationItem.UseQuotes; waitExitCheckBox.Checked = applicationItem.WaitForExit; platformComboBox.SelectedValue = applicationItem.PlatformId; - } private void AppSettingsDirCache_Load(object sender, EventArgs e) @@ -127,5 +129,29 @@ allowGUIImportCheckBox.Checked = false; } + + private void rootCheckBox_CheckedChanged(object sender, EventArgs e) + { + if (this.rootCheckBox.Checked) + { + this.titleTextBox.Text = @"@ROOT@"; + this.titleTextBox.Enabled = false; + + this.shellexecuteCheckBox.Checked = true; + + this.allowGUIImportCheckBox.Checked = false; + this.allowGUIImportCheckBox.Enabled = false; + + this.pictureBox.Visible = false; + } + else + { + this.titleTextBox.Enabled = true; + + this.allowGUIImportCheckBox.Enabled = true; + + this.pictureBox.Visible = true; + } + } } } \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.resx 2007-11-19 17:42:47 UTC (rev 1077) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.resx 2007-11-19 22:45:30 UTC (rev 1078) @@ -118,10 +118,10 @@ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>313, 17</value> + <value>292, 17</value> </metadata> <metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>150, 17</value> + <value>141, 17</value> </metadata> <metadata name="openFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> Modified: trunk/plugins/myGUIProgramsAlt/myProgramsAlt.xmp =================================================================== --- trunk/plugins/myGUIProgramsAlt/myProgramsAlt.xmp 2007-11-19 17:42:47 UTC (rev 1077) +++ trunk/plugins/myGUIProgramsAlt/myProgramsAlt.xmp 2007-11-19 22:45:30 UTC (rev 1078) @@ -8,7 +8,7 @@ <Source>GUIProgramsAlt\bin\Release\GUIProgramsAlt.dll</Source> <Id>01010</Id> <Option /> - <Guid>57893c55-dcc4-4a2f-bc23-b05c7c653c7e</Guid> + <Guid>525634c1-4fad-4e93-b0c4-9ac1856fca7d</Guid> </File> <File> <FileName>myProgramsAlt.xml</FileName> @@ -17,7 +17,7 @@ <Source>GUIProgramsAlt\skin\BlueTwo\myProgramsAlt.xml</Source> <Id>02010</Id> <Option>OutputFileName=|DefaultFile=True|</Option> - <Guid>972438e5-d3cc-4e34-9aaa-6ae9cf39b023</Guid> + <Guid>9eda7ceb-1bd1-444c-80d6-1ae34ab369c8</Guid> </File> <File> <FileName>myProgramsAltFileInfo.xml</FileName> @@ -26,7 +26,7 @@ <Source>GUIProgramsAlt\skin\BlueTwo\myProgramsAltFileInfo.xml</Source> <Id>02010</Id> <Option>OutputFileName=|DefaultFile=True|</Option> - <Guid>58a988af-5557-4ec9-a0b7-2b862c6f9887</Guid> + <Guid>86600492-8319-4dfe-9584-83747e174f86</Guid> </File> <File> <FileName>myProgramsAltPreconfiguration.xml</FileName> @@ -35,7 +35,7 @@ <Source>GUIProgramsAlt\MetaData\myProgramsAltPreconfiguration.xml</Source> <Id>02010</Id> <Option /> - <Guid>1a909c22-67c5-4915-8c92-e7464d416e0a</Guid> + <Guid>6f29ab27-c903-4292-883b-927ee42b0512</Guid> </File> <File> <FileName>README.txt</FileName> @@ -44,7 +44,7 @@ <Source>README.txt</Source> <Id>04010</Id> <Option>OutputFileName=MyPrograms2_ReadMe|DefaultFile=False|</Option> - <Guid>1d7ab3ca-a21a-4953-ac24-ffd485215ae1</Guid> + <Guid>d4fd583e-a581-42e7-9e84-6cd8a2e7dec2</Guid> </File> <File> <FileName>System.Data.SQLite.DLL</FileName> @@ -53,12 +53,13 @@ <Source>GUIProgramsAlt\bin\Release\System.Data.SQLite.DLL</Source> <Id>04010</Id> <Option /> - <Guid>17cf81f6-0105-42f2-aaa4-9246a856d21a</Guid> + <Guid>8ce8bd92-3c7d-4721-908d-29bc440d5ab4</Guid> </File> </FileList> <StringList /> <Actions> <Action Place="POSTSETUP" Id="1" Command="GUIProgramsAlt.dll" /> + <Action Place="POSTSETUP" Id="1" Command="GUIProgramsAlt.dll" /> </Actions> <SetupGroups /> <SetupGroupMappings /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |