From: <an...@us...> - 2007-07-20 14:43:21
|
Revision: 748 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=748&view=rev Author: and-81 Date: 2007-07-20 07:43:12 -0700 (Fri, 20 Jul 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.Designer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/CDRom.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/KeysCommand.Designer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/IrssUtils.csproj trunk/plugins/IR Server Suite/Common/IrssUtils/SystemRegistry.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Win32.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/NotifyWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Properties/AssemblyInfo.cs Added Paths: ----------- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.Designer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.resx trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickLeft.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickMiddle.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickRight.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveDown.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveLeft.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveRight.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveUp.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollDown.png trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollUp.png trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.Designer.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.resx trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DeviceAccess.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/IRCodeConversion.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/IRDecoder.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Keyboard.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MceDetectionData.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Mouse.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Program.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Pronto.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/RemoteDetectionData.cs Removed Paths: ------------- trunk/plugins/IR Server Suite/IR Server Plugins/MCE Replacement Transceiver v2/ Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.Designer.cs 2007-07-20 12:06:11 UTC (rev 747) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.Designer.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -134,6 +134,10 @@ this.subtractToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.multiplyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.divideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.modifiersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.altToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.controlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.shiftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.backspaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.breakToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -169,10 +173,6 @@ this.buttonCancel = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.toolTips = new System.Windows.Forms.ToolTip(this.components); - this.modifiersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.altToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.controlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.shiftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupBoxButton.SuspendLayout(); this.groupBoxSet.SuspendLayout(); this.tabControl.SuspendLayout(); @@ -994,6 +994,7 @@ this.textBoxKeys.ShortcutsEnabled = false; this.textBoxKeys.Size = new System.Drawing.Size(416, 144); this.textBoxKeys.TabIndex = 1; + this.toolTips.SetToolTip(this.textBoxKeys, "Enter keystrokes here, right-click for a list of special keys"); // // contextMenuStripKeystrokes // @@ -1095,28 +1096,28 @@ // upToolStripMenuItem // this.upToolStripMenuItem.Name = "upToolStripMenuItem"; - this.upToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.upToolStripMenuItem.Size = new System.Drawing.Size(112, 22); this.upToolStripMenuItem.Text = "Up"; this.upToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // downToolStripMenuItem // this.downToolStripMenuItem.Name = "downToolStripMenuItem"; - this.downToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.downToolStripMenuItem.Size = new System.Drawing.Size(112, 22); this.downToolStripMenuItem.Text = "Down"; this.downToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // leftToolStripMenuItem // this.leftToolStripMenuItem.Name = "leftToolStripMenuItem"; - this.leftToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.leftToolStripMenuItem.Size = new System.Drawing.Size(112, 22); this.leftToolStripMenuItem.Text = "Left"; this.leftToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // rightToolStripMenuItem // this.rightToolStripMenuItem.Name = "rightToolStripMenuItem"; - this.rightToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.rightToolStripMenuItem.Size = new System.Drawing.Size(112, 22); this.rightToolStripMenuItem.Text = "Right"; this.rightToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // @@ -1146,112 +1147,112 @@ // f1ToolStripMenuItem // this.f1ToolStripMenuItem.Name = "f1ToolStripMenuItem"; - this.f1ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f1ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f1ToolStripMenuItem.Text = "F1"; this.f1ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f2ToolStripMenuItem // this.f2ToolStripMenuItem.Name = "f2ToolStripMenuItem"; - this.f2ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f2ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f2ToolStripMenuItem.Text = "F2"; this.f2ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f3ToolStripMenuItem // this.f3ToolStripMenuItem.Name = "f3ToolStripMenuItem"; - this.f3ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f3ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f3ToolStripMenuItem.Text = "F3"; this.f3ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f4ToolStripMenuItem // this.f4ToolStripMenuItem.Name = "f4ToolStripMenuItem"; - this.f4ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f4ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f4ToolStripMenuItem.Text = "F4"; this.f4ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f5ToolStripMenuItem // this.f5ToolStripMenuItem.Name = "f5ToolStripMenuItem"; - this.f5ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f5ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f5ToolStripMenuItem.Text = "F5"; this.f5ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f6ToolStripMenuItem // this.f6ToolStripMenuItem.Name = "f6ToolStripMenuItem"; - this.f6ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f6ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f6ToolStripMenuItem.Text = "F6"; this.f6ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f7ToolStripMenuItem // this.f7ToolStripMenuItem.Name = "f7ToolStripMenuItem"; - this.f7ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f7ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f7ToolStripMenuItem.Text = "F7"; this.f7ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f8ToolStripMenuItem // this.f8ToolStripMenuItem.Name = "f8ToolStripMenuItem"; - this.f8ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f8ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f8ToolStripMenuItem.Text = "F8"; this.f8ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f9ToolStripMenuItem // this.f9ToolStripMenuItem.Name = "f9ToolStripMenuItem"; - this.f9ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f9ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f9ToolStripMenuItem.Text = "F9"; this.f9ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f10ToolStripMenuItem // this.f10ToolStripMenuItem.Name = "f10ToolStripMenuItem"; - this.f10ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f10ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f10ToolStripMenuItem.Text = "F10"; this.f10ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f11ToolStripMenuItem // this.f11ToolStripMenuItem.Name = "f11ToolStripMenuItem"; - this.f11ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f11ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f11ToolStripMenuItem.Text = "F11"; this.f11ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f12ToolStripMenuItem // this.f12ToolStripMenuItem.Name = "f12ToolStripMenuItem"; - this.f12ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f12ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f12ToolStripMenuItem.Text = "F12"; this.f12ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f13ToolStripMenuItem // this.f13ToolStripMenuItem.Name = "f13ToolStripMenuItem"; - this.f13ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f13ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f13ToolStripMenuItem.Text = "F13"; this.f13ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f14ToolStripMenuItem // this.f14ToolStripMenuItem.Name = "f14ToolStripMenuItem"; - this.f14ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f14ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f14ToolStripMenuItem.Text = "F14"; this.f14ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f15ToolStripMenuItem // this.f15ToolStripMenuItem.Name = "f15ToolStripMenuItem"; - this.f15ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f15ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f15ToolStripMenuItem.Text = "F15"; this.f15ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // f16ToolStripMenuItem // this.f16ToolStripMenuItem.Name = "f16ToolStripMenuItem"; - this.f16ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.f16ToolStripMenuItem.Size = new System.Drawing.Size(103, 22); this.f16ToolStripMenuItem.Text = "F16"; this.f16ToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // @@ -1269,31 +1270,62 @@ // addToolStripMenuItem // this.addToolStripMenuItem.Name = "addToolStripMenuItem"; - this.addToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.addToolStripMenuItem.Size = new System.Drawing.Size(126, 22); this.addToolStripMenuItem.Text = "Add"; this.addToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // subtractToolStripMenuItem // this.subtractToolStripMenuItem.Name = "subtractToolStripMenuItem"; - this.subtractToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.subtractToolStripMenuItem.Size = new System.Drawing.Size(126, 22); this.subtractToolStripMenuItem.Text = "Subtract"; this.subtractToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // multiplyToolStripMenuItem // this.multiplyToolStripMenuItem.Name = "multiplyToolStripMenuItem"; - this.multiplyToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.multiplyToolStripMenuItem.Size = new System.Drawing.Size(126, 22); this.multiplyToolStripMenuItem.Text = "Multiply"; this.multiplyToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // // divideToolStripMenuItem // this.divideToolStripMenuItem.Name = "divideToolStripMenuItem"; - this.divideToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.divideToolStripMenuItem.Size = new System.Drawing.Size(126, 22); this.divideToolStripMenuItem.Text = "Divide"; this.divideToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); // + // modifiersToolStripMenuItem + // + this.modifiersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.altToolStripMenuItem, + this.controlToolStripMenuItem, + this.shiftToolStripMenuItem}); + this.modifiersToolStripMenuItem.Name = "modifiersToolStripMenuItem"; + this.modifiersToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.modifiersToolStripMenuItem.Text = "Modifiers"; + // + // altToolStripMenuItem + // + this.altToolStripMenuItem.Name = "altToolStripMenuItem"; + this.altToolStripMenuItem.Size = new System.Drawing.Size(120, 22); + this.altToolStripMenuItem.Text = "Alt"; + this.altToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); + // + // controlToolStripMenuItem + // + this.controlToolStripMenuItem.Name = "controlToolStripMenuItem"; + this.controlToolStripMenuItem.Size = new System.Drawing.Size(120, 22); + this.controlToolStripMenuItem.Text = "Control"; + this.controlToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); + // + // shiftToolStripMenuItem + // + this.shiftToolStripMenuItem.Name = "shiftToolStripMenuItem"; + this.shiftToolStripMenuItem.Size = new System.Drawing.Size(120, 22); + this.shiftToolStripMenuItem.Text = "Shift"; + this.shiftToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); + // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; @@ -1639,37 +1671,6 @@ this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // - // modifiersToolStripMenuItem - // - this.modifiersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.altToolStripMenuItem, - this.controlToolStripMenuItem, - this.shiftToolStripMenuItem}); - this.modifiersToolStripMenuItem.Name = "modifiersToolStripMenuItem"; - this.modifiersToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.modifiersToolStripMenuItem.Text = "Modifiers"; - // - // altToolStripMenuItem - // - this.altToolStripMenuItem.Name = "altToolStripMenuItem"; - this.altToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.altToolStripMenuItem.Text = "Alt"; - this.altToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); - // - // controlToolStripMenuItem - // - this.controlToolStripMenuItem.Name = "controlToolStripMenuItem"; - this.controlToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.controlToolStripMenuItem.Text = "Control"; - this.controlToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); - // - // shiftToolStripMenuItem - // - this.shiftToolStripMenuItem.Name = "shiftToolStripMenuItem"; - this.shiftToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.shiftToolStripMenuItem.Text = "Shift"; - this.shiftToolStripMenuItem.Click += new System.EventHandler(this.KeystrokeToolStripMenuItem_Click); - // // ButtonMappingForm // this.AcceptButton = this.buttonOK; Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/CDRom.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/CDRom.cs 2007-07-20 12:06:11 UTC (rev 747) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/CDRom.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -6,6 +6,9 @@ namespace IrssUtils { + /// <summary> + /// Access to the CDRom door. + /// </summary> public static class CDRom { Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs 2007-07-20 12:06:11 UTC (rev 747) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Common.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -6,6 +6,7 @@ using System.IO.Ports; using System.Net.Sockets; using System.Text; +using System.Threading; using System.Windows.Forms; namespace IrssUtils @@ -284,6 +285,18 @@ process.StartInfo.CreateNoWindow = bool.Parse(commands[4]); process.StartInfo.UseShellExecute = bool.Parse(commands[5]); process.Start(); + + // Give new process focus ... + if (!process.StartInfo.CreateNoWindow && + process.StartInfo.WindowStyle != ProcessWindowStyle.Hidden && + process.StartInfo.WindowStyle != ProcessWindowStyle.Minimized) + { + Thread.Sleep(500); + + IntPtr processWindow = process.MainWindowHandle; + if (processWindow != IntPtr.Zero) + Win32.SetForegroundWindow(processWindow); + } } /// <summary> Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/KeysCommand.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/KeysCommand.Designer.cs 2007-07-20 12:06:11 UTC (rev 747) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/KeysCommand.Designer.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -87,7 +87,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(336, 160); + this.ClientSize = new System.Drawing.Size(336, 167); this.Controls.Add(this.labelKeystrokes); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.Designer.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -0,0 +1,290 @@ +namespace IrssUtils.Forms +{ + + partial class MouseCommand + { + + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.buttonCancel = new System.Windows.Forms.Button(); + this.buttonOK = new System.Windows.Forms.Button(); + this.groupBoxMouseScroll = new System.Windows.Forms.GroupBox(); + this.checkBoxMouseScrollDown = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseScrollUp = new System.Windows.Forms.CheckBox(); + this.groupBoxMouseClick = new System.Windows.Forms.GroupBox(); + this.checkBoxMouseClickRight = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseClickMiddle = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseClickLeft = new System.Windows.Forms.CheckBox(); + this.groupBoxMouseMove = new System.Windows.Forms.GroupBox(); + this.checkBoxMouseMoveLeft = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseMoveDown = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseMoveRight = new System.Windows.Forms.CheckBox(); + this.checkBoxMouseMoveUp = new System.Windows.Forms.CheckBox(); + this.labelMouseMove = new System.Windows.Forms.Label(); + this.numericUpDownMouseMove = new System.Windows.Forms.NumericUpDown(); + this.groupBoxMouseScroll.SuspendLayout(); + this.groupBoxMouseClick.SuspendLayout(); + this.groupBoxMouseMove.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMouseMove)).BeginInit(); + this.SuspendLayout(); + // + // buttonCancel + // + this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Location = new System.Drawing.Point(360, 192); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(64, 24); + this.buttonCancel.TabIndex = 3; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // buttonOK + // + this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonOK.Location = new System.Drawing.Point(288, 192); + this.buttonOK.Name = "buttonOK"; + this.buttonOK.Size = new System.Drawing.Size(64, 24); + this.buttonOK.TabIndex = 2; + this.buttonOK.Text = "OK"; + this.buttonOK.UseVisualStyleBackColor = true; + this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); + // + // groupBoxMouseScroll + // + this.groupBoxMouseScroll.Anchor = System.Windows.Forms.AnchorStyles.None; + this.groupBoxMouseScroll.Controls.Add(this.checkBoxMouseScrollDown); + this.groupBoxMouseScroll.Controls.Add(this.checkBoxMouseScrollUp); + this.groupBoxMouseScroll.Location = new System.Drawing.Point(296, 8); + this.groupBoxMouseScroll.Name = "groupBoxMouseScroll"; + this.groupBoxMouseScroll.Size = new System.Drawing.Size(128, 176); + this.groupBoxMouseScroll.TabIndex = 6; + this.groupBoxMouseScroll.TabStop = false; + this.groupBoxMouseScroll.Text = "Scroll"; + // + // checkBoxMouseScrollDown + // + this.checkBoxMouseScrollDown.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseScrollDown.Image = global::IrssUtils.Properties.Resources.ScrollDown; + this.checkBoxMouseScrollDown.Location = new System.Drawing.Point(48, 96); + this.checkBoxMouseScrollDown.Name = "checkBoxMouseScrollDown"; + this.checkBoxMouseScrollDown.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseScrollDown.TabIndex = 1; + this.checkBoxMouseScrollDown.UseVisualStyleBackColor = true; + // + // checkBoxMouseScrollUp + // + this.checkBoxMouseScrollUp.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseScrollUp.Image = global::IrssUtils.Properties.Resources.ScrollUp; + this.checkBoxMouseScrollUp.Location = new System.Drawing.Point(48, 40); + this.checkBoxMouseScrollUp.Name = "checkBoxMouseScrollUp"; + this.checkBoxMouseScrollUp.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseScrollUp.TabIndex = 0; + this.checkBoxMouseScrollUp.UseVisualStyleBackColor = true; + // + // groupBoxMouseClick + // + this.groupBoxMouseClick.Anchor = System.Windows.Forms.AnchorStyles.None; + this.groupBoxMouseClick.Controls.Add(this.checkBoxMouseClickRight); + this.groupBoxMouseClick.Controls.Add(this.checkBoxMouseClickMiddle); + this.groupBoxMouseClick.Controls.Add(this.checkBoxMouseClickLeft); + this.groupBoxMouseClick.Location = new System.Drawing.Point(160, 8); + this.groupBoxMouseClick.Name = "groupBoxMouseClick"; + this.groupBoxMouseClick.Size = new System.Drawing.Size(128, 176); + this.groupBoxMouseClick.TabIndex = 5; + this.groupBoxMouseClick.TabStop = false; + this.groupBoxMouseClick.Text = "Click"; + // + // checkBoxMouseClickRight + // + this.checkBoxMouseClickRight.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseClickRight.Image = global::IrssUtils.Properties.Resources.ClickRight; + this.checkBoxMouseClickRight.Location = new System.Drawing.Point(88, 64); + this.checkBoxMouseClickRight.Name = "checkBoxMouseClickRight"; + this.checkBoxMouseClickRight.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseClickRight.TabIndex = 2; + this.checkBoxMouseClickRight.UseVisualStyleBackColor = true; + // + // checkBoxMouseClickMiddle + // + this.checkBoxMouseClickMiddle.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseClickMiddle.Image = global::IrssUtils.Properties.Resources.ClickMiddle; + this.checkBoxMouseClickMiddle.Location = new System.Drawing.Point(48, 64); + this.checkBoxMouseClickMiddle.Name = "checkBoxMouseClickMiddle"; + this.checkBoxMouseClickMiddle.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseClickMiddle.TabIndex = 1; + this.checkBoxMouseClickMiddle.UseVisualStyleBackColor = true; + // + // checkBoxMouseClickLeft + // + this.checkBoxMouseClickLeft.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseClickLeft.Image = global::IrssUtils.Properties.Resources.ClickLeft; + this.checkBoxMouseClickLeft.Location = new System.Drawing.Point(8, 64); + this.checkBoxMouseClickLeft.Name = "checkBoxMouseClickLeft"; + this.checkBoxMouseClickLeft.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseClickLeft.TabIndex = 0; + this.checkBoxMouseClickLeft.UseVisualStyleBackColor = true; + // + // groupBoxMouseMove + // + this.groupBoxMouseMove.Anchor = System.Windows.Forms.AnchorStyles.None; + this.groupBoxMouseMove.Controls.Add(this.checkBoxMouseMoveLeft); + this.groupBoxMouseMove.Controls.Add(this.checkBoxMouseMoveDown); + this.groupBoxMouseMove.Controls.Add(this.checkBoxMouseMoveRight); + this.groupBoxMouseMove.Controls.Add(this.checkBoxMouseMoveUp); + this.groupBoxMouseMove.Controls.Add(this.labelMouseMove); + this.groupBoxMouseMove.Controls.Add(this.numericUpDownMouseMove); + this.groupBoxMouseMove.Location = new System.Drawing.Point(8, 8); + this.groupBoxMouseMove.Name = "groupBoxMouseMove"; + this.groupBoxMouseMove.Size = new System.Drawing.Size(144, 176); + this.groupBoxMouseMove.TabIndex = 4; + this.groupBoxMouseMove.TabStop = false; + this.groupBoxMouseMove.Text = "Move"; + // + // checkBoxMouseMoveLeft + // + this.checkBoxMouseMoveLeft.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseMoveLeft.Image = global::IrssUtils.Properties.Resources.MoveLeft; + this.checkBoxMouseMoveLeft.Location = new System.Drawing.Point(24, 64); + this.checkBoxMouseMoveLeft.Name = "checkBoxMouseMoveLeft"; + this.checkBoxMouseMoveLeft.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseMoveLeft.TabIndex = 1; + this.checkBoxMouseMoveLeft.UseVisualStyleBackColor = true; + // + // checkBoxMouseMoveDown + // + this.checkBoxMouseMoveDown.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseMoveDown.Image = global::IrssUtils.Properties.Resources.MoveDown; + this.checkBoxMouseMoveDown.Location = new System.Drawing.Point(56, 96); + this.checkBoxMouseMoveDown.Name = "checkBoxMouseMoveDown"; + this.checkBoxMouseMoveDown.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseMoveDown.TabIndex = 3; + this.checkBoxMouseMoveDown.UseVisualStyleBackColor = true; + // + // checkBoxMouseMoveRight + // + this.checkBoxMouseMoveRight.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseMoveRight.Image = global::IrssUtils.Properties.Resources.MoveRight; + this.checkBoxMouseMoveRight.Location = new System.Drawing.Point(88, 64); + this.checkBoxMouseMoveRight.Name = "checkBoxMouseMoveRight"; + this.checkBoxMouseMoveRight.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseMoveRight.TabIndex = 2; + this.checkBoxMouseMoveRight.UseVisualStyleBackColor = true; + // + // checkBoxMouseMoveUp + // + this.checkBoxMouseMoveUp.Appearance = System.Windows.Forms.Appearance.Button; + this.checkBoxMouseMoveUp.Image = global::IrssUtils.Properties.Resources.MoveUp; + this.checkBoxMouseMoveUp.Location = new System.Drawing.Point(56, 32); + this.checkBoxMouseMoveUp.Name = "checkBoxMouseMoveUp"; + this.checkBoxMouseMoveUp.Size = new System.Drawing.Size(32, 32); + this.checkBoxMouseMoveUp.TabIndex = 0; + this.checkBoxMouseMoveUp.UseVisualStyleBackColor = true; + // + // labelMouseMove + // + this.labelMouseMove.Location = new System.Drawing.Point(8, 144); + this.labelMouseMove.Name = "labelMouseMove"; + this.labelMouseMove.Size = new System.Drawing.Size(72, 20); + this.labelMouseMove.TabIndex = 4; + this.labelMouseMove.Text = "Distance:"; + this.labelMouseMove.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // numericUpDownMouseMove + // + this.numericUpDownMouseMove.Increment = new decimal(new int[] { + 5, + 0, + 0, + 0}); + this.numericUpDownMouseMove.Location = new System.Drawing.Point(80, 144); + this.numericUpDownMouseMove.Maximum = new decimal(new int[] { + 5000, + 0, + 0, + 0}); + this.numericUpDownMouseMove.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownMouseMove.Name = "numericUpDownMouseMove"; + this.numericUpDownMouseMove.Size = new System.Drawing.Size(56, 20); + this.numericUpDownMouseMove.TabIndex = 5; + this.numericUpDownMouseMove.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.numericUpDownMouseMove.Value = new decimal(new int[] { + 16, + 0, + 0, + 0}); + // + // MouseCommand + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(432, 231); + this.Controls.Add(this.groupBoxMouseScroll); + this.Controls.Add(this.groupBoxMouseClick); + this.Controls.Add(this.groupBoxMouseMove); + this.Controls.Add(this.buttonCancel); + this.Controls.Add(this.buttonOK); + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(440, 258); + this.Name = "MouseCommand"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Mouse Command"; + this.groupBoxMouseScroll.ResumeLayout(false); + this.groupBoxMouseClick.ResumeLayout(false); + this.groupBoxMouseMove.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMouseMove)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button buttonCancel; + private System.Windows.Forms.Button buttonOK; + private System.Windows.Forms.GroupBox groupBoxMouseScroll; + private System.Windows.Forms.CheckBox checkBoxMouseScrollDown; + private System.Windows.Forms.CheckBox checkBoxMouseScrollUp; + private System.Windows.Forms.GroupBox groupBoxMouseClick; + private System.Windows.Forms.CheckBox checkBoxMouseClickRight; + private System.Windows.Forms.CheckBox checkBoxMouseClickMiddle; + private System.Windows.Forms.CheckBox checkBoxMouseClickLeft; + private System.Windows.Forms.GroupBox groupBoxMouseMove; + private System.Windows.Forms.CheckBox checkBoxMouseMoveLeft; + private System.Windows.Forms.CheckBox checkBoxMouseMoveDown; + private System.Windows.Forms.CheckBox checkBoxMouseMoveRight; + private System.Windows.Forms.CheckBox checkBoxMouseMoveUp; + private System.Windows.Forms.Label labelMouseMove; + private System.Windows.Forms.NumericUpDown numericUpDownMouseMove; + } + +} Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.cs (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace IrssUtils.Forms +{ + + public partial class MouseCommand : Form + { + + #region Properties + + public string CommandString + { + get + { + StringBuilder command = new StringBuilder(); + command.Append(Common.CmdPrefixMouse); + + if (checkBoxMouseClickLeft.Checked) command.Append(Common.MouseClickLeft); + else if (checkBoxMouseClickRight.Checked) command.Append(Common.MouseClickRight); + else if (checkBoxMouseClickMiddle.Checked) command.Append(Common.MouseClickMiddle); + else if (checkBoxMouseScrollUp.Checked) command.Append(Common.MouseScrollUp); + else if (checkBoxMouseScrollDown.Checked) command.Append(Common.MouseScrollDown); + else + { + if (checkBoxMouseMoveUp.Checked) command.Append(Common.MouseMoveUp); + else if (checkBoxMouseMoveDown.Checked) command.Append(Common.MouseMoveDown); + else if (checkBoxMouseMoveLeft.Checked) command.Append(Common.MouseMoveLeft); + else if (checkBoxMouseMoveRight.Checked) command.Append(Common.MouseMoveRight); + else + return null; + + command.Append(numericUpDownMouseMove.Value.ToString()); + } + + return command.ToString(); + } + } + + #endregion Properties + + #region Constructors + + public MouseCommand() : this(null) { } + public MouseCommand(string command) + { + InitializeComponent(); + + if (String.IsNullOrEmpty(command)) + return; + + switch (command) + { + case Common.MouseClickLeft: checkBoxMouseClickLeft.Checked = true; break; + case Common.MouseClickMiddle: checkBoxMouseClickMiddle.Checked = true; break; + case Common.MouseClickRight: checkBoxMouseClickRight.Checked = true; break; + case Common.MouseScrollDown: checkBoxMouseScrollDown.Checked = true; break; + case Common.MouseScrollUp: checkBoxMouseScrollUp.Checked = true; break; + + default: + if (command.StartsWith(Common.MouseMoveDown)) checkBoxMouseMoveDown.Checked = true; + else if (command.StartsWith(Common.MouseMoveLeft)) checkBoxMouseMoveLeft.Checked = true; + else if (command.StartsWith(Common.MouseMoveRight)) checkBoxMouseMoveRight.Checked = true; + else if (command.StartsWith(Common.MouseMoveUp)) checkBoxMouseMoveUp.Checked = true; + + numericUpDownMouseMove.Value = Decimal.Parse(command.Substring(command.IndexOf(" "))); + break; + } + } + + #endregion + + #region Buttons + + private void buttonOK_Click(object sender, EventArgs e) + { + this.DialogResult = DialogResult.OK; + this.Close(); + } + + private void buttonCancel_Click(object sender, EventArgs e) + { + this.DialogResult = DialogResult.Cancel; + this.Close(); + } + + #endregion Buttons + + } + +} Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.resx =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.resx (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Forms/MouseCommand.resx 2007-07-20 14:43:12 UTC (rev 748) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickLeft.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickLeft.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickMiddle.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickRight.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ClickRight.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveDown.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveDown.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveLeft.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveLeft.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveRight.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveRight.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveUp.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/MoveUp.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollDown.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollDown.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollUp.png =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Common/IrssUtils/Graphics/ScrollUp.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/IrssUtils.csproj =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/IrssUtils.csproj 2007-07-20 12:06:11 UTC (rev 747) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/IrssUtils.csproj 2007-07-20 14:43:12 UTC (rev 748) @@ -42,6 +42,12 @@ <ItemGroup> <Compile Include="CDRom.cs" /> <Compile Include="Common.cs" /> + <Compile Include="Forms\MouseCommand.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Forms\MouseCommand.Designer.cs"> + <DependentUpon>MouseCommand.cs</DependentUpon> + </Compile> <Compile Include="Forms\TcpMessageCommand.cs"> <SubType>Form</SubType> </Compile> @@ -92,6 +98,11 @@ </Compile> <Compile Include="IrssLog.cs" /> <Compile Include="Mouse.cs" /> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> <Compile Include="SystemRegistry.cs" /> <Compile Include="TransceiverInfo.cs" /> <Compile Include="Win32.cs" /> @@ -99,6 +110,10 @@ <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> + <EmbeddedResource Include="Forms\MouseCommand.resx"> + <DependentUpon>MouseCommand.cs</DependentUpon> + <SubType>Designer</SubType> + </EmbeddedResource> <EmbeddedResource Include="Forms\TcpMessageCommand.resx"> <DependentUpon>TcpMessageCommand.cs</DependentUpon> <SubType>Designer</SubType> @@ -131,7 +146,23 @@ <DependentUpon>ServerAddress.cs</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> + <EmbeddedResource Include="Properties\Resources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> </ItemGroup> + <ItemGroup> + <Content Include="Graphics\ClickLeft.png" /> + <Content Include="Graphics\ClickMiddle.png" /> + <Content Include="Graphics\ClickRight.png" /> + <Content Include="Graphics\MoveDown.png" /> + <Content Include="Graphics\MoveLeft.png" /> + <Content Include="Graphics\MoveRight.png" /> + <Content Include="Graphics\MoveUp.png" /> + <Content Include="Graphics\ScrollDown.png" /> + <Content Include="Graphics\ScrollUp.png" /> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.Designer.cs 2007-07-20 14:43:12 UTC (rev 748) @@ -0,0 +1,126 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace IrssUtils.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("IrssUtils.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap ClickLeft { + get { + object obj = ResourceManager.GetObject("ClickLeft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ClickMiddle { + get { + object obj = ResourceManager.GetObject("ClickMiddle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ClickRight { + get { + object obj = ResourceManager.GetObject("ClickRight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap MoveDown { + get { + object obj = ResourceManager.GetObject("MoveDown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap MoveLeft { + get { + object obj = ResourceManager.GetObject("MoveLeft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap MoveRight { + get { + object obj = ResourceManager.GetObject("MoveRight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap MoveUp { + get { + object obj = ResourceManager.GetObject("MoveUp", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ScrollDown { + get { + object obj = ResourceManager.GetObject("ScrollDown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap ScrollUp { + get { + object obj = ResourceManager.GetObject("ScrollUp", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} Added: trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.resx =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.resx (rev 0) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/Resources.resx 2007-07-20 14:43:12 UTC (rev 748) @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatter... [truncated message content] |