From: <an...@us...> - 2008-03-02 04:39:11
|
Revision: 1412 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1412&view=rev Author: and-81 Date: 2008-03-01 20:39:09 -0800 (Sat, 01 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs trunk/plugins/IR Server Suite/Applications/Translator/Program.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs trunk/plugins/IR Server Suite/IR Server Suite.sln trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/MPControlPlugin.cs Added Paths: ----------- trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.Designer.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.resx trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/AspectRatio.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/AspectRatioWide.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Back.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Blue.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/ChannelDown.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/ChannelUp.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Clear.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/DVD.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Down.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Eject.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/EnterWide.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/FastForward.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Fullscreen.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/FullscreenWide.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Green.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Guide.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Hash.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Info.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Left.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Music.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Mute.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/NextChapter.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number0.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number1.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number2.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number3.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number4.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number5.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number6.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number7.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number8.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Number9.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/OK.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Pause.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Pictures.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Play.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Power.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/PreviousChapter.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Record.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Red.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Rewind.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Right.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Star.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Start.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Stop.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/TV.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Teletext.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Up.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Video.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/VolumeDown.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/VolumeUp.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Graphics/Yellow.png trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Icon.ico trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Properties/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/ServerAddress.Designer.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/ServerAddress.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/ServerAddress.resx trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Virtual Remote (PocketPC2003).csproj trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/FormMain.resx trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Graphics/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Graphics/Misc.bmp trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Graphics/Navigation.bmp trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Graphics/Numbers.bmp trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Graphics/Playback.bmp trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Icon.ico trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Properties/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/ServerAddress.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/ServerAddress.resx trunk/plugins/IR Server Suite/Applications/Virtual Remote (Smartphone2003)/Virtual Remote (Smartphone2003).csproj trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Client.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/FormMain.Designer.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/FormMain.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/FormMain.resx trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Icon.ico trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/IrssMessage.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Properties/ trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote (WinCE5)/Virtual Remote (WinCE5).csproj Modified: trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -345,6 +345,8 @@ _client.Dispose(); _client = null; + + _registered = false; } #region Controls Modified: trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -288,6 +288,8 @@ _client.Dispose(); _client = null; + + _registered = false; } static void ReceivedMessage(IrssMessage received) Modified: trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -250,6 +250,8 @@ _client.Dispose(); _client = null; + + _registered = false; } static void ReceivedMessage(IrssMessage received) Modified: trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -660,11 +660,13 @@ } void StopClient() { - if (_client != null) - { - _client.Dispose(); - _client = null; - } + if (_client == null) + return; + + _client.Dispose(); + _client = null; + + _registered = false; } bool StartRelay() Modified: trunk/plugins/IR Server Suite/Applications/Translator/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -657,11 +657,13 @@ } internal static void StopClient() { - if (_client != null) - { - _client.Dispose(); - _client = null; - } + if (_client == null) + return; + + _client.Dispose(); + _client = null; + + _registered = false; } static void ReceivedMessage(IrssMessage received) Modified: trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -302,6 +302,8 @@ _client.Dispose(); _client = null; + + _registered = false; } void ReceivedMessage(IrssMessage received) Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-02-29 17:31:08 UTC (rev 1411) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -336,6 +336,8 @@ _client.Dispose(); _client = null; + + _registered = false; } internal static bool ProcessClick(int x, int y) Property changes on: trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003) ___________________________________________________________________ Name: svn:ignore + bin obj Added: trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Client.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Client.cs (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/Client.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -0,0 +1,341 @@ +using System; +using System.Net; +using System.Net.Sockets; +using System.Text; +using System.Threading; + +namespace VirtualRemote +{ + + #region Delegates + + /// <summary> + /// Message handling delegate for client. + /// </summary> + /// <param name="message">Message received.</param> + public delegate void ClientMessageSink(IrssMessage message); + + #endregion Delegates + + /// <summary> + /// TCP communications client class. + /// </summary> + public class Client : IDisposable + { + + #region Variables + + IPEndPoint _serverEndpoint; + Socket _serverSocket; + + volatile bool _processConnectionThread = false; + volatile bool _connected = false; + + ClientMessageSink _messageSink; + + WaitCallback _connectCallback; + WaitCallback _disconnectCallback; + WaitCallback _commsFailureCallback; + + #endregion Variables + + #region Properties + + /// <summary> + /// Is this client connected? + /// </summary> + public bool Connected + { + get { return _connected; } + } + + /// <summary> + /// Gets or Sets the Connect callback. + /// </summary> + public WaitCallback ConnectCallback + { + get { return _connectCallback; } + set { _connectCallback = value; } + } + + /// <summary> + /// Gets or Sets the Disconnect callback. + /// </summary> + public WaitCallback DisconnectCallback + { + get { return _disconnectCallback; } + set { _disconnectCallback = value; } + } + + /// <summary> + /// Gets or Sets the Communications Failure callback. + /// </summary> + public WaitCallback CommsFailureCallback + { + get { return _commsFailureCallback; } + set { _commsFailureCallback = value; } + } + + #endregion Properties + + #region Constructor + + /// <summary> + /// Create a TCP communications client. + /// </summary> + /// <param name="serverEndPoint">IP Address and Port combination of Server.</param> + /// <param name="messageSink">The message sink to call for messages.</param> + public Client(IPEndPoint serverEndPoint, ClientMessageSink messageSink) + { + _serverEndpoint = serverEndPoint; + + _messageSink = messageSink; + } + + #endregion Constructor + + #region IDisposable + + /// <summary> + /// Releases unmanaged and - optionally - managed resources + /// </summary> + public void Dispose() + { + Dispose(true); + GC.SuppressFinalize(this); + } + + /// <summary> + /// Releases unmanaged and - optionally - managed resources + /// </summary> + /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param> + protected virtual void Dispose(bool disposing) + { + if (disposing) + { + // Dispose managed resources ... + Stop(); + } + + // Free native resources ... + + } + + #endregion IDisposable + + #region Implementation + + /// <summary> + /// Start the client communications. + /// </summary> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> + public bool Start() + { + if (_processConnectionThread) + return false; + + _processConnectionThread = true; + _connected = false; + + try + { + Thread connectionThread = new Thread(new ThreadStart(ConnectionThread)); + connectionThread.Name = "IrssComms.Client.ConnectionThread"; + connectionThread.IsBackground = true; + connectionThread.Start(); + } + catch + { + _processConnectionThread = false; + + throw; + } + + return true; + } + + /// <summary> + /// Stop the client communications. + /// </summary> + public void Stop() + { + if (!_processConnectionThread) + return; + + _processConnectionThread = false; + _connected = false; + + _serverSocket.Close(); + _serverSocket = null; + } + + /// <summary> + /// Send a message to the server. + /// </summary> + /// <param name="message">Message to send.</param> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> + public bool Send(IrssMessage message) + { + if (message == null) + throw new ArgumentNullException("message"); + + if (_serverSocket == null) + return false; + + byte[] data = message.ToBytes(); + + int dataLength = IPAddress.HostToNetworkOrder(data.Length); + + byte[] dataLengthBytes = BitConverter.GetBytes(dataLength); + + try + { + // Send packet size ... + _serverSocket.Send(dataLengthBytes); + + // Send packet ... + _serverSocket.Send(data); + + return true; + } + catch (SocketException) + { + return false; + } + } + + void QueueMessageSink(IrssMessage message) + { + _messageSink(message); + } + + void ConnectionThread() + { + // Outer loop is for reconnection attempts ... + while (_processConnectionThread) + { + _connected = false; + + _serverSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); + + #region Attempt to connect + + while (_processConnectionThread) + { + try + { + _serverSocket.Connect(_serverEndpoint); + break; + } + catch (SocketException socketException) + { + if (!_processConnectionThread) + return; + + if (socketException.ErrorCode == 10061) // ConnectionRefused + { + Thread.Sleep(1000); + continue; + } + + if (_commsFailureCallback != null) + _commsFailureCallback(socketException); + else + throw; + } + catch (Exception ex) + { + if (!_processConnectionThread) + return; + + if (_commsFailureCallback != null) + _commsFailureCallback(ex); + else + throw; + } + } + + #endregion Attempt to connect + + if (!_processConnectionThread) + return; + + _connected = true; + + if (_connectCallback != null) + _connectCallback(null); + + #region Read from socket + + try + { + byte[] buffer = new byte[4]; + + int bytesRead; + + // Read data from socket ... + while (_processConnectionThread) + { + bytesRead = _serverSocket.Receive(buffer, buffer.Length, SocketFlags.None); + if (bytesRead != buffer.Length) + break; + + int readSize = BitConverter.ToInt32(buffer, 0); + readSize = IPAddress.NetworkToHostOrder(readSize); + + byte[] packet = new byte[readSize]; + + bytesRead = _serverSocket.Receive(packet, packet.Length, SocketFlags.None); + if (bytesRead != packet.Length) + break; + + IrssMessage message = IrssMessage.FromBytes(packet); + _messageSink(message); + } + + if (!_processConnectionThread) + return; + + if (_disconnectCallback != null) + _disconnectCallback(null); + + } + catch (SocketException socketException) + { + if (!_processConnectionThread) + return; + + if (socketException.ErrorCode == 10054) // ConnectionReset + { + if (_disconnectCallback != null) + _disconnectCallback(null); + } + else + { + if (_commsFailureCallback != null) + _commsFailureCallback(socketException); + else + throw; + } + } + catch (Exception ex) + { + if (!_processConnectionThread) + return; + + if (_commsFailureCallback != null) + _commsFailureCallback(ex); + else + throw; + } + + #endregion Read from socket + + } + } + + #endregion Implementation + + } + +} Added: trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.Designer.cs (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.Designer.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -0,0 +1,692 @@ +namespace VirtualRemote +{ + + partial class FormMain + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + private System.Windows.Forms.MainMenu mainMenu; + + /// <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() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain)); + this.mainMenu = new System.Windows.Forms.MainMenu(); + this.menuItemSetup = new System.Windows.Forms.MenuItem(); + this.menuItemQuit = new System.Windows.Forms.MenuItem(); + this.tabControl = new System.Windows.Forms.TabControl(); + this.tabPageNavigation = new System.Windows.Forms.TabPage(); + this.pictureBox30 = new System.Windows.Forms.PictureBox(); + this.pictureBox8 = new System.Windows.Forms.PictureBox(); + this.pictureBox7 = new System.Windows.Forms.PictureBox(); + this.pictureBox6 = new System.Windows.Forms.PictureBox(); + this.pictureBox9 = new System.Windows.Forms.PictureBox(); + this.pictureBox10 = new System.Windows.Forms.PictureBox(); + this.pictureBox4 = new System.Windows.Forms.PictureBox(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pictureBoxUp = new System.Windows.Forms.PictureBox(); + this.pictureBoxBack = new System.Windows.Forms.PictureBox(); + this.tabPagePlayback = new System.Windows.Forms.TabPage(); + this.pictureBoxNextChapter = new System.Windows.Forms.PictureBox(); + this.pictureBoxPreviousChapter = new System.Windows.Forms.PictureBox(); + this.pictureBoxRewind = new System.Windows.Forms.PictureBox(); + this.pictureBoxFastForward = new System.Windows.Forms.PictureBox(); + this.pictureBoxPause = new System.Windows.Forms.PictureBox(); + this.pictureBoxRecord = new System.Windows.Forms.PictureBox(); + this.pictureBoxStop = new System.Windows.Forms.PictureBox(); + this.pictureBoxPlay = new System.Windows.Forms.PictureBox(); + this.tabPageNumbers = new System.Windows.Forms.TabPage(); + this.pictureBox24 = new System.Windows.Forms.PictureBox(); + this.pictureBox23 = new System.Windows.Forms.PictureBox(); + this.pictureBox20 = new System.Windows.Forms.PictureBox(); + this.pictureBox21 = new System.Windows.Forms.PictureBox(); + this.pictureBox22 = new System.Windows.Forms.PictureBox(); + this.pictureBox17 = new System.Windows.Forms.PictureBox(); + this.pictureBox18 = new System.Windows.Forms.PictureBox(); + this.pictureBox19 = new System.Windows.Forms.PictureBox(); + this.pictureBox14 = new System.Windows.Forms.PictureBox(); + this.pictureBox15 = new System.Windows.Forms.PictureBox(); + this.pictureBox16 = new System.Windows.Forms.PictureBox(); + this.pictureBox13 = new System.Windows.Forms.PictureBox(); + this.pictureBox12 = new System.Windows.Forms.PictureBox(); + this.pictureBox11 = new System.Windows.Forms.PictureBox(); + this.tabPageMisc = new System.Windows.Forms.TabPage(); + this.pictureBoxInfo = new System.Windows.Forms.PictureBox(); + this.pictureBoxPower = new System.Windows.Forms.PictureBox(); + this.pictureBoxFullscree = new System.Windows.Forms.PictureBox(); + this.pictureBoxAspectRatio = new System.Windows.Forms.PictureBox(); + this.pictureBoxTeletext = new System.Windows.Forms.PictureBox(); + this.pictureBox28 = new System.Windows.Forms.PictureBox(); + this.pictureBox27 = new System.Windows.Forms.PictureBox(); + this.pictureBox26 = new System.Windows.Forms.PictureBox(); + this.pictureBox25 = new System.Windows.Forms.PictureBox(); + this.notification = new Microsoft.WindowsCE.Forms.Notification(); + this.tabControl.SuspendLayout(); + this.tabPageNavigation.SuspendLayout(); + this.tabPagePlayback.SuspendLayout(); + this.tabPageNumbers.SuspendLayout(); + this.tabPageMisc.SuspendLayout(); + this.SuspendLayout(); + // + // mainMenu + // + this.mainMenu.MenuItems.Add(this.menuItemSetup); + this.mainMenu.MenuItems.Add(this.menuItemQuit); + // + // menuItemSetup + // + this.menuItemSetup.Text = "Setup"; + this.menuItemSetup.Click += new System.EventHandler(this.menuItemSetup_Click); + // + // menuItemQuit + // + this.menuItemQuit.Text = "Quit"; + this.menuItemQuit.Click += new System.EventHandler(this.menuItemQuit_Click); + // + // tabControl + // + this.tabControl.Controls.Add(this.tabPageNavigation); + this.tabControl.Controls.Add(this.tabPagePlayback); + this.tabControl.Controls.Add(this.tabPageNumbers); + this.tabControl.Controls.Add(this.tabPageMisc); + this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl.Location = new System.Drawing.Point(0, 0); + this.tabControl.Name = "tabControl"; + this.tabControl.SelectedIndex = 0; + this.tabControl.Size = new System.Drawing.Size(240, 268); + this.tabControl.TabIndex = 0; + // + // tabPageNavigation + // + this.tabPageNavigation.Controls.Add(this.pictureBox30); + this.tabPageNavigation.Controls.Add(this.pictureBox8); + this.tabPageNavigation.Controls.Add(this.pictureBox7); + this.tabPageNavigation.Controls.Add(this.pictureBox6); + this.tabPageNavigation.Controls.Add(this.pictureBox9); + this.tabPageNavigation.Controls.Add(this.pictureBox10); + this.tabPageNavigation.Controls.Add(this.pictureBox4); + this.tabPageNavigation.Controls.Add(this.pictureBox3); + this.tabPageNavigation.Controls.Add(this.pictureBox2); + this.tabPageNavigation.Controls.Add(this.pictureBox1); + this.tabPageNavigation.Controls.Add(this.pictureBoxUp); + this.tabPageNavigation.Controls.Add(this.pictureBoxBack); + this.tabPageNavigation.Location = new System.Drawing.Point(0, 0); + this.tabPageNavigation.Name = "tabPageNavigation"; + this.tabPageNavigation.Size = new System.Drawing.Size(240, 245); + this.tabPageNavigation.Text = "Navigation"; + // + // pictureBox30 + // + this.pictureBox30.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox30.Image"))); + this.pictureBox30.Location = new System.Drawing.Point(168, 8); + this.pictureBox30.Name = "pictureBox30"; + this.pictureBox30.Size = new System.Drawing.Size(64, 48); + this.pictureBox30.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox30.Tag = "Record"; + // + // pictureBox8 + // + this.pictureBox8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image"))); + this.pictureBox8.Location = new System.Drawing.Point(88, 192); + this.pictureBox8.Name = "pictureBox8"; + this.pictureBox8.Size = new System.Drawing.Size(64, 48); + this.pictureBox8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox8.Tag = "Up"; + this.pictureBox8.Click += new System.EventHandler(this.button_Click); + // + // pictureBox7 + // + this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image"))); + this.pictureBox7.Location = new System.Drawing.Point(8, 136); + this.pictureBox7.Name = "pictureBox7"; + this.pictureBox7.Size = new System.Drawing.Size(64, 48); + this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox7.Tag = "Up"; + this.pictureBox7.Click += new System.EventHandler(this.button_Click); + // + // pictureBox6 + // + this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image"))); + this.pictureBox6.Location = new System.Drawing.Point(8, 192); + this.pictureBox6.Name = "pictureBox6"; + this.pictureBox6.Size = new System.Drawing.Size(64, 48); + this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox6.Tag = "Up"; + this.pictureBox6.Click += new System.EventHandler(this.button_Click); + // + // pictureBox9 + // + this.pictureBox9.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox9.Image"))); + this.pictureBox9.Location = new System.Drawing.Point(168, 192); + this.pictureBox9.Name = "pictureBox9"; + this.pictureBox9.Size = new System.Drawing.Size(64, 48); + this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox9.Tag = "Up"; + this.pictureBox9.Click += new System.EventHandler(this.button_Click); + // + // pictureBox10 + // + this.pictureBox10.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox10.Image"))); + this.pictureBox10.Location = new System.Drawing.Point(168, 136); + this.pictureBox10.Name = "pictureBox10"; + this.pictureBox10.Size = new System.Drawing.Size(64, 48); + this.pictureBox10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox10.Tag = "Up"; + this.pictureBox10.Click += new System.EventHandler(this.button_Click); + // + // pictureBox4 + // + this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image"))); + this.pictureBox4.Location = new System.Drawing.Point(160, 72); + this.pictureBox4.Name = "pictureBox4"; + this.pictureBox4.Size = new System.Drawing.Size(64, 48); + this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox4.Tag = "Up"; + this.pictureBox4.Click += new System.EventHandler(this.button_Click); + // + // pictureBox3 + // + this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); + this.pictureBox3.Location = new System.Drawing.Point(16, 72); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(64, 48); + this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox3.Tag = "Up"; + this.pictureBox3.Click += new System.EventHandler(this.button_Click); + // + // pictureBox2 + // + this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); + this.pictureBox2.Location = new System.Drawing.Point(88, 128); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(64, 48); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.Tag = "Up"; + this.pictureBox2.Click += new System.EventHandler(this.button_Click); + // + // pictureBox1 + // + this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); + this.pictureBox1.Location = new System.Drawing.Point(88, 72); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(64, 48); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.Tag = "Up"; + this.pictureBox1.Click += new System.EventHandler(this.button_Click); + // + // pictureBoxUp + // + this.pictureBoxUp.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxUp.Image"))); + this.pictureBoxUp.Location = new System.Drawing.Point(88, 16); + this.pictureBoxUp.Name = "pictureBoxUp"; + this.pictureBoxUp.Size = new System.Drawing.Size(64, 48); + this.pictureBoxUp.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxUp.Tag = "Up"; + this.pictureBoxUp.Click += new System.EventHandler(this.button_Click); + // + // pictureBoxBack + // + this.pictureBoxBack.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBack.Image"))); + this.pictureBoxBack.Location = new System.Drawing.Point(8, 8); + this.pictureBoxBack.Name = "pictureBoxBack"; + this.pictureBoxBack.Size = new System.Drawing.Size(64, 48); + this.pictureBoxBack.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxBack.Tag = "Back"; + this.pictureBoxBack.Click += new System.EventHandler(this.button_Click); + // + // tabPagePlayback + // + this.tabPagePlayback.Controls.Add(this.pictureBoxNextChapter); + this.tabPagePlayback.Controls.Add(this.pictureBoxPreviousChapter); + this.tabPagePlayback.Controls.Add(this.pictureBoxRewind); + this.tabPagePlayback.Controls.Add(this.pictureBoxFastForward); + this.tabPagePlayback.Controls.Add(this.pictureBoxPause); + this.tabPagePlayback.Controls.Add(this.pictureBoxRecord); + this.tabPagePlayback.Controls.Add(this.pictureBoxStop); + this.tabPagePlayback.Controls.Add(this.pictureBoxPlay); + this.tabPagePlayback.Location = new System.Drawing.Point(0, 0); + this.tabPagePlayback.Name = "tabPagePlayback"; + this.tabPagePlayback.Size = new System.Drawing.Size(240, 245); + this.tabPagePlayback.Text = "Playback"; + // + // pictureBoxNextChapter + // + this.pictureBoxNextChapter.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxNextChapter.Image"))); + this.pictureBoxNextChapter.Location = new System.Drawing.Point(136, 168); + this.pictureBoxNextChapter.Name = "pictureBoxNextChapter"; + this.pictureBoxNextChapter.Size = new System.Drawing.Size(64, 48); + this.pictureBoxNextChapter.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxNextChapter.Tag = "NextChapter"; + // + // pictureBoxPreviousChapter + // + this.pictureBoxPreviousChapter.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPreviousChapter.Image"))); + this.pictureBoxPreviousChapter.Location = new System.Drawing.Point(40, 168); + this.pictureBoxPreviousChapter.Name = "pictureBoxPreviousChapter"; + this.pictureBoxPreviousChapter.Size = new System.Drawing.Size(64, 48); + this.pictureBoxPreviousChapter.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxPreviousChapter.Tag = "PreviousChapter"; + // + // pictureBoxRewind + // + this.pictureBoxRewind.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxRewind.Image"))); + this.pictureBoxRewind.Location = new System.Drawing.Point(8, 104); + this.pictureBoxRewind.Name = "pictureBoxRewind"; + this.pictureBoxRewind.Size = new System.Drawing.Size(64, 48); + this.pictureBoxRewind.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxRewind.Tag = "Rewind"; + // + // pictureBoxFastForward + // + this.pictureBoxFastForward.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxFastForward.Image"))); + this.pictureBoxFastForward.Location = new System.Drawing.Point(168, 104); + this.pictureBoxFastForward.Name = "pictureBoxFastForward"; + this.pictureBoxFastForward.Size = new System.Drawing.Size(64, 48); + this.pictureBoxFastForward.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxFastForward.Tag = "FastForward"; + // + // pictureBoxPause + // + this.pictureBoxPause.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPause.Image"))); + this.pictureBoxPause.Location = new System.Drawing.Point(168, 40); + this.pictureBoxPause.Name = "pictureBoxPause"; + this.pictureBoxPause.Size = new System.Drawing.Size(64, 48); + this.pictureBoxPause.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxPause.Tag = "Pause"; + this.pictureBoxPause.Click += new System.EventHandler(this.button_Click); + // + // pictureBoxRecord + // + this.pictureBoxRecord.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxRecord.Image"))); + this.pictureBoxRecord.Location = new System.Drawing.Point(8, 40); + this.pictureBoxRecord.Name = "pictureBoxRecord"; + this.pictureBoxRecord.Size = new System.Drawing.Size(64, 48); + this.pictureBoxRecord.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxRecord.Tag = "Record"; + this.pictureBoxRecord.Click += new System.EventHandler(this.button_Click); + // + // pictureBoxStop + // + this.pictureBoxStop.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxStop.Image"))); + this.pictureBoxStop.Location = new System.Drawing.Point(88, 40); + this.pictureBoxStop.Name = "pictureBoxStop"; + this.pictureBoxStop.Size = new System.Drawing.Size(64, 48); + this.pictureBoxStop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxStop.Tag = "Stop"; + this.pictureBoxStop.Click += new System.EventHandler(this.button_Click); + // + // pictureBoxPlay + // + this.pictureBoxPlay.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPlay.Image"))); + this.pictureBoxPlay.Location = new System.Drawing.Point(88, 104); + this.pictureBoxPlay.Name = "pictureBoxPlay"; + this.pictureBoxPlay.Size = new System.Drawing.Size(64, 48); + this.pictureBoxPlay.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxPlay.Tag = "Play"; + this.pictureBoxPlay.Click += new System.EventHandler(this.button_Click); + // + // tabPageNumbers + // + this.tabPageNumbers.Controls.Add(this.pictureBox24); + this.tabPageNumbers.Controls.Add(this.pictureBox23); + this.tabPageNumbers.Controls.Add(this.pictureBox20); + this.tabPageNumbers.Controls.Add(this.pictureBox21); + this.tabPageNumbers.Controls.Add(this.pictureBox22); + this.tabPageNumbers.Controls.Add(this.pictureBox17); + this.tabPageNumbers.Controls.Add(this.pictureBox18); + this.tabPageNumbers.Controls.Add(this.pictureBox19); + this.tabPageNumbers.Controls.Add(this.pictureBox14); + this.tabPageNumbers.Controls.Add(this.pictureBox15); + this.tabPageNumbers.Controls.Add(this.pictureBox16); + this.tabPageNumbers.Controls.Add(this.pictureBox13); + this.tabPageNumbers.Controls.Add(this.pictureBox12); + this.tabPageNumbers.Controls.Add(this.pictureBox11); + this.tabPageNumbers.Location = new System.Drawing.Point(0, 0); + this.tabPageNumbers.Name = "tabPageNumbers"; + this.tabPageNumbers.Size = new System.Drawing.Size(240, 245); + this.tabPageNumbers.Text = "Numbers"; + this.tabPageNumbers.Click += new System.EventHandler(this.button_Click); + // + // pictureBox24 + // + this.pictureBox24.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox24.Image"))); + this.pictureBox24.Location = new System.Drawing.Point(88, 200); + this.pictureBox24.Name = "pictureBox24"; + this.pictureBox24.Size = new System.Drawing.Size(144, 40); + this.pictureBox24.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox24.Tag = "Up"; + this.pictureBox24.Click += new System.EventHandler(this.button_Click); + // + // pictureBox23 + // + this.pictureBox23.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox23.Image"))); + this.pictureBox23.Location = new System.Drawing.Point(8, 200); + this.pictureBox23.Name = "pictureBox23"; + this.pictureBox23.Size = new System.Drawing.Size(64, 40); + this.pictureBox23.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox23.Tag = "Up"; + this.pictureBox23.Click += new System.EventHandler(this.button_Click); + // + // pictureBox20 + // + this.pictureBox20.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox20.Image"))); + this.pictureBox20.Location = new System.Drawing.Point(168, 152); + this.pictureBox20.Name = "pictureBox20"; + this.pictureBox20.Size = new System.Drawing.Size(64, 40); + this.pictureBox20.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox20.Tag = "Up"; + this.pictureBox20.Click += new System.EventHandler(this.button_Click); + // + // pictureBox21 + // + this.pictureBox21.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox21.Image"))); + this.pictureBox21.Location = new System.Drawing.Point(88, 152); + this.pictureBox21.Name = "pictureBox21"; + this.pictureBox21.Size = new System.Drawing.Size(64, 40); + this.pictureBox21.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox21.Tag = "Up"; + this.pictureBox21.Click += new System.EventHandler(this.button_Click); + // + // pictureBox22 + // + this.pictureBox22.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox22.Image"))); + this.pictureBox22.Location = new System.Drawing.Point(8, 152); + this.pictureBox22.Name = "pictureBox22"; + this.pictureBox22.Size = new System.Drawing.Size(64, 40); + this.pictureBox22.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox22.Tag = "Up"; + this.pictureBox22.Click += new System.EventHandler(this.button_Click); + // + // pictureBox17 + // + this.pictureBox17.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox17.Image"))); + this.pictureBox17.Location = new System.Drawing.Point(168, 104); + this.pictureBox17.Name = "pictureBox17"; + this.pictureBox17.Size = new System.Drawing.Size(64, 40); + this.pictureBox17.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox17.Tag = "Up"; + this.pictureBox17.Click += new System.EventHandler(this.button_Click); + // + // pictureBox18 + // + this.pictureBox18.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox18.Image"))); + this.pictureBox18.Location = new System.Drawing.Point(88, 104); + this.pictureBox18.Name = "pictureBox18"; + this.pictureBox18.Size = new System.Drawing.Size(64, 40); + this.pictureBox18.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox18.Tag = "Up"; + this.pictureBox18.Click += new System.EventHandler(this.button_Click); + // + // pictureBox19 + // + this.pictureBox19.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox19.Image"))); + this.pictureBox19.Location = new System.Drawing.Point(8, 104); + this.pictureBox19.Name = "pictureBox19"; + this.pictureBox19.Size = new System.Drawing.Size(64, 40); + this.pictureBox19.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox19.Tag = "Up"; + this.pictureBox19.Click += new System.EventHandler(this.button_Click); + // + // pictureBox14 + // + this.pictureBox14.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox14.Image"))); + this.pictureBox14.Location = new System.Drawing.Point(168, 56); + this.pictureBox14.Name = "pictureBox14"; + this.pictureBox14.Size = new System.Drawing.Size(64, 40); + this.pictureBox14.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox14.Tag = "Up"; + this.pictureBox14.Click += new System.EventHandler(this.button_Click); + // + // pictureBox15 + // + this.pictureBox15.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox15.Image"))); + this.pictureBox15.Location = new System.Drawing.Point(88, 56); + this.pictureBox15.Name = "pictureBox15"; + this.pictureBox15.Size = new System.Drawing.Size(64, 40); + this.pictureBox15.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox15.Tag = "Up"; + this.pictureBox15.Click += new System.EventHandler(this.button_Click); + // + // pictureBox16 + // + this.pictureBox16.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox16.Image"))); + this.pictureBox16.Location = new System.Drawing.Point(8, 56); + this.pictureBox16.Name = "pictureBox16"; + this.pictureBox16.Size = new System.Drawing.Size(64, 40); + this.pictureBox16.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox16.Tag = "Up"; + this.pictureBox16.Click += new System.EventHandler(this.button_Click); + // + // pictureBox13 + // + this.pictureBox13.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox13.Image"))); + this.pictureBox13.Location = new System.Drawing.Point(168, 8); + this.pictureBox13.Name = "pictureBox13"; + this.pictureBox13.Size = new System.Drawing.Size(64, 40); + this.pictureBox13.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox13.Tag = "Up"; + this.pictureBox13.Click += new System.EventHandler(this.button_Click); + // + // pictureBox12 + // + this.pictureBox12.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox12.Image"))); + this.pictureBox12.Location = new System.Drawing.Point(88, 8); + this.pictureBox12.Name = "pictureBox12"; + this.pictureBox12.Size = new System.Drawing.Size(64, 40); + this.pictureBox12.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox12.Tag = "Up"; + this.pictureBox12.Click += new System.EventHandler(this.button_Click); + // + // pictureBox11 + // + this.pictureBox11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox11.Image"))); + this.pictureBox11.Location = new System.Drawing.Point(8, 8); + this.pictureBox11.Name = "pictureBox11"; + this.pictureBox11.Size = new System.Drawing.Size(64, 40); + this.pictureBox11.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox11.Tag = "Up"; + this.pictureBox11.Click += new System.EventHandler(this.button_Click); + // + // tabPageMisc + // + this.tabPageMisc.Controls.Add(this.pictureBoxInfo); + this.tabPageMisc.Controls.Add(this.pictureBoxPower); + this.tabPageMisc.Controls.Add(this.pictureBoxFullscree); + this.tabPageMisc.Controls.Add(this.pictureBoxAspectRatio); + this.tabPageMisc.Controls.Add(this.pictureBoxTeletext); + this.tabPageMisc.Controls.Add(this.pictureBox28); + this.tabPageMisc.Controls.Add(this.pictureBox27); + this.tabPageMisc.Controls.Add(this.pictureBox26); + this.tabPageMisc.Controls.Add(this.pictureBox25); + this.tabPageMisc.Location = new System.Drawing.Point(0, 0); + this.tabPageMisc.Name = "tabPageMisc"; + this.tabPageMisc.Size = new System.Drawing.Size(240, 245); + this.tabPageMisc.Text = "Misc"; + // + // pictureBoxInfo + // + this.pictureBoxInfo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxInfo.Image"))); + this.pictureBoxInfo.Location = new System.Drawing.Point(88, 8); + this.pictureBoxInfo.Name = "pictureBoxInfo"; + this.pictureBoxInfo.Size = new System.Drawing.Size(64, 40); + this.pictureBoxInfo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxInfo.Tag = "Info"; + // + // pictureBoxPower + // + this.pictureBoxPower.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxPower.Image"))); + this.pictureBoxPower.Location = new System.Drawing.Point(8, 8); + this.pictureBoxPower.Name = "pictureBoxPower"; + this.pictureBoxPower.Size = new System.Drawing.Size(64, 40); + this.pictureBoxPower.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxPower.Tag = "Power"; + // + // pictureBoxFullscree + // + this.pictureBoxFullscree.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxFullscree.Image"))); + this.pictureBoxFullscree.Location = new System.Drawing.Point(128, 152); + this.pictureBoxFullscree.Name = "pictureBoxFullscree"; + this.pictureBoxFullscree.Size = new System.Drawing.Size(104, 40); + this.pictureBoxFullscree.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxFullscree.Tag = "Up"; + // + // pictureBoxAspectRatio + // + this.pictureBoxAspectRatio.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxAspectRatio.Image"))); + this.pictureBoxAspectRatio.Location = new System.Drawing.Point(8, 152); + this.pictureBoxAspectRatio.Name = "pictureBoxAspectRatio"; + this.pictureBoxAspectRatio.Size = new System.Drawing.Size(104, 40); + this.pictureBoxAspectRatio.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxAspectRatio.Tag = "AspectRatio"; + // + // pictureBoxTeletext + // + this.pictureBoxTeletext.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxTeletext.Image"))); + this.pictureBoxTeletext.Location = new System.Drawing.Point(168, 8); + this.pictureBoxTeletext.Name = "pictureBoxTeletext"; + this.pictureBoxTeletext.Size = new System.Drawing.Size(64, 40); + this.pictureBoxTeletext.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxTeletext.Tag = "Teletext"; + // + // pictureBox28 + // + this.pictureBox28.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox28.Image"))); + this.pictureBox28.Location = new System.Drawing.Point(184, 200); + this.pictureBox28.Name = "pictureBox28"; + this.pictureBox28.Size = new System.Drawing.Size(48, 32); + this.pictureBox28.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox28.Tag = "Up"; + // + // pictureBox27 + // + this.pictureBox27.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox27.Image"))); + this.pictureBox27.Location = new System.Drawing.Point(128, 200); + this.pictureBox27.Name = "pictureBox27"; + this.pictureBox27.Size = new System.Drawing.Size(48, 32); + this.pictureBox27.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox27.Tag = "Up"; + // + // pictureBox26 + // + this.pictureBox26.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox26.Image"))); + this.pictureBox26.Location = new System.Drawing.Point(64, 200); + this.pictureBox26.Name = "pictureBox26"; + this.pictureBox26.Size = new System.Drawing.Size(48, 32); + this.pictureBox26.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox26.Tag = "Up"; + // + // pictureBox25 + // + this.pictureBox25.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox25.Image"))); + this.pictureBox25.Location = new System.Drawing.Point(8, 200); + this.pictureBox25.Name = "pictureBox25"; + this.pictureBox25.Size = new System.Drawing.Size(48, 32); + this.pictureBox25.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox25.Tag = "Up"; + // + // notification + // + this.notification.Caption = "Virtual Remote"; + this.notification.InitialDuration = 3; + this.notification.Text = ""; + // + // FormMain + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoScroll = true; + this.ClientSize = new System.Drawing.Size(240, 268); + this.Controls.Add(this.tabControl); + this.KeyPreview = true; + this.Menu = this.mainMenu; + this.Name = "FormMain"; + this.Text = "Virtual Remote"; + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormMain_KeyDown); + this.Load += new System.EventHandler(this.FormMain_Load); + this.tabControl.ResumeLayout(false); + this.tabPageNavigation.ResumeLayout(false); + this.tabPagePlayback.ResumeLayout(false); + this.tabPageNumbers.ResumeLayout(false); + this.tabPageMisc.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.MenuItem menuItemSetup; + private System.Windows.Forms.TabControl tabControl; + private System.Windows.Forms.TabPage tabPageNavigation; + private System.Windows.Forms.TabPage tabPagePlayback; + private System.Windows.Forms.MenuItem menuItemQuit; + private System.Windows.Forms.TabPage tabPageNumbers; + private System.Windows.Forms.TabPage tabPageMisc; + private Microsoft.WindowsCE.Forms.Notification notification; + private System.Windows.Forms.PictureBox pictureBoxRecord; + private System.Windows.Forms.PictureBox pictureBoxStop; + private System.Windows.Forms.PictureBox pictureBoxPause; + private System.Windows.Forms.PictureBox pictureBoxPlay; + private System.Windows.Forms.PictureBox pictureBoxNextChapter; + private System.Windows.Forms.PictureBox pictureBoxPreviousChapter; + private System.Windows.Forms.PictureBox pictureBoxRewind; + private System.Windows.Forms.PictureBox pictureBoxFastForward; + private System.Windows.Forms.PictureBox pictureBox4; + private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBoxUp; + private System.Windows.Forms.PictureBox pictureBoxBack; + private System.Windows.Forms.PictureBox pictureBox24; + private System.Windows.Forms.PictureBox pictureBox23; + private System.Windows.Forms.PictureBox pictureBox20; + private System.Windows.Forms.PictureBox pictureBox21; + private System.Windows.Forms.PictureBox pictureBox22; + private System.Windows.Forms.PictureBox pictureBox17; + private System.Windows.Forms.PictureBox pictureBox18; + private System.Windows.Forms.PictureBox pictureBox19; + private System.Windows.Forms.PictureBox pictureBox14; + private System.Windows.Forms.PictureBox pictureBox15; + private System.Windows.Forms.PictureBox pictureBox16; + private System.Windows.Forms.PictureBox pictureBox13; + private System.Windows.Forms.PictureBox pictureBox12; + private System.Windows.Forms.PictureBox pictureBox11; + private System.Windows.Forms.PictureBox pictureBox28; + private System.Windows.Forms.PictureBox pictureBox27; + private System.Windows.Forms.PictureBox pictureBox26; + private System.Windows.Forms.PictureBox pictureBox25; + private System.Windows.Forms.PictureBox pictureBox9; + private System.Windows.Forms.PictureBox pictureBox10; + private System.Windows.Forms.PictureBox pictureBoxFullscree; + private System.Windows.Forms.PictureBox pictureBoxAspectRatio; + private System.Windows.Forms.PictureBox pictureBoxTeletext; + private System.Windows.Forms.PictureBox pictureBox8; + private System.Windows.Forms.PictureBox pictureBox7; + private System.Windows.Forms.PictureBox pictureBox6; + private System.Windows.Forms.PictureBox pictureBox30; + private System.Windows.Forms.PictureBox pictureBoxInfo; + private System.Windows.Forms.PictureBox pictureBoxPower; + } + +} Added: trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.cs (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote (PocketPC2003)/FormMain.cs 2008-03-02 04:39:09 UTC (rev 1412) @@ -0,0 +1,282 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.IO; +using System.Net; +using System.Net.Sockets; +using System.Text; +using System.Threading; +using System.Windows.Forms; +using System.Xml; + +namespace VirtualRemote +{ + + /// <summary> + /// Main Form for Virtual Remote. + /// <... [truncated message content] |