From: <an...@us...> - 2008-03-04 13:34:59
|
Revision: 1425 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1425&view=rev Author: and-81 Date: 2008-03-04 05:34:57 -0800 (Tue, 04 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.Designer.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.resx trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs Added Paths: ----------- trunk/plugins/IR Server Suite/Documentation/Virtual Remote/pocketpc.png trunk/plugins/IR Server Suite/Documentation/Virtual Remote/smartphone.png Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-03-04 13:24:09 UTC (rev 1424) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-03-04 13:34:57 UTC (rev 1425) @@ -351,12 +351,12 @@ Program.Config.Programs.Add(progSettings); RefreshProgramList(); - + /* string programFile = Path.GetFileName(progSettings.FileName); string settingsFile = Path.Combine(Program.FolderDefaultSettings, programFile + ".xml"); if (File.Exists(settingsFile)) { - if (DialogResult.Yes == MessageBox.Show(this, String.Format("Do you want to use the default settings for {0}", programFile), "Default settings found", MessageBoxButtons.YesNo, MessageBoxIcon.Question)) + if (MessageBox.Show(this, String.Format("Do you want to use the default settings for {0}", programFile), "Default settings found", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { List<ButtonMapping> mappings = LoadDefaultSettings(settingsFile); @@ -365,6 +365,7 @@ RefreshButtonList(); } } + */ } } Added: trunk/plugins/IR Server Suite/Documentation/Virtual Remote/pocketpc.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Documentation/Virtual Remote/pocketpc.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Documentation/Virtual Remote/smartphone.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Documentation/Virtual Remote/smartphone.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.Designer.cs 2008-03-04 13:24:09 UTC (rev 1424) +++ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.Designer.cs 2008-03-04 13:34:57 UTC (rev 1425) @@ -39,6 +39,7 @@ this.buttonCancel = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.toolTips = new System.Windows.Forms.ToolTip(this.components); + this.checkBoxAbstractRemoteMode = new System.Windows.Forms.CheckBox(); this.groupBoxMode.SuspendLayout(); this.SuspendLayout(); // @@ -129,7 +130,7 @@ this.buttonCancel.Location = new System.Drawing.Point(328, 136); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(64, 24); - this.buttonCancel.TabIndex = 2; + this.buttonCancel.TabIndex = 3; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); @@ -140,11 +141,24 @@ this.buttonOK.Location = new System.Drawing.Point(256, 136); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(64, 24); - this.buttonOK.TabIndex = 1; + this.buttonOK.TabIndex = 2; this.buttonOK.Text = "OK"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // + // checkBoxAbstractRemoteMode + // + this.checkBoxAbstractRemoteMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.checkBoxAbstractRemoteMode.AutoSize = true; + this.checkBoxAbstractRemoteMode.Enabled = false; + this.checkBoxAbstractRemoteMode.Location = new System.Drawing.Point(8, 136); + this.checkBoxAbstractRemoteMode.Name = "checkBoxAbstractRemoteMode"; + this.checkBoxAbstractRemoteMode.Size = new System.Drawing.Size(159, 17); + this.checkBoxAbstractRemoteMode.TabIndex = 1; + this.checkBoxAbstractRemoteMode.Text = "Use Abstract Remote Model"; + this.toolTips.SetToolTip(this.checkBoxAbstractRemoteMode, "Enable automatic abstract remote model translation"); + this.checkBoxAbstractRemoteMode.UseVisualStyleBackColor = true; + // // Advanced // this.AcceptButton = this.buttonOK; @@ -152,6 +166,7 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.buttonCancel; this.ClientSize = new System.Drawing.Size(400, 169); + this.Controls.Add(this.checkBoxAbstractRemoteMode); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.groupBoxMode); @@ -162,6 +177,7 @@ this.groupBoxMode.ResumeLayout(false); this.groupBoxMode.PerformLayout(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -176,5 +192,6 @@ private System.Windows.Forms.Button buttonCancel; private System.Windows.Forms.Button buttonOK; private System.Windows.Forms.ToolTip toolTips; + private System.Windows.Forms.CheckBox checkBoxAbstractRemoteMode; } } \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.resx =================================================================== --- trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.resx 2008-03-04 13:24:09 UTC (rev 1424) +++ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Advanced.resx 2008-03-04 13:34:57 UTC (rev 1425) @@ -120,9 +120,6 @@ <metadata name="toolTips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> - <metadata name="toolTips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>17, 17</value> - </metadata> <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> Modified: trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs 2008-03-04 13:24:09 UTC (rev 1424) +++ trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs 2008-03-04 13:34:57 UTC (rev 1425) @@ -48,6 +48,7 @@ #region Variables + static bool _abstractRemoteMode; static InputServiceMode _mode; static string _hostComputer; static string[] _pluginNameReceive; @@ -133,6 +134,7 @@ { IrssLog.Info("Loading settings ..."); + _abstractRemoteMode = false; _mode = InputServiceMode.ServerMode; _hostComputer = String.Empty; _pluginNameReceive = null; @@ -169,6 +171,9 @@ return; } + try { _abstractRemoteMode = bool.Parse(doc.DocumentElement.Attributes["AbstractRemoteMode"].Value); } + catch (Exception ex) { IrssLog.Warn(ex.ToString()); } + try { _mode = (InputServiceMode)Enum.Parse(typeof(InputServiceMode), doc.DocumentElement.Attributes["Mode"].Value, true); } catch (Exception ex) { IrssLog.Warn(ex.ToString()); } @@ -203,6 +208,7 @@ writer.WriteStartDocument(true); writer.WriteStartElement("settings"); // <settings> + writer.WriteAttributeString("AbstractRemoteMode", _abstractRemoteMode.ToString()); writer.WriteAttributeString("Mode", Enum.GetName(typeof(InputServiceMode), _mode)); writer.WriteAttributeString("HostComputer", _hostComputer); writer.WriteAttributeString("PluginTransmit", _pluginNameTransmit); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |