From: <an...@us...> - 2007-05-15 06:15:23
|
Revision: 402 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=402&view=rev Author: and-81 Date: 2007-05-14 23:15:21 -0700 (Mon, 14 May 2007) Log Message: ----------- Removed backup file Removed Paths: ------------- trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/ExternalProgram.cs.bak trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalProgram.cs.bak Deleted: trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/ExternalProgram.cs.bak =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/ExternalProgram.cs.bak 2007-05-15 06:03:42 UTC (rev 401) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/ExternalProgram.cs.bak 2007-05-15 06:15:21 UTC (rev 402) @@ -1,162 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -using MediaPortal.GUI.Library; - -namespace MediaPortal.Plugins -{ - - public partial class ExternalProgram : Form - { - - #region Variables - - string _parametersMessage = ""; - - #endregion Variables - - #region Properties - - public string CommandString - { - get - { - return string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}", - textBoxProgram.Text, - textBoxStartup.Text, - textBoxParameters.Text, - (string)comboBoxWindowStyle.SelectedItem, - checkBoxNoWindow.Checked.ToString(), - checkBoxShellExecute.Checked.ToString(), - checkBoxWaitForExit.Checked.ToString()); - } - } - - #endregion Properties - - #region Constructors - - public ExternalProgram() : this (null, "") { } - public ExternalProgram(string parametersMessage) : this(null, parametersMessage) { } - public ExternalProgram(string[] commands) : this(commands, "") { } - public ExternalProgram(string[] commands, string parametersMessage) - { - InitializeComponent(); - - _parametersMessage = parametersMessage; - - comboBoxWindowStyle.Items.Clear(); - comboBoxWindowStyle.Items.AddRange(Enum.GetNames(typeof(ProcessWindowStyle))); - - if (commands != null) - { - textBoxProgram.Text = commands[0]; - textBoxStartup.Text = commands[1]; - textBoxParameters.Text = commands[2]; - - checkBoxNoWindow.Checked = bool.Parse(commands[4]); - checkBoxShellExecute.Checked = bool.Parse(commands[5]); - checkBoxWaitForExit.Checked = bool.Parse(commands[6]); - - comboBoxWindowStyle.SelectedItem = ((ProcessWindowStyle)Enum.Parse(typeof(ProcessWindowStyle), commands[3])).ToString(); - } - else - { - comboBoxWindowStyle.SelectedIndex = 0; - } - } - - #endregion Constructors - - private void ExternalProgram_Load(object sender, EventArgs e) - { - if (_parametersMessage == "") - buttonParamQuestion.Visible = false; - } - - - private void buttonProgam_Click(object sender, EventArgs e) - { - if (openFileDialog.ShowDialog(this) == DialogResult.OK) - { - textBoxProgram.Text = openFileDialog.FileName; - - if (textBoxStartup.Text == "") - { - textBoxStartup.Text = System.IO.Path.GetDirectoryName(openFileDialog.FileName); - } - } - } - - private void buttonStartup_Click(object sender, EventArgs e) - { - if (folderBrowserDialog.ShowDialog(this) == DialogResult.OK) - { - textBoxProgram.Text = folderBrowserDialog.SelectedPath; - } - } - - private void buttonOK_Click(object sender, EventArgs e) - { - if (textBoxProgram.Text == "") - { - MessageBox.Show(this, "You must specify a program to run", "Missing program name", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); - return; - } - - this.DialogResult = DialogResult.OK; - this.Close(); - } - - private void buttonCancel_Click(object sender, EventArgs e) - { - this.DialogResult = DialogResult.Cancel; - this.Close(); - } - - private void buttonParamQuestion_Click(object sender, EventArgs e) - { - MessageBox.Show(this, _parametersMessage, "Parameters", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - - private void buttonTest_Click(object sender, EventArgs e) - { - if (textBoxProgram.Text == "") - { - MessageBox.Show(this, "You must specify a program to run", "Missing program name", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); - return; - } - - try - { - Process process = new Process(); - process.StartInfo.FileName = textBoxProgram.Text; - process.StartInfo.WorkingDirectory = textBoxStartup.Text; - process.StartInfo.Arguments = textBoxParameters.Text; - process.StartInfo.WindowStyle = (ProcessWindowStyle)Enum.Parse(typeof(ProcessWindowStyle), (string)comboBoxWindowStyle.SelectedItem); - process.StartInfo.CreateNoWindow = checkBoxNoWindow.Checked; - process.StartInfo.UseShellExecute = checkBoxShellExecute.Checked; - - if (MCEReplacement.LogVerbose) - Log.Info("MCEReplacement: Launching external program {0}", textBoxProgram.Text); - - process.Start(); - - if (checkBoxWaitForExit.Checked) // Wait for exit - process.WaitForExit(); - } - catch (Exception ex) - { - Log.Error("MCEReplacement: {0}", ex.Message); - } - } - - } - -} Deleted: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalProgram.cs.bak =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalProgram.cs.bak 2007-05-15 06:03:42 UTC (rev 401) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalProgram.cs.bak 2007-05-15 06:15:21 UTC (rev 402) @@ -1,162 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -using MediaPortal.GUI.Library; - -namespace MediaPortal.Plugins -{ - - public partial class ExternalProgram : Form - { - - #region Variables - - string _parametersMessage = ""; - - #endregion Variables - - #region Properties - - public string CommandString - { - get - { - return string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}", - textBoxProgram.Text, - textBoxStartup.Text, - textBoxParameters.Text, - (string)comboBoxWindowStyle.SelectedItem, - checkBoxNoWindow.Checked.ToString(), - checkBoxShellExecute.Checked.ToString(), - checkBoxWaitForExit.Checked.ToString()); - } - } - - #endregion Properties - - #region Constructors - - public ExternalProgram() : this (null, "") { } - public ExternalProgram(string parametersMessage) : this(null, parametersMessage) { } - public ExternalProgram(string[] commands) : this(commands, "") { } - public ExternalProgram(string[] commands, string parametersMessage) - { - InitializeComponent(); - - _parametersMessage = parametersMessage; - - comboBoxWindowStyle.Items.Clear(); - comboBoxWindowStyle.Items.AddRange(Enum.GetNames(typeof(ProcessWindowStyle))); - - if (commands != null) - { - textBoxProgram.Text = commands[0]; - textBoxStartup.Text = commands[1]; - textBoxParameters.Text = commands[2]; - - checkBoxNoWindow.Checked = bool.Parse(commands[4]); - checkBoxShellExecute.Checked = bool.Parse(commands[5]); - checkBoxWaitForExit.Checked = bool.Parse(commands[6]); - - comboBoxWindowStyle.SelectedItem = ((ProcessWindowStyle)Enum.Parse(typeof(ProcessWindowStyle), commands[3])).ToString(); - } - else - { - comboBoxWindowStyle.SelectedIndex = 0; - } - } - - #endregion Constructors - - private void ExternalProgram_Load(object sender, EventArgs e) - { - if (_parametersMessage == "") - buttonParamQuestion.Visible = false; - } - - - private void buttonProgam_Click(object sender, EventArgs e) - { - if (openFileDialog.ShowDialog(this) == DialogResult.OK) - { - textBoxProgram.Text = openFileDialog.FileName; - - if (textBoxStartup.Text == "") - { - textBoxStartup.Text = System.IO.Path.GetDirectoryName(openFileDialog.FileName); - } - } - } - - private void buttonStartup_Click(object sender, EventArgs e) - { - if (folderBrowserDialog.ShowDialog(this) == DialogResult.OK) - { - textBoxProgram.Text = folderBrowserDialog.SelectedPath; - } - } - - private void buttonOK_Click(object sender, EventArgs e) - { - if (textBoxProgram.Text == "") - { - MessageBox.Show(this, "You must specify a program to run", "Missing program name", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); - return; - } - - this.DialogResult = DialogResult.OK; - this.Close(); - } - - private void buttonCancel_Click(object sender, EventArgs e) - { - this.DialogResult = DialogResult.Cancel; - this.Close(); - } - - private void buttonParamQuestion_Click(object sender, EventArgs e) - { - MessageBox.Show(this, _parametersMessage, "Parameters", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - - private void buttonTest_Click(object sender, EventArgs e) - { - if (textBoxProgram.Text == "") - { - MessageBox.Show(this, "You must specify a program to run", "Missing program name", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); - return; - } - - try - { - Process process = new Process(); - process.StartInfo.FileName = textBoxProgram.Text; - process.StartInfo.WorkingDirectory = textBoxStartup.Text; - process.StartInfo.Arguments = textBoxParameters.Text; - process.StartInfo.WindowStyle = (ProcessWindowStyle)Enum.Parse(typeof(ProcessWindowStyle), (string)comboBoxWindowStyle.SelectedItem); - process.StartInfo.CreateNoWindow = checkBoxNoWindow.Checked; - process.StartInfo.UseShellExecute = checkBoxShellExecute.Checked; - - if (MCEReplacement.LogVerbose) - Log.Info("MCEReplacement: Launching external program {0}", textBoxProgram.Text); - - process.Start(); - - if (checkBoxWaitForExit.Checked) // Wait for exit - process.WaitForExit(); - } - catch (Exception ex) - { - Log.Error("MCEReplacement: {0}", ex.Message); - } - } - - } - -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <an...@us...> - 2007-05-16 14:01:01
|
Revision: 404 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=404&view=rev Author: and-81 Date: 2007-05-16 07:00:58 -0700 (Wed, 16 May 2007) Log Message: ----------- Fixed STB Command modification through BlasterCommand dialog Modified Paths: -------------- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/BlastCommand.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/BlastCommand.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/BlastCommand.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/BlastCommand.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/BlastCommand.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -29,44 +29,55 @@ #endregion Properties + #region Variables + + string _baseFolder; + + #endregion Variables + #region Constructors - public BlastCommand(string file) + public BlastCommand(string baseFolder, string file) { InitializeComponent(); - labelIRCommandFile.Text = file; + SetupPortsAndSpeeds(); - comboBoxPort.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Ports); - comboBoxPort.SelectedIndex = 0; + _baseFolder = baseFolder; - comboBoxSpeed.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Speeds); - comboBoxSpeed.SelectedIndex = 0; + labelIRCommandFile.Text = file; } - public BlastCommand(string[] commands) + public BlastCommand(string baseFolder, string[] commands) { InitializeComponent(); + SetupPortsAndSpeeds(); + + _baseFolder = baseFolder; + if (commands == null) return; labelIRCommandFile.Text = commands[0]; - comboBoxPort.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Ports); if (comboBoxPort.Items.Contains(commands[1])) comboBoxPort.SelectedItem = commands[1]; - else - comboBoxPort.SelectedIndex = 0; - comboBoxSpeed.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Speeds); if (comboBoxSpeed.Items.Contains(commands[2])) comboBoxSpeed.SelectedItem = commands[2]; - else - comboBoxSpeed.SelectedIndex = 0; } #endregion Constructors + void SetupPortsAndSpeeds() + { + comboBoxPort.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Ports); + comboBoxPort.SelectedIndex = 0; + + comboBoxSpeed.Items.AddRange(TV2BlasterPlugin.TransceiverInformation.Speeds); + comboBoxSpeed.SelectedIndex = 0; + } + #region Buttons private void buttonOK_Click(object sender, EventArgs e) @@ -90,7 +101,7 @@ try { - TV2BlasterPlugin.BlastIR(Common.FolderIRCommands + fileName + Common.FileExtensionIR, + TV2BlasterPlugin.BlastIR(_baseFolder + fileName + Common.FileExtensionIR, comboBoxPort.SelectedItem as string, comboBoxSpeed.SelectedItem as string); } Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -233,7 +233,7 @@ } else { - BlastCommand blastCommand = new BlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, selected.Substring(Common.CmdPrefixBlast.Length)); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; @@ -398,7 +398,7 @@ else if (selected.StartsWith(Common.CmdPrefixBlast)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, commands); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -220,7 +220,7 @@ if (command.StartsWith(Common.CmdPrefixSTB)) { - blastCommand = new BlastCommand(command.Substring(Common.CmdPrefixSTB.Length)); + blastCommand = new BlastCommand(Common.FolderSTB, command.Substring(Common.CmdPrefixSTB.Length)); listViewExternalCommands.Items[i].SubItems[1].Text = Common.CmdPrefixSTB + blastCommand.CommandString; } else @@ -280,14 +280,14 @@ if (selected.StartsWith(Common.CmdPrefixBlast)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, commands); if (blastCommand.ShowDialog(this) == DialogResult.OK) listViewExternalCommands.SelectedItems[0].SubItems[1].Text = Common.CmdPrefixBlast + blastCommand.CommandString; } else if (selected.StartsWith(Common.CmdPrefixSTB)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixSTB.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderSTB, commands); if (blastCommand.ShowDialog(this) == DialogResult.OK) listViewExternalCommands.SelectedItems[0].SubItems[1].Text = Common.CmdPrefixSTB + blastCommand.CommandString; } @@ -366,7 +366,7 @@ } else if (selected.StartsWith(Common.CmdPrefixBlast)) { - BlastCommand blastCommand = new BlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, selected.Substring(Common.CmdPrefixBlast.Length)); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/BlastCommand.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/BlastCommand.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/BlastCommand.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -29,44 +29,55 @@ #endregion Properties + #region Variables + + string _baseFolder; + + #endregion Variables + #region Constructors - public BlastCommand(string file) + public BlastCommand(string baseFolder, string file) { InitializeComponent(); - labelIRCommandFile.Text = file; + SetupPortsAndSpeeds(); - comboBoxPort.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Ports); - comboBoxPort.SelectedIndex = 0; + _baseFolder = baseFolder; - comboBoxSpeed.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Speeds); - comboBoxSpeed.SelectedIndex = 0; + labelIRCommandFile.Text = file; } - public BlastCommand(string[] commands) + public BlastCommand(string baseFolder, string[] commands) { InitializeComponent(); + SetupPortsAndSpeeds(); + + _baseFolder = baseFolder; + if (commands == null) return; labelIRCommandFile.Text = commands[0]; - comboBoxPort.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Ports); if (comboBoxPort.Items.Contains(commands[1])) comboBoxPort.SelectedItem = commands[1]; - else - comboBoxPort.SelectedIndex = 0; - comboBoxSpeed.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Speeds); if (comboBoxSpeed.Items.Contains(commands[2])) comboBoxSpeed.SelectedItem = commands[2]; - else - comboBoxSpeed.SelectedIndex = 0; } #endregion Constructors + void SetupPortsAndSpeeds() + { + comboBoxPort.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Ports); + comboBoxPort.SelectedIndex = 0; + + comboBoxSpeed.Items.AddRange(TV3BlasterPlugin.TransceiverInformation.Speeds); + comboBoxSpeed.SelectedIndex = 0; + } + #region Buttons private void buttonOK_Click(object sender, EventArgs e) @@ -90,7 +101,7 @@ try { - TV3BlasterPlugin.BlastIR(Common.FolderIRCommands + fileName + Common.FileExtensionIR, + TV3BlasterPlugin.BlastIR(_baseFolder + fileName + Common.FileExtensionIR, comboBoxPort.SelectedItem as string, comboBoxSpeed.SelectedItem as string); } Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -213,7 +213,7 @@ } else { - BlastCommand blastCommand = new BlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, selected.Substring(Common.CmdPrefixBlast.Length)); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; @@ -364,7 +364,7 @@ else if (selected.StartsWith(Common.CmdPrefixBlast)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, commands); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs 2007-05-16 07:37:02 UTC (rev 403) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs 2007-05-16 14:00:58 UTC (rev 404) @@ -244,7 +244,7 @@ if (command.StartsWith(Common.CmdPrefixSTB)) { - blastCommand = new BlastCommand(command.Substring(Common.CmdPrefixSTB.Length)); + blastCommand = new BlastCommand(Common.FolderSTB, command.Substring(Common.CmdPrefixSTB.Length)); listViewExternalCommands.Items[i].SubItems[1].Text = Common.CmdPrefixSTB + blastCommand.CommandString; } else @@ -304,14 +304,14 @@ if (selected.StartsWith(Common.CmdPrefixBlast)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, commands); if (blastCommand.ShowDialog(this) == DialogResult.OK) listViewExternalCommands.SelectedItems[0].SubItems[1].Text = Common.CmdPrefixBlast + blastCommand.CommandString; } else if (selected.StartsWith(Common.CmdPrefixSTB)) { string[] commands = Common.SplitBlastCommand(selected.Substring(Common.CmdPrefixSTB.Length)); - BlastCommand blastCommand = new BlastCommand(commands); + BlastCommand blastCommand = new BlastCommand(Common.FolderSTB, commands); if (blastCommand.ShowDialog(this) == DialogResult.OK) listViewExternalCommands.SelectedItems[0].SubItems[1].Text = Common.CmdPrefixSTB + blastCommand.CommandString; } @@ -390,7 +390,7 @@ } else if (selected.StartsWith(Common.CmdPrefixBlast)) { - BlastCommand blastCommand = new BlastCommand(selected.Substring(Common.CmdPrefixBlast.Length)); + BlastCommand blastCommand = new BlastCommand(Common.FolderIRCommands, selected.Substring(Common.CmdPrefixBlast.Length)); if (blastCommand.ShowDialog(this) == DialogResult.Cancel) return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <an...@us...> - 2007-05-22 06:29:25
|
Revision: 413 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=413&view=rev Author: and-81 Date: 2007-05-21 23:29:24 -0700 (Mon, 21 May 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.Designer.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.Designer.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.Designer.cs Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.Designer.cs 2007-05-22 06:26:03 UTC (rev 412) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.Designer.cs 2007-05-22 06:29:24 UTC (rev 413) @@ -284,6 +284,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.groupBoxOptions); this.Controls.Add(this.groupBoxCommands); this.MinimumSize = new System.Drawing.Size(504, 310); Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.Designer.cs 2007-05-22 06:26:03 UTC (rev 412) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.Designer.cs 2007-05-22 06:29:24 UTC (rev 413) @@ -257,6 +257,7 @@ // // PluginSetup // + this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.tabControl); this.MinimumSize = new System.Drawing.Size(328, 266); this.Name = "PluginSetup"; Modified: trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.Designer.cs 2007-05-22 06:26:03 UTC (rev 412) +++ trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.Designer.cs 2007-05-22 06:29:24 UTC (rev 413) @@ -296,6 +296,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.labelCardName); this.Controls.Add(this.groupBoxOptions); this.Controls.Add(this.groupBoxCommands); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |