Providing optical drives list.
Optical drive to eject not hard coded anymore.
1.1 --- a/Server/MainForm.Designer.cs Wed Sep 02 00:24:34 2015 +0200
1.2 +++ b/Server/MainForm.Designer.cs Wed Sep 02 12:54:07 2015 +0200
1.3 @@ -37,845 +37,867 @@
1.4 /// </summary>
1.5 private void InitializeComponent()
1.6 {
1.7 - this.components = new System.ComponentModel.Container();
1.8 - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
1.9 - this.panelDisplay = new System.Windows.Forms.Panel();
1.10 - this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
1.11 - this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
1.12 - this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
1.13 - this.fontDialog = new System.Windows.Forms.FontDialog();
1.14 - this.timer = new System.Windows.Forms.Timer(this.components);
1.15 - this.statusStrip = new System.Windows.Forms.StatusStrip();
1.16 - this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
1.17 - this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
1.18 - this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
1.19 - this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
1.20 - this.tabPageClients = new System.Windows.Forms.TabPage();
1.21 - this.buttonCloseClients = new System.Windows.Forms.Button();
1.22 - this.buttonStartClient = new System.Windows.Forms.Button();
1.23 - this.treeViewClients = new System.Windows.Forms.TreeView();
1.24 - this.tabPageDisplay = new System.Windows.Forms.TabPage();
1.25 - this.buttonShowClock = new System.Windows.Forms.Button();
1.26 - this.buttonHideClock = new System.Windows.Forms.Button();
1.27 - this.buttonPowerOff = new System.Windows.Forms.Button();
1.28 - this.buttonPowerOn = new System.Windows.Forms.Button();
1.29 - this.labelTimerInterval = new System.Windows.Forms.Label();
1.30 - this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
1.31 - this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
1.32 - this.buttonSuspend = new System.Windows.Forms.Button();
1.33 - this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
1.34 - this.trackBarBrightness = new System.Windows.Forms.TrackBar();
1.35 - this.buttonFill = new System.Windows.Forms.Button();
1.36 - this.buttonClear = new System.Windows.Forms.Button();
1.37 - this.buttonClose = new System.Windows.Forms.Button();
1.38 - this.buttonOpen = new System.Windows.Forms.Button();
1.39 - this.buttonCapture = new System.Windows.Forms.Button();
1.40 - this.labelWarning = new System.Windows.Forms.Label();
1.41 - this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
1.42 - this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
1.43 - this.buttonFont = new System.Windows.Forms.Button();
1.44 - this.tabControl = new System.Windows.Forms.TabControl();
1.45 - this.tabPageDesign = new System.Windows.Forms.TabPage();
1.46 - this.labelScrollingSpeed = new System.Windows.Forms.Label();
1.47 - this.maskedTextBoxScrollingSpeed = new System.Windows.Forms.MaskedTextBox();
1.48 - this.labelScrollLoopSeparator = new System.Windows.Forms.Label();
1.49 - this.textBoxScrollLoopSeparator = new System.Windows.Forms.TextBox();
1.50 - this.labelMinFontSize = new System.Windows.Forms.Label();
1.51 - this.maskedTextBoxMinFontSize = new System.Windows.Forms.MaskedTextBox();
1.52 - this.checkBoxScaleToFit = new System.Windows.Forms.CheckBox();
1.53 - this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
1.54 - this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
1.55 - this.tabPageAudio = new System.Windows.Forms.TabPage();
1.56 - this.labelDefaultAudioDevice = new System.Windows.Forms.Label();
1.57 - this.checkBoxShowVolumeLabel = new System.Windows.Forms.CheckBox();
1.58 - this.checkBoxMute = new System.Windows.Forms.CheckBox();
1.59 - this.trackBarMasterVolume = new System.Windows.Forms.TrackBar();
1.60 - this.tabPageInput = new System.Windows.Forms.TabPage();
1.61 - this.pictureBoxGreenStart = new System.Windows.Forms.PictureBox();
1.62 - this.labelStartFileName = new System.Windows.Forms.Label();
1.63 - this.buttonSelectFile = new System.Windows.Forms.Button();
1.64 - this.tabPageApp = new System.Windows.Forms.TabPage();
1.65 - this.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
1.66 - this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
1.67 - this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
1.68 - this.buttonUpdate = new System.Windows.Forms.Button();
1.69 - this.labelFontWidth = new System.Windows.Forms.Label();
1.70 - this.labelFontHeight = new System.Windows.Forms.Label();
1.71 - this.toolTip = new System.Windows.Forms.ToolTip(this.components);
1.72 - this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
1.73 - this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
1.74 - this.panelDisplay.SuspendLayout();
1.75 - this.tableLayoutPanel.SuspendLayout();
1.76 - this.statusStrip.SuspendLayout();
1.77 - this.tabPageClients.SuspendLayout();
1.78 - this.tabPageDisplay.SuspendLayout();
1.79 - ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
1.80 - this.tabControl.SuspendLayout();
1.81 - this.tabPageDesign.SuspendLayout();
1.82 - this.tabPageAudio.SuspendLayout();
1.83 - ((System.ComponentModel.ISupportInitialize)(this.trackBarMasterVolume)).BeginInit();
1.84 - this.tabPageInput.SuspendLayout();
1.85 - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).BeginInit();
1.86 - this.tabPageApp.SuspendLayout();
1.87 - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
1.88 - this.SuspendLayout();
1.89 - //
1.90 - // panelDisplay
1.91 - //
1.92 - this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
1.93 - this.panelDisplay.Controls.Add(this.tableLayoutPanel);
1.94 - this.panelDisplay.Location = new System.Drawing.Point(173, 40);
1.95 - this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
1.96 - this.panelDisplay.Name = "panelDisplay";
1.97 - this.panelDisplay.Size = new System.Drawing.Size(258, 66);
1.98 - this.panelDisplay.TabIndex = 12;
1.99 - //
1.100 - // tableLayoutPanel
1.101 - //
1.102 - this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.103 + this.components = new System.ComponentModel.Container();
1.104 + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
1.105 + this.panelDisplay = new System.Windows.Forms.Panel();
1.106 + this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
1.107 + this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
1.108 + this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
1.109 + this.fontDialog = new System.Windows.Forms.FontDialog();
1.110 + this.timer = new System.Windows.Forms.Timer(this.components);
1.111 + this.statusStrip = new System.Windows.Forms.StatusStrip();
1.112 + this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
1.113 + this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
1.114 + this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
1.115 + this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
1.116 + this.tabPageClients = new System.Windows.Forms.TabPage();
1.117 + this.buttonCloseClients = new System.Windows.Forms.Button();
1.118 + this.buttonStartClient = new System.Windows.Forms.Button();
1.119 + this.treeViewClients = new System.Windows.Forms.TreeView();
1.120 + this.tabPageDisplay = new System.Windows.Forms.TabPage();
1.121 + this.buttonShowClock = new System.Windows.Forms.Button();
1.122 + this.buttonHideClock = new System.Windows.Forms.Button();
1.123 + this.buttonPowerOff = new System.Windows.Forms.Button();
1.124 + this.buttonPowerOn = new System.Windows.Forms.Button();
1.125 + this.labelTimerInterval = new System.Windows.Forms.Label();
1.126 + this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
1.127 + this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
1.128 + this.buttonSuspend = new System.Windows.Forms.Button();
1.129 + this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
1.130 + this.trackBarBrightness = new System.Windows.Forms.TrackBar();
1.131 + this.buttonFill = new System.Windows.Forms.Button();
1.132 + this.buttonClear = new System.Windows.Forms.Button();
1.133 + this.buttonClose = new System.Windows.Forms.Button();
1.134 + this.buttonOpen = new System.Windows.Forms.Button();
1.135 + this.buttonCapture = new System.Windows.Forms.Button();
1.136 + this.labelWarning = new System.Windows.Forms.Label();
1.137 + this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
1.138 + this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
1.139 + this.buttonFont = new System.Windows.Forms.Button();
1.140 + this.tabControl = new System.Windows.Forms.TabControl();
1.141 + this.tabPageDesign = new System.Windows.Forms.TabPage();
1.142 + this.labelScrollingSpeed = new System.Windows.Forms.Label();
1.143 + this.maskedTextBoxScrollingSpeed = new System.Windows.Forms.MaskedTextBox();
1.144 + this.labelScrollLoopSeparator = new System.Windows.Forms.Label();
1.145 + this.textBoxScrollLoopSeparator = new System.Windows.Forms.TextBox();
1.146 + this.labelMinFontSize = new System.Windows.Forms.Label();
1.147 + this.maskedTextBoxMinFontSize = new System.Windows.Forms.MaskedTextBox();
1.148 + this.checkBoxScaleToFit = new System.Windows.Forms.CheckBox();
1.149 + this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
1.150 + this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
1.151 + this.tabPageAudio = new System.Windows.Forms.TabPage();
1.152 + this.labelDefaultAudioDevice = new System.Windows.Forms.Label();
1.153 + this.checkBoxShowVolumeLabel = new System.Windows.Forms.CheckBox();
1.154 + this.checkBoxMute = new System.Windows.Forms.CheckBox();
1.155 + this.trackBarMasterVolume = new System.Windows.Forms.TrackBar();
1.156 + this.tabPageInput = new System.Windows.Forms.TabPage();
1.157 + this.pictureBoxGreenStart = new System.Windows.Forms.PictureBox();
1.158 + this.labelStartFileName = new System.Windows.Forms.Label();
1.159 + this.buttonSelectFile = new System.Windows.Forms.Button();
1.160 + this.tabPageApp = new System.Windows.Forms.TabPage();
1.161 + this.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
1.162 + this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
1.163 + this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
1.164 + this.buttonUpdate = new System.Windows.Forms.Button();
1.165 + this.labelFontWidth = new System.Windows.Forms.Label();
1.166 + this.labelFontHeight = new System.Windows.Forms.Label();
1.167 + this.toolTip = new System.Windows.Forms.ToolTip(this.components);
1.168 + this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
1.169 + this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
1.170 + this.labelOpticalDriveEject = new System.Windows.Forms.Label();
1.171 + this.comboBoxOpticalDrives = new System.Windows.Forms.ComboBox();
1.172 + this.panelDisplay.SuspendLayout();
1.173 + this.tableLayoutPanel.SuspendLayout();
1.174 + this.statusStrip.SuspendLayout();
1.175 + this.tabPageClients.SuspendLayout();
1.176 + this.tabPageDisplay.SuspendLayout();
1.177 + ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
1.178 + this.tabControl.SuspendLayout();
1.179 + this.tabPageDesign.SuspendLayout();
1.180 + this.tabPageAudio.SuspendLayout();
1.181 + ((System.ComponentModel.ISupportInitialize)(this.trackBarMasterVolume)).BeginInit();
1.182 + this.tabPageInput.SuspendLayout();
1.183 + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).BeginInit();
1.184 + this.tabPageApp.SuspendLayout();
1.185 + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
1.186 + this.SuspendLayout();
1.187 + //
1.188 + // panelDisplay
1.189 + //
1.190 + this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
1.191 + this.panelDisplay.Controls.Add(this.tableLayoutPanel);
1.192 + this.panelDisplay.Location = new System.Drawing.Point(173, 40);
1.193 + this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
1.194 + this.panelDisplay.Name = "panelDisplay";
1.195 + this.panelDisplay.Size = new System.Drawing.Size(258, 66);
1.196 + this.panelDisplay.TabIndex = 12;
1.197 + //
1.198 + // tableLayoutPanel
1.199 + //
1.200 + this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.201 | System.Windows.Forms.AnchorStyles.Left)
1.202 | System.Windows.Forms.AnchorStyles.Right)));
1.203 - this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
1.204 - this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
1.205 - this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
1.206 - this.tableLayoutPanel.ColumnCount = 1;
1.207 - this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
1.208 - this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
1.209 - this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
1.210 - this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
1.211 - this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
1.212 - this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
1.213 - this.tableLayoutPanel.Name = "tableLayoutPanel";
1.214 - this.tableLayoutPanel.RowCount = 2;
1.215 - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
1.216 - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
1.217 - this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
1.218 - this.tableLayoutPanel.TabIndex = 5;
1.219 - this.tableLayoutPanel.SizeChanged += new System.EventHandler(this.tableLayoutPanel_SizeChanged);
1.220 - //
1.221 - // marqueeLabelTop
1.222 - //
1.223 - this.marqueeLabelTop.AutoEllipsis = true;
1.224 - this.marqueeLabelTop.AutoSize = true;
1.225 - this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
1.226 - this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
1.227 - this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
1.228 - this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
1.229 - this.marqueeLabelTop.MinFontSize = 15F;
1.230 - this.marqueeLabelTop.Name = "marqueeLabelTop";
1.231 - this.marqueeLabelTop.OwnTimer = false;
1.232 - this.marqueeLabelTop.PixelsPerSecond = 64;
1.233 - this.marqueeLabelTop.ScaleToFit = true;
1.234 - this.marqueeLabelTop.Separator = "|";
1.235 - this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
1.236 - this.marqueeLabelTop.TabIndex = 2;
1.237 - this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
1.238 - this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.239 - this.marqueeLabelTop.UseCompatibleTextRendering = true;
1.240 - //
1.241 - // marqueeLabelBottom
1.242 - //
1.243 - this.marqueeLabelBottom.AutoEllipsis = true;
1.244 - this.marqueeLabelBottom.AutoSize = true;
1.245 - this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
1.246 - this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
1.247 - this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
1.248 - this.marqueeLabelBottom.MinFontSize = 15F;
1.249 - this.marqueeLabelBottom.Name = "marqueeLabelBottom";
1.250 - this.marqueeLabelBottom.OwnTimer = false;
1.251 - this.marqueeLabelBottom.PixelsPerSecond = 64;
1.252 - this.marqueeLabelBottom.ScaleToFit = true;
1.253 - this.marqueeLabelBottom.Separator = "|";
1.254 - this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
1.255 - this.marqueeLabelBottom.TabIndex = 3;
1.256 - this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
1.257 - this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.258 - this.marqueeLabelBottom.UseCompatibleTextRendering = true;
1.259 - //
1.260 - // timer
1.261 - //
1.262 - this.timer.Enabled = true;
1.263 - this.timer.Interval = 50;
1.264 - this.timer.Tick += new System.EventHandler(this.timer_Tick);
1.265 - //
1.266 - // statusStrip
1.267 - //
1.268 - this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
1.269 + this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
1.270 + this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
1.271 + this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
1.272 + this.tableLayoutPanel.ColumnCount = 1;
1.273 + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
1.274 + this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
1.275 + this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
1.276 + this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
1.277 + this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
1.278 + this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
1.279 + this.tableLayoutPanel.Name = "tableLayoutPanel";
1.280 + this.tableLayoutPanel.RowCount = 2;
1.281 + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
1.282 + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
1.283 + this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
1.284 + this.tableLayoutPanel.TabIndex = 5;
1.285 + this.tableLayoutPanel.SizeChanged += new System.EventHandler(this.tableLayoutPanel_SizeChanged);
1.286 + //
1.287 + // marqueeLabelTop
1.288 + //
1.289 + this.marqueeLabelTop.AutoEllipsis = true;
1.290 + this.marqueeLabelTop.AutoSize = true;
1.291 + this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
1.292 + this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
1.293 + this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
1.294 + this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
1.295 + this.marqueeLabelTop.MinFontSize = 15F;
1.296 + this.marqueeLabelTop.Name = "marqueeLabelTop";
1.297 + this.marqueeLabelTop.OwnTimer = false;
1.298 + this.marqueeLabelTop.PixelsPerSecond = 64;
1.299 + this.marqueeLabelTop.ScaleToFit = true;
1.300 + this.marqueeLabelTop.Separator = "|";
1.301 + this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
1.302 + this.marqueeLabelTop.TabIndex = 2;
1.303 + this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
1.304 + this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.305 + this.marqueeLabelTop.UseCompatibleTextRendering = true;
1.306 + //
1.307 + // marqueeLabelBottom
1.308 + //
1.309 + this.marqueeLabelBottom.AutoEllipsis = true;
1.310 + this.marqueeLabelBottom.AutoSize = true;
1.311 + this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
1.312 + this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
1.313 + this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
1.314 + this.marqueeLabelBottom.MinFontSize = 15F;
1.315 + this.marqueeLabelBottom.Name = "marqueeLabelBottom";
1.316 + this.marqueeLabelBottom.OwnTimer = false;
1.317 + this.marqueeLabelBottom.PixelsPerSecond = 64;
1.318 + this.marqueeLabelBottom.ScaleToFit = true;
1.319 + this.marqueeLabelBottom.Separator = "|";
1.320 + this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
1.321 + this.marqueeLabelBottom.TabIndex = 3;
1.322 + this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
1.323 + this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.324 + this.marqueeLabelBottom.UseCompatibleTextRendering = true;
1.325 + //
1.326 + // timer
1.327 + //
1.328 + this.timer.Enabled = true;
1.329 + this.timer.Interval = 50;
1.330 + this.timer.Tick += new System.EventHandler(this.timer_Tick);
1.331 + //
1.332 + // statusStrip
1.333 + //
1.334 + this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
1.335 this.toolStripStatusLabelConnect,
1.336 this.toolStripStatusLabelSpring,
1.337 this.toolStripStatusLabelPower,
1.338 this.toolStripStatusLabelFps});
1.339 - this.statusStrip.Location = new System.Drawing.Point(0, 420);
1.340 - this.statusStrip.Name = "statusStrip";
1.341 - this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
1.342 - this.statusStrip.Size = new System.Drawing.Size(624, 22);
1.343 - this.statusStrip.TabIndex = 1;
1.344 - this.statusStrip.Text = "statusStrip";
1.345 - //
1.346 - // toolStripStatusLabelConnect
1.347 - //
1.348 - this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
1.349 - this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
1.350 - this.toolStripStatusLabelConnect.Text = "Not connected";
1.351 - //
1.352 - // toolStripStatusLabelSpring
1.353 - //
1.354 - this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
1.355 - this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
1.356 - this.toolStripStatusLabelSpring.Spring = true;
1.357 - //
1.358 - // toolStripStatusLabelPower
1.359 - //
1.360 - this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
1.361 - this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
1.362 - this.toolStripStatusLabelPower.Text = "NA";
1.363 - //
1.364 - // toolStripStatusLabelFps
1.365 - //
1.366 - this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
1.367 - this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
1.368 - this.toolStripStatusLabelFps.Text = "FPS";
1.369 - //
1.370 - // tabPageClients
1.371 - //
1.372 - this.tabPageClients.Controls.Add(this.buttonCloseClients);
1.373 - this.tabPageClients.Controls.Add(this.buttonStartClient);
1.374 - this.tabPageClients.Controls.Add(this.treeViewClients);
1.375 - this.tabPageClients.Location = new System.Drawing.Point(4, 22);
1.376 - this.tabPageClients.Name = "tabPageClients";
1.377 - this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
1.378 - this.tabPageClients.Size = new System.Drawing.Size(592, 242);
1.379 - this.tabPageClients.TabIndex = 2;
1.380 - this.tabPageClients.Text = "Clients";
1.381 - this.tabPageClients.UseVisualStyleBackColor = true;
1.382 - //
1.383 - // buttonCloseClients
1.384 - //
1.385 - this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
1.386 - this.buttonCloseClients.Name = "buttonCloseClients";
1.387 - this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
1.388 - this.buttonCloseClients.TabIndex = 20;
1.389 - this.buttonCloseClients.Text = "Close Clients";
1.390 - this.buttonCloseClients.UseVisualStyleBackColor = true;
1.391 - this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
1.392 - //
1.393 - // buttonStartClient
1.394 - //
1.395 - this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
1.396 - this.buttonStartClient.Name = "buttonStartClient";
1.397 - this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
1.398 - this.buttonStartClient.TabIndex = 19;
1.399 - this.buttonStartClient.Text = "Start Client";
1.400 - this.buttonStartClient.UseVisualStyleBackColor = true;
1.401 - this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
1.402 - //
1.403 - // treeViewClients
1.404 - //
1.405 - this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.406 + this.statusStrip.Location = new System.Drawing.Point(0, 420);
1.407 + this.statusStrip.Name = "statusStrip";
1.408 + this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
1.409 + this.statusStrip.Size = new System.Drawing.Size(624, 22);
1.410 + this.statusStrip.TabIndex = 1;
1.411 + this.statusStrip.Text = "statusStrip";
1.412 + //
1.413 + // toolStripStatusLabelConnect
1.414 + //
1.415 + this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
1.416 + this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
1.417 + this.toolStripStatusLabelConnect.Text = "Not connected";
1.418 + //
1.419 + // toolStripStatusLabelSpring
1.420 + //
1.421 + this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
1.422 + this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
1.423 + this.toolStripStatusLabelSpring.Spring = true;
1.424 + //
1.425 + // toolStripStatusLabelPower
1.426 + //
1.427 + this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
1.428 + this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
1.429 + this.toolStripStatusLabelPower.Text = "NA";
1.430 + //
1.431 + // toolStripStatusLabelFps
1.432 + //
1.433 + this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
1.434 + this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
1.435 + this.toolStripStatusLabelFps.Text = "FPS";
1.436 + //
1.437 + // tabPageClients
1.438 + //
1.439 + this.tabPageClients.Controls.Add(this.buttonCloseClients);
1.440 + this.tabPageClients.Controls.Add(this.buttonStartClient);
1.441 + this.tabPageClients.Controls.Add(this.treeViewClients);
1.442 + this.tabPageClients.Location = new System.Drawing.Point(4, 22);
1.443 + this.tabPageClients.Name = "tabPageClients";
1.444 + this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
1.445 + this.tabPageClients.Size = new System.Drawing.Size(592, 242);
1.446 + this.tabPageClients.TabIndex = 2;
1.447 + this.tabPageClients.Text = "Clients";
1.448 + this.tabPageClients.UseVisualStyleBackColor = true;
1.449 + //
1.450 + // buttonCloseClients
1.451 + //
1.452 + this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
1.453 + this.buttonCloseClients.Name = "buttonCloseClients";
1.454 + this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
1.455 + this.buttonCloseClients.TabIndex = 20;
1.456 + this.buttonCloseClients.Text = "Close Clients";
1.457 + this.buttonCloseClients.UseVisualStyleBackColor = true;
1.458 + this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
1.459 + //
1.460 + // buttonStartClient
1.461 + //
1.462 + this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
1.463 + this.buttonStartClient.Name = "buttonStartClient";
1.464 + this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
1.465 + this.buttonStartClient.TabIndex = 19;
1.466 + this.buttonStartClient.Text = "Start Client";
1.467 + this.buttonStartClient.UseVisualStyleBackColor = true;
1.468 + this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
1.469 + //
1.470 + // treeViewClients
1.471 + //
1.472 + this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.473 | System.Windows.Forms.AnchorStyles.Left)
1.474 | System.Windows.Forms.AnchorStyles.Right)));
1.475 - this.treeViewClients.Location = new System.Drawing.Point(87, 6);
1.476 - this.treeViewClients.Name = "treeViewClients";
1.477 - this.treeViewClients.Size = new System.Drawing.Size(499, 233);
1.478 - this.treeViewClients.TabIndex = 0;
1.479 - this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
1.480 - //
1.481 - // tabPageDisplay
1.482 - //
1.483 - this.tabPageDisplay.Controls.Add(this.buttonShowClock);
1.484 - this.tabPageDisplay.Controls.Add(this.buttonHideClock);
1.485 - this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
1.486 - this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
1.487 - this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
1.488 - this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
1.489 - this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
1.490 - this.tabPageDisplay.Controls.Add(this.buttonSuspend);
1.491 - this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
1.492 - this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
1.493 - this.tabPageDisplay.Controls.Add(this.buttonFill);
1.494 - this.tabPageDisplay.Controls.Add(this.buttonClear);
1.495 - this.tabPageDisplay.Controls.Add(this.buttonClose);
1.496 - this.tabPageDisplay.Controls.Add(this.buttonOpen);
1.497 - this.tabPageDisplay.Controls.Add(this.buttonCapture);
1.498 - this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
1.499 - this.tabPageDisplay.Name = "tabPageDisplay";
1.500 - this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
1.501 - this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
1.502 - this.tabPageDisplay.TabIndex = 0;
1.503 - this.tabPageDisplay.Text = "Display";
1.504 - this.tabPageDisplay.UseVisualStyleBackColor = true;
1.505 - //
1.506 - // buttonShowClock
1.507 - //
1.508 - this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
1.509 - this.buttonShowClock.Name = "buttonShowClock";
1.510 - this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
1.511 - this.buttonShowClock.TabIndex = 23;
1.512 - this.buttonShowClock.Text = "Show Clock";
1.513 - this.buttonShowClock.UseVisualStyleBackColor = true;
1.514 - this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
1.515 - //
1.516 - // buttonHideClock
1.517 - //
1.518 - this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
1.519 - this.buttonHideClock.Name = "buttonHideClock";
1.520 - this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
1.521 - this.buttonHideClock.TabIndex = 22;
1.522 - this.buttonHideClock.Text = "Hide Clock";
1.523 - this.buttonHideClock.UseVisualStyleBackColor = true;
1.524 - this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
1.525 - //
1.526 - // buttonPowerOff
1.527 - //
1.528 - this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
1.529 - this.buttonPowerOff.Name = "buttonPowerOff";
1.530 - this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
1.531 - this.buttonPowerOff.TabIndex = 21;
1.532 - this.buttonPowerOff.Text = "OFF";
1.533 - this.buttonPowerOff.UseVisualStyleBackColor = true;
1.534 - this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
1.535 - //
1.536 - // buttonPowerOn
1.537 - //
1.538 - this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
1.539 - this.buttonPowerOn.Name = "buttonPowerOn";
1.540 - this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
1.541 - this.buttonPowerOn.TabIndex = 20;
1.542 - this.buttonPowerOn.Text = "ON";
1.543 - this.buttonPowerOn.UseVisualStyleBackColor = true;
1.544 - this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
1.545 - //
1.546 - // labelTimerInterval
1.547 - //
1.548 - this.labelTimerInterval.AutoSize = true;
1.549 - this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
1.550 - this.labelTimerInterval.Name = "labelTimerInterval";
1.551 - this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
1.552 - this.labelTimerInterval.TabIndex = 19;
1.553 - this.labelTimerInterval.Text = "Timer interval (ms) :";
1.554 - //
1.555 - // maskedTextBoxTimerInterval
1.556 - //
1.557 - this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
1.558 - this.maskedTextBoxTimerInterval.Mask = "000";
1.559 - this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
1.560 - this.maskedTextBoxTimerInterval.PromptChar = ' ';
1.561 - this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
1.562 - this.maskedTextBoxTimerInterval.TabIndex = 18;
1.563 - this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
1.564 - //
1.565 - // comboBoxDisplayType
1.566 - //
1.567 - this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
1.568 - this.comboBoxDisplayType.FormattingEnabled = true;
1.569 - this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
1.570 - this.comboBoxDisplayType.Name = "comboBoxDisplayType";
1.571 - this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
1.572 - this.comboBoxDisplayType.TabIndex = 17;
1.573 - this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
1.574 - //
1.575 - // buttonSuspend
1.576 - //
1.577 - this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.578 - this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
1.579 - this.buttonSuspend.Name = "buttonSuspend";
1.580 - this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
1.581 - this.buttonSuspend.TabIndex = 16;
1.582 - this.buttonSuspend.Text = "Pause";
1.583 - this.buttonSuspend.UseVisualStyleBackColor = true;
1.584 - this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
1.585 - //
1.586 - // checkBoxConnectOnStartup
1.587 - //
1.588 - this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.589 - this.checkBoxConnectOnStartup.AutoSize = true;
1.590 - this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
1.591 - this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
1.592 - this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
1.593 - this.checkBoxConnectOnStartup.TabIndex = 13;
1.594 - this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
1.595 - this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
1.596 - this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
1.597 - //
1.598 - // trackBarBrightness
1.599 - //
1.600 - this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.601 + this.treeViewClients.Location = new System.Drawing.Point(87, 6);
1.602 + this.treeViewClients.Name = "treeViewClients";
1.603 + this.treeViewClients.Size = new System.Drawing.Size(499, 233);
1.604 + this.treeViewClients.TabIndex = 0;
1.605 + this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
1.606 + //
1.607 + // tabPageDisplay
1.608 + //
1.609 + this.tabPageDisplay.Controls.Add(this.buttonShowClock);
1.610 + this.tabPageDisplay.Controls.Add(this.buttonHideClock);
1.611 + this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
1.612 + this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
1.613 + this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
1.614 + this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
1.615 + this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
1.616 + this.tabPageDisplay.Controls.Add(this.buttonSuspend);
1.617 + this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
1.618 + this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
1.619 + this.tabPageDisplay.Controls.Add(this.buttonFill);
1.620 + this.tabPageDisplay.Controls.Add(this.buttonClear);
1.621 + this.tabPageDisplay.Controls.Add(this.buttonClose);
1.622 + this.tabPageDisplay.Controls.Add(this.buttonOpen);
1.623 + this.tabPageDisplay.Controls.Add(this.buttonCapture);
1.624 + this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
1.625 + this.tabPageDisplay.Name = "tabPageDisplay";
1.626 + this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
1.627 + this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
1.628 + this.tabPageDisplay.TabIndex = 0;
1.629 + this.tabPageDisplay.Text = "Display";
1.630 + this.tabPageDisplay.UseVisualStyleBackColor = true;
1.631 + //
1.632 + // buttonShowClock
1.633 + //
1.634 + this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
1.635 + this.buttonShowClock.Name = "buttonShowClock";
1.636 + this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
1.637 + this.buttonShowClock.TabIndex = 23;
1.638 + this.buttonShowClock.Text = "Show Clock";
1.639 + this.buttonShowClock.UseVisualStyleBackColor = true;
1.640 + this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
1.641 + //
1.642 + // buttonHideClock
1.643 + //
1.644 + this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
1.645 + this.buttonHideClock.Name = "buttonHideClock";
1.646 + this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
1.647 + this.buttonHideClock.TabIndex = 22;
1.648 + this.buttonHideClock.Text = "Hide Clock";
1.649 + this.buttonHideClock.UseVisualStyleBackColor = true;
1.650 + this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
1.651 + //
1.652 + // buttonPowerOff
1.653 + //
1.654 + this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
1.655 + this.buttonPowerOff.Name = "buttonPowerOff";
1.656 + this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
1.657 + this.buttonPowerOff.TabIndex = 21;
1.658 + this.buttonPowerOff.Text = "OFF";
1.659 + this.buttonPowerOff.UseVisualStyleBackColor = true;
1.660 + this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
1.661 + //
1.662 + // buttonPowerOn
1.663 + //
1.664 + this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
1.665 + this.buttonPowerOn.Name = "buttonPowerOn";
1.666 + this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
1.667 + this.buttonPowerOn.TabIndex = 20;
1.668 + this.buttonPowerOn.Text = "ON";
1.669 + this.buttonPowerOn.UseVisualStyleBackColor = true;
1.670 + this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
1.671 + //
1.672 + // labelTimerInterval
1.673 + //
1.674 + this.labelTimerInterval.AutoSize = true;
1.675 + this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
1.676 + this.labelTimerInterval.Name = "labelTimerInterval";
1.677 + this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
1.678 + this.labelTimerInterval.TabIndex = 19;
1.679 + this.labelTimerInterval.Text = "Timer interval (ms) :";
1.680 + //
1.681 + // maskedTextBoxTimerInterval
1.682 + //
1.683 + this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
1.684 + this.maskedTextBoxTimerInterval.Mask = "000";
1.685 + this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
1.686 + this.maskedTextBoxTimerInterval.PromptChar = ' ';
1.687 + this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
1.688 + this.maskedTextBoxTimerInterval.TabIndex = 18;
1.689 + this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
1.690 + //
1.691 + // comboBoxDisplayType
1.692 + //
1.693 + this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
1.694 + this.comboBoxDisplayType.FormattingEnabled = true;
1.695 + this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
1.696 + this.comboBoxDisplayType.Name = "comboBoxDisplayType";
1.697 + this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
1.698 + this.comboBoxDisplayType.TabIndex = 17;
1.699 + this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
1.700 + //
1.701 + // buttonSuspend
1.702 + //
1.703 + this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.704 + this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
1.705 + this.buttonSuspend.Name = "buttonSuspend";
1.706 + this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
1.707 + this.buttonSuspend.TabIndex = 16;
1.708 + this.buttonSuspend.Text = "Pause";
1.709 + this.buttonSuspend.UseVisualStyleBackColor = true;
1.710 + this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
1.711 + //
1.712 + // checkBoxConnectOnStartup
1.713 + //
1.714 + this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.715 + this.checkBoxConnectOnStartup.AutoSize = true;
1.716 + this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
1.717 + this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
1.718 + this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
1.719 + this.checkBoxConnectOnStartup.TabIndex = 13;
1.720 + this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
1.721 + this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
1.722 + this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
1.723 + //
1.724 + // trackBarBrightness
1.725 + //
1.726 + this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.727 | System.Windows.Forms.AnchorStyles.Right)));
1.728 - this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
1.729 - this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
1.730 - this.trackBarBrightness.Name = "trackBarBrightness";
1.731 - this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
1.732 - this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
1.733 - this.trackBarBrightness.TabIndex = 10;
1.734 - this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
1.735 - this.toolTip.SetToolTip(this.trackBarBrightness, "Brightness adjustment");
1.736 - this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
1.737 - //
1.738 - // buttonFill
1.739 - //
1.740 - this.buttonFill.Location = new System.Drawing.Point(6, 93);
1.741 - this.buttonFill.Name = "buttonFill";
1.742 - this.buttonFill.Size = new System.Drawing.Size(75, 23);
1.743 - this.buttonFill.TabIndex = 9;
1.744 - this.buttonFill.Text = "Fill";
1.745 - this.buttonFill.UseVisualStyleBackColor = true;
1.746 - this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
1.747 - //
1.748 - // buttonClear
1.749 - //
1.750 - this.buttonClear.Location = new System.Drawing.Point(6, 64);
1.751 - this.buttonClear.Name = "buttonClear";
1.752 - this.buttonClear.Size = new System.Drawing.Size(75, 23);
1.753 - this.buttonClear.TabIndex = 8;
1.754 - this.buttonClear.Text = "Clear";
1.755 - this.buttonClear.UseVisualStyleBackColor = true;
1.756 - this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
1.757 - //
1.758 - // buttonClose
1.759 - //
1.760 - this.buttonClose.Location = new System.Drawing.Point(6, 35);
1.761 - this.buttonClose.Name = "buttonClose";
1.762 - this.buttonClose.Size = new System.Drawing.Size(75, 23);
1.763 - this.buttonClose.TabIndex = 7;
1.764 - this.buttonClose.Text = "Close";
1.765 - this.buttonClose.UseVisualStyleBackColor = true;
1.766 - this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
1.767 - //
1.768 - // buttonOpen
1.769 - //
1.770 - this.buttonOpen.Location = new System.Drawing.Point(6, 6);
1.771 - this.buttonOpen.Name = "buttonOpen";
1.772 - this.buttonOpen.Size = new System.Drawing.Size(75, 23);
1.773 - this.buttonOpen.TabIndex = 6;
1.774 - this.buttonOpen.Text = "Open";
1.775 - this.buttonOpen.UseVisualStyleBackColor = true;
1.776 - this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
1.777 - //
1.778 - // buttonCapture
1.779 - //
1.780 - this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.781 - this.buttonCapture.Location = new System.Drawing.Point(6, 213);
1.782 - this.buttonCapture.Name = "buttonCapture";
1.783 - this.buttonCapture.Size = new System.Drawing.Size(75, 23);
1.784 - this.buttonCapture.TabIndex = 5;
1.785 - this.buttonCapture.Text = "Capture";
1.786 - this.buttonCapture.UseVisualStyleBackColor = true;
1.787 - this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
1.788 - //
1.789 - // labelWarning
1.790 - //
1.791 - this.labelWarning.AutoSize = true;
1.792 - this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1.793 - this.labelWarning.ForeColor = System.Drawing.Color.Red;
1.794 - this.labelWarning.Location = new System.Drawing.Point(9, 9);
1.795 - this.labelWarning.Name = "labelWarning";
1.796 - this.labelWarning.Size = new System.Drawing.Size(80, 16);
1.797 - this.labelWarning.TabIndex = 18;
1.798 - this.labelWarning.Text = "WARNING";
1.799 - this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.800 - this.labelWarning.Visible = false;
1.801 - //
1.802 - // checkBoxFixedPitchFontOnly
1.803 - //
1.804 - this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.805 - this.checkBoxFixedPitchFontOnly.AutoSize = true;
1.806 - this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
1.807 - this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
1.808 - this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
1.809 - this.checkBoxFixedPitchFontOnly.TabIndex = 17;
1.810 - this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
1.811 - this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
1.812 - //
1.813 - // checkBoxShowBorders
1.814 - //
1.815 - this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.816 - this.checkBoxShowBorders.AutoSize = true;
1.817 - this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
1.818 - this.checkBoxShowBorders.Name = "checkBoxShowBorders";
1.819 - this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
1.820 - this.checkBoxShowBorders.TabIndex = 11;
1.821 - this.checkBoxShowBorders.Text = "Show borders";
1.822 - this.checkBoxShowBorders.UseVisualStyleBackColor = true;
1.823 - this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
1.824 - //
1.825 - // buttonFont
1.826 - //
1.827 - this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.828 - this.buttonFont.Location = new System.Drawing.Point(6, 213);
1.829 - this.buttonFont.Name = "buttonFont";
1.830 - this.buttonFont.Size = new System.Drawing.Size(75, 23);
1.831 - this.buttonFont.TabIndex = 0;
1.832 - this.buttonFont.Text = "Select Font";
1.833 - this.buttonFont.UseVisualStyleBackColor = true;
1.834 - this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
1.835 - //
1.836 - // tabControl
1.837 - //
1.838 - this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.839 + this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
1.840 + this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
1.841 + this.trackBarBrightness.Name = "trackBarBrightness";
1.842 + this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
1.843 + this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
1.844 + this.trackBarBrightness.TabIndex = 10;
1.845 + this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
1.846 + this.toolTip.SetToolTip(this.trackBarBrightness, "Brightness adjustment");
1.847 + this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
1.848 + //
1.849 + // buttonFill
1.850 + //
1.851 + this.buttonFill.Location = new System.Drawing.Point(6, 93);
1.852 + this.buttonFill.Name = "buttonFill";
1.853 + this.buttonFill.Size = new System.Drawing.Size(75, 23);
1.854 + this.buttonFill.TabIndex = 9;
1.855 + this.buttonFill.Text = "Fill";
1.856 + this.buttonFill.UseVisualStyleBackColor = true;
1.857 + this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
1.858 + //
1.859 + // buttonClear
1.860 + //
1.861 + this.buttonClear.Location = new System.Drawing.Point(6, 64);
1.862 + this.buttonClear.Name = "buttonClear";
1.863 + this.buttonClear.Size = new System.Drawing.Size(75, 23);
1.864 + this.buttonClear.TabIndex = 8;
1.865 + this.buttonClear.Text = "Clear";
1.866 + this.buttonClear.UseVisualStyleBackColor = true;
1.867 + this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
1.868 + //
1.869 + // buttonClose
1.870 + //
1.871 + this.buttonClose.Location = new System.Drawing.Point(6, 35);
1.872 + this.buttonClose.Name = "buttonClose";
1.873 + this.buttonClose.Size = new System.Drawing.Size(75, 23);
1.874 + this.buttonClose.TabIndex = 7;
1.875 + this.buttonClose.Text = "Close";
1.876 + this.buttonClose.UseVisualStyleBackColor = true;
1.877 + this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
1.878 + //
1.879 + // buttonOpen
1.880 + //
1.881 + this.buttonOpen.Location = new System.Drawing.Point(6, 6);
1.882 + this.buttonOpen.Name = "buttonOpen";
1.883 + this.buttonOpen.Size = new System.Drawing.Size(75, 23);
1.884 + this.buttonOpen.TabIndex = 6;
1.885 + this.buttonOpen.Text = "Open";
1.886 + this.buttonOpen.UseVisualStyleBackColor = true;
1.887 + this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
1.888 + //
1.889 + // buttonCapture
1.890 + //
1.891 + this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.892 + this.buttonCapture.Location = new System.Drawing.Point(6, 213);
1.893 + this.buttonCapture.Name = "buttonCapture";
1.894 + this.buttonCapture.Size = new System.Drawing.Size(75, 23);
1.895 + this.buttonCapture.TabIndex = 5;
1.896 + this.buttonCapture.Text = "Capture";
1.897 + this.buttonCapture.UseVisualStyleBackColor = true;
1.898 + this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
1.899 + //
1.900 + // labelWarning
1.901 + //
1.902 + this.labelWarning.AutoSize = true;
1.903 + this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1.904 + this.labelWarning.ForeColor = System.Drawing.Color.Red;
1.905 + this.labelWarning.Location = new System.Drawing.Point(9, 9);
1.906 + this.labelWarning.Name = "labelWarning";
1.907 + this.labelWarning.Size = new System.Drawing.Size(80, 16);
1.908 + this.labelWarning.TabIndex = 18;
1.909 + this.labelWarning.Text = "WARNING";
1.910 + this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
1.911 + this.labelWarning.Visible = false;
1.912 + //
1.913 + // checkBoxFixedPitchFontOnly
1.914 + //
1.915 + this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.916 + this.checkBoxFixedPitchFontOnly.AutoSize = true;
1.917 + this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
1.918 + this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
1.919 + this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
1.920 + this.checkBoxFixedPitchFontOnly.TabIndex = 17;
1.921 + this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
1.922 + this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
1.923 + //
1.924 + // checkBoxShowBorders
1.925 + //
1.926 + this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.927 + this.checkBoxShowBorders.AutoSize = true;
1.928 + this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
1.929 + this.checkBoxShowBorders.Name = "checkBoxShowBorders";
1.930 + this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
1.931 + this.checkBoxShowBorders.TabIndex = 11;
1.932 + this.checkBoxShowBorders.Text = "Show borders";
1.933 + this.checkBoxShowBorders.UseVisualStyleBackColor = true;
1.934 + this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
1.935 + //
1.936 + // buttonFont
1.937 + //
1.938 + this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.939 + this.buttonFont.Location = new System.Drawing.Point(6, 213);
1.940 + this.buttonFont.Name = "buttonFont";
1.941 + this.buttonFont.Size = new System.Drawing.Size(75, 23);
1.942 + this.buttonFont.TabIndex = 0;
1.943 + this.buttonFont.Text = "Select Font";
1.944 + this.buttonFont.UseVisualStyleBackColor = true;
1.945 + this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
1.946 + //
1.947 + // tabControl
1.948 + //
1.949 + this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
1.950 | System.Windows.Forms.AnchorStyles.Left)
1.951 | System.Windows.Forms.AnchorStyles.Right)));
1.952 - this.tabControl.Controls.Add(this.tabPageDisplay);
1.953 - this.tabControl.Controls.Add(this.tabPageClients);
1.954 - this.tabControl.Controls.Add(this.tabPageDesign);
1.955 - this.tabControl.Controls.Add(this.tabPageAudio);
1.956 - this.tabControl.Controls.Add(this.tabPageInput);
1.957 - this.tabControl.Controls.Add(this.tabPageApp);
1.958 - this.tabControl.Location = new System.Drawing.Point(12, 139);
1.959 - this.tabControl.Name = "tabControl";
1.960 - this.tabControl.SelectedIndex = 0;
1.961 - this.tabControl.Size = new System.Drawing.Size(600, 268);
1.962 - this.tabControl.TabIndex = 0;
1.963 - //
1.964 - // tabPageDesign
1.965 - //
1.966 - this.tabPageDesign.Controls.Add(this.labelScrollingSpeed);
1.967 - this.tabPageDesign.Controls.Add(this.maskedTextBoxScrollingSpeed);
1.968 - this.tabPageDesign.Controls.Add(this.labelScrollLoopSeparator);
1.969 - this.tabPageDesign.Controls.Add(this.textBoxScrollLoopSeparator);
1.970 - this.tabPageDesign.Controls.Add(this.labelMinFontSize);
1.971 - this.tabPageDesign.Controls.Add(this.maskedTextBoxMinFontSize);
1.972 - this.tabPageDesign.Controls.Add(this.checkBoxScaleToFit);
1.973 - this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
1.974 - this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
1.975 - this.tabPageDesign.Controls.Add(this.buttonFont);
1.976 - this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
1.977 - this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
1.978 - this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
1.979 - this.tabPageDesign.Name = "tabPageDesign";
1.980 - this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
1.981 - this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
1.982 - this.tabPageDesign.TabIndex = 3;
1.983 - this.tabPageDesign.Text = "Design";
1.984 - this.tabPageDesign.UseVisualStyleBackColor = true;
1.985 - //
1.986 - // labelScrollingSpeed
1.987 - //
1.988 - this.labelScrollingSpeed.AutoSize = true;
1.989 - this.labelScrollingSpeed.Location = new System.Drawing.Point(84, 119);
1.990 - this.labelScrollingSpeed.Name = "labelScrollingSpeed";
1.991 - this.labelScrollingSpeed.Size = new System.Drawing.Size(115, 13);
1.992 - this.labelScrollingSpeed.TabIndex = 28;
1.993 - this.labelScrollingSpeed.Text = "Scrolling speed (px/s) :";
1.994 - //
1.995 - // maskedTextBoxScrollingSpeed
1.996 - //
1.997 - this.maskedTextBoxScrollingSpeed.Location = new System.Drawing.Point(205, 116);
1.998 - this.maskedTextBoxScrollingSpeed.Mask = "000";
1.999 - this.maskedTextBoxScrollingSpeed.Name = "maskedTextBoxScrollingSpeed";
1.1000 - this.maskedTextBoxScrollingSpeed.PromptChar = ' ';
1.1001 - this.maskedTextBoxScrollingSpeed.Size = new System.Drawing.Size(24, 20);
1.1002 - this.maskedTextBoxScrollingSpeed.TabIndex = 27;
1.1003 - this.maskedTextBoxScrollingSpeed.TextChanged += new System.EventHandler(this.maskedTextBoxScrollingSpeed_TextChanged);
1.1004 - //
1.1005 - // labelScrollLoopSeparator
1.1006 - //
1.1007 - this.labelScrollLoopSeparator.AutoSize = true;
1.1008 - this.labelScrollLoopSeparator.Location = new System.Drawing.Point(90, 145);
1.1009 - this.labelScrollLoopSeparator.Name = "labelScrollLoopSeparator";
1.1010 - this.labelScrollLoopSeparator.Size = new System.Drawing.Size(109, 13);
1.1011 - this.labelScrollLoopSeparator.TabIndex = 26;
1.1012 - this.labelScrollLoopSeparator.Text = "Scroll loop separator :";
1.1013 - //
1.1014 - // textBoxScrollLoopSeparator
1.1015 - //
1.1016 - this.textBoxScrollLoopSeparator.Location = new System.Drawing.Point(205, 142);
1.1017 - this.textBoxScrollLoopSeparator.Name = "textBoxScrollLoopSeparator";
1.1018 - this.textBoxScrollLoopSeparator.Size = new System.Drawing.Size(74, 20);
1.1019 - this.textBoxScrollLoopSeparator.TabIndex = 25;
1.1020 - this.textBoxScrollLoopSeparator.TextChanged += new System.EventHandler(this.textBoxScrollLoopSeparator_TextChanged);
1.1021 - //
1.1022 - // labelMinFontSize
1.1023 - //
1.1024 - this.labelMinFontSize.AutoSize = true;
1.1025 - this.labelMinFontSize.Location = new System.Drawing.Point(80, 194);
1.1026 - this.labelMinFontSize.Name = "labelMinFontSize";
1.1027 - this.labelMinFontSize.Size = new System.Drawing.Size(119, 13);
1.1028 - this.labelMinFontSize.TabIndex = 24;
1.1029 - this.labelMinFontSize.Text = "Minimum font size (pts) :";
1.1030 - //
1.1031 - // maskedTextBoxMinFontSize
1.1032 - //
1.1033 - this.maskedTextBoxMinFontSize.Location = new System.Drawing.Point(205, 191);
1.1034 - this.maskedTextBoxMinFontSize.Mask = "000";
1.1035 - this.maskedTextBoxMinFontSize.Name = "maskedTextBoxMinFontSize";
1.1036 - this.maskedTextBoxMinFontSize.PromptChar = ' ';
1.1037 - this.maskedTextBoxMinFontSize.Size = new System.Drawing.Size(24, 20);
1.1038 - this.maskedTextBoxMinFontSize.TabIndex = 23;
1.1039 - this.maskedTextBoxMinFontSize.TextChanged += new System.EventHandler(this.maskedTextBoxMinFontSize_TextChanged);
1.1040 - //
1.1041 - // checkBoxScaleToFit
1.1042 - //
1.1043 - this.checkBoxScaleToFit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1044 - this.checkBoxScaleToFit.AutoSize = true;
1.1045 - this.checkBoxScaleToFit.Location = new System.Drawing.Point(87, 168);
1.1046 - this.checkBoxScaleToFit.Name = "checkBoxScaleToFit";
1.1047 - this.checkBoxScaleToFit.Size = new System.Drawing.Size(201, 17);
1.1048 - this.checkBoxScaleToFit.TabIndex = 22;
1.1049 - this.checkBoxScaleToFit.Text = "Try scale font down to avoid scrolling";
1.1050 - this.checkBoxScaleToFit.UseVisualStyleBackColor = true;
1.1051 - this.checkBoxScaleToFit.CheckedChanged += new System.EventHandler(this.checkBoxScaleToFit_CheckedChanged);
1.1052 - //
1.1053 - // checkBoxInverseColors
1.1054 - //
1.1055 - this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.1056 - this.checkBoxInverseColors.AutoSize = true;
1.1057 - this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
1.1058 - this.checkBoxInverseColors.Name = "checkBoxInverseColors";
1.1059 - this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
1.1060 - this.checkBoxInverseColors.TabIndex = 21;
1.1061 - this.checkBoxInverseColors.Text = "Inverse colors";
1.1062 - this.checkBoxInverseColors.UseVisualStyleBackColor = true;
1.1063 - this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
1.1064 - //
1.1065 - // checkBoxReverseScreen
1.1066 - //
1.1067 - this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.1068 - this.checkBoxReverseScreen.AutoSize = true;
1.1069 - this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
1.1070 - this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
1.1071 - this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
1.1072 - this.checkBoxReverseScreen.TabIndex = 14;
1.1073 - this.checkBoxReverseScreen.Text = "Reverse screen";
1.1074 - this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
1.1075 - this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
1.1076 - //
1.1077 - // tabPageAudio
1.1078 - //
1.1079 - this.tabPageAudio.Controls.Add(this.labelDefaultAudioDevice);
1.1080 - this.tabPageAudio.Controls.Add(this.checkBoxShowVolumeLabel);
1.1081 - this.tabPageAudio.Controls.Add(this.checkBoxMute);
1.1082 - this.tabPageAudio.Controls.Add(this.trackBarMasterVolume);
1.1083 - this.tabPageAudio.Location = new System.Drawing.Point(4, 22);
1.1084 - this.tabPageAudio.Name = "tabPageAudio";
1.1085 - this.tabPageAudio.Padding = new System.Windows.Forms.Padding(3);
1.1086 - this.tabPageAudio.Size = new System.Drawing.Size(592, 242);
1.1087 - this.tabPageAudio.TabIndex = 5;
1.1088 - this.tabPageAudio.Text = "Audio";
1.1089 - this.tabPageAudio.UseVisualStyleBackColor = true;
1.1090 - //
1.1091 - // labelDefaultAudioDevice
1.1092 - //
1.1093 - this.labelDefaultAudioDevice.AutoSize = true;
1.1094 - this.labelDefaultAudioDevice.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1.1095 - this.labelDefaultAudioDevice.Location = new System.Drawing.Point(3, 6);
1.1096 - this.labelDefaultAudioDevice.Name = "labelDefaultAudioDevice";
1.1097 - this.labelDefaultAudioDevice.Size = new System.Drawing.Size(120, 13);
1.1098 - this.labelDefaultAudioDevice.TabIndex = 19;
1.1099 - this.labelDefaultAudioDevice.Text = "Audio Device Unknown";
1.1100 - //
1.1101 - // checkBoxShowVolumeLabel
1.1102 - //
1.1103 - this.checkBoxShowVolumeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1104 - this.checkBoxShowVolumeLabel.AutoSize = true;
1.1105 - this.checkBoxShowVolumeLabel.Location = new System.Drawing.Point(3, 196);
1.1106 - this.checkBoxShowVolumeLabel.Name = "checkBoxShowVolumeLabel";
1.1107 - this.checkBoxShowVolumeLabel.Size = new System.Drawing.Size(115, 17);
1.1108 - this.checkBoxShowVolumeLabel.TabIndex = 18;
1.1109 - this.checkBoxShowVolumeLabel.Text = "Show volume label";
1.1110 - this.checkBoxShowVolumeLabel.UseVisualStyleBackColor = true;
1.1111 - this.checkBoxShowVolumeLabel.CheckedChanged += new System.EventHandler(this.checkBoxShowVolumeLabel_CheckedChanged);
1.1112 - //
1.1113 - // checkBoxMute
1.1114 - //
1.1115 - this.checkBoxMute.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1116 - this.checkBoxMute.AutoSize = true;
1.1117 - this.checkBoxMute.Location = new System.Drawing.Point(3, 219);
1.1118 - this.checkBoxMute.Name = "checkBoxMute";
1.1119 - this.checkBoxMute.Size = new System.Drawing.Size(50, 17);
1.1120 - this.checkBoxMute.TabIndex = 17;
1.1121 - this.checkBoxMute.Text = "Mute";
1.1122 - this.checkBoxMute.UseVisualStyleBackColor = true;
1.1123 - this.checkBoxMute.CheckedChanged += new System.EventHandler(this.checkBoxMute_CheckedChanged);
1.1124 - //
1.1125 - // trackBarMasterVolume
1.1126 - //
1.1127 - this.trackBarMasterVolume.BackColor = System.Drawing.SystemColors.Window;
1.1128 - this.trackBarMasterVolume.Location = new System.Drawing.Point(541, 6);
1.1129 - this.trackBarMasterVolume.Maximum = 100;
1.1130 - this.trackBarMasterVolume.Name = "trackBarMasterVolume";
1.1131 - this.trackBarMasterVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
1.1132 - this.trackBarMasterVolume.Size = new System.Drawing.Size(45, 230);
1.1133 - this.trackBarMasterVolume.TabIndex = 0;
1.1134 - this.trackBarMasterVolume.TickFrequency = 10;
1.1135 - this.trackBarMasterVolume.TickStyle = System.Windows.Forms.TickStyle.Both;
1.1136 - this.toolTip.SetToolTip(this.trackBarMasterVolume, "Master Volume");
1.1137 - this.trackBarMasterVolume.Scroll += new System.EventHandler(this.trackBarMasterVolume_Scroll);
1.1138 - //
1.1139 - // tabPageInput
1.1140 - //
1.1141 - this.tabPageInput.Controls.Add(this.pictureBoxGreenStart);
1.1142 - this.tabPageInput.Controls.Add(this.labelStartFileName);
1.1143 - this.tabPageInput.Controls.Add(this.buttonSelectFile);
1.1144 - this.tabPageInput.Location = new System.Drawing.Point(4, 22);
1.1145 - this.tabPageInput.Name = "tabPageInput";
1.1146 - this.tabPageInput.Padding = new System.Windows.Forms.Padding(3);
1.1147 - this.tabPageInput.Size = new System.Drawing.Size(592, 242);
1.1148 - this.tabPageInput.TabIndex = 6;
1.1149 - this.tabPageInput.Text = "Input";
1.1150 - this.tabPageInput.UseVisualStyleBackColor = true;
1.1151 - //
1.1152 - // pictureBoxGreenStart
1.1153 - //
1.1154 - this.pictureBoxGreenStart.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxGreenStart.Image")));
1.1155 - this.pictureBoxGreenStart.Location = new System.Drawing.Point(3, 6);
1.1156 - this.pictureBoxGreenStart.Name = "pictureBoxGreenStart";
1.1157 - this.pictureBoxGreenStart.Size = new System.Drawing.Size(32, 32);
1.1158 - this.pictureBoxGreenStart.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
1.1159 - this.pictureBoxGreenStart.TabIndex = 2;
1.1160 - this.pictureBoxGreenStart.TabStop = false;
1.1161 - //
1.1162 - // labelStartFileName
1.1163 - //
1.1164 - this.labelStartFileName.AutoSize = true;
1.1165 - this.labelStartFileName.Location = new System.Drawing.Point(72, 16);
1.1166 - this.labelStartFileName.Name = "labelStartFileName";
1.1167 - this.labelStartFileName.Size = new System.Drawing.Size(33, 13);
1.1168 - this.labelStartFileName.TabIndex = 1;
1.1169 - this.labelStartFileName.Text = "None";
1.1170 - //
1.1171 - // buttonSelectFile
1.1172 - //
1.1173 - this.buttonSelectFile.Location = new System.Drawing.Point(41, 11);
1.1174 - this.buttonSelectFile.Name = "buttonSelectFile";
1.1175 - this.buttonSelectFile.Size = new System.Drawing.Size(25, 23);
1.1176 - this.buttonSelectFile.TabIndex = 0;
1.1177 - this.buttonSelectFile.Text = "...";
1.1178 - this.buttonSelectFile.UseVisualStyleBackColor = true;
1.1179 - this.buttonSelectFile.Click += new System.EventHandler(this.buttonSelectFile_Click);
1.1180 - //
1.1181 - // tabPageApp
1.1182 - //
1.1183 - this.tabPageApp.Controls.Add(this.checkBoxStartMinimized);
1.1184 - this.tabPageApp.Controls.Add(this.checkBoxMinimizeToTray);
1.1185 - this.tabPageApp.Controls.Add(this.checkBoxAutoStart);
1.1186 - this.tabPageApp.Controls.Add(this.buttonUpdate);
1.1187 - this.tabPageApp.Location = new System.Drawing.Point(4, 22);
1.1188 - this.tabPageApp.Name = "tabPageApp";
1.1189 - this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
1.1190 - this.tabPageApp.Size = new System.Drawing.Size(592, 242);
1.1191 - this.tabPageApp.TabIndex = 4;
1.1192 - this.tabPageApp.Text = "Application";
1.1193 - this.tabPageApp.UseVisualStyleBackColor = true;
1.1194 - //
1.1195 - // checkBoxStartMinimized
1.1196 - //
1.1197 - this.checkBoxStartMinimized.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1198 - this.checkBoxStartMinimized.AutoSize = true;
1.1199 - this.checkBoxStartMinimized.Location = new System.Drawing.Point(8, 144);
1.1200 - this.checkBoxStartMinimized.Name = "checkBoxStartMinimized";
1.1201 - this.checkBoxStartMinimized.Size = new System.Drawing.Size(96, 17);
1.1202 - this.checkBoxStartMinimized.TabIndex = 16;
1.1203 - this.checkBoxStartMinimized.Text = "Start minimized";
1.1204 - this.checkBoxStartMinimized.UseVisualStyleBackColor = true;
1.1205 - this.checkBoxStartMinimized.CheckedChanged += new System.EventHandler(this.checkBoxStartMinimized_CheckedChanged);
1.1206 - //
1.1207 - // checkBoxMinimizeToTray
1.1208 - //
1.1209 - this.checkBoxMinimizeToTray.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1210 - this.checkBoxMinimizeToTray.AutoSize = true;
1.1211 - this.checkBoxMinimizeToTray.Location = new System.Drawing.Point(8, 167);
1.1212 - this.checkBoxMinimizeToTray.Name = "checkBoxMinimizeToTray";
1.1213 - this.checkBoxMinimizeToTray.Size = new System.Drawing.Size(133, 17);
1.1214 - this.checkBoxMinimizeToTray.TabIndex = 15;
1.1215 - this.checkBoxMinimizeToTray.Text = "Minimize to system tray";
1.1216 - this.checkBoxMinimizeToTray.UseVisualStyleBackColor = true;
1.1217 - this.checkBoxMinimizeToTray.CheckedChanged += new System.EventHandler(this.checkBoxMinimizeToTray_CheckedChanged);
1.1218 - //
1.1219 - // checkBoxAutoStart
1.1220 - //
1.1221 - this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1222 - this.checkBoxAutoStart.AutoSize = true;
1.1223 - this.checkBoxAutoStart.Location = new System.Drawing.Point(8, 190);
1.1224 - this.checkBoxAutoStart.Name = "checkBoxAutoStart";
1.1225 - this.checkBoxAutoStart.Size = new System.Drawing.Size(143, 17);
1.1226 - this.checkBoxAutoStart.TabIndex = 14;
1.1227 - this.checkBoxAutoStart.Text = "Run on Windows startup";
1.1228 - this.checkBoxAutoStart.UseVisualStyleBackColor = true;
1.1229 - this.checkBoxAutoStart.CheckedChanged += new System.EventHandler(this.checkBoxAutoStart_CheckedChanged);
1.1230 - //
1.1231 - // buttonUpdate
1.1232 - //
1.1233 - this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
1.1234 - this.buttonUpdate.Name = "buttonUpdate";
1.1235 - this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
1.1236 - this.buttonUpdate.TabIndex = 0;
1.1237 - this.buttonUpdate.Text = "Update";
1.1238 - this.buttonUpdate.UseVisualStyleBackColor = true;
1.1239 - this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
1.1240 - //
1.1241 - // labelFontWidth
1.1242 - //
1.1243 - this.labelFontWidth.AutoSize = true;
1.1244 - this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
1.1245 - this.labelFontWidth.Name = "labelFontWidth";
1.1246 - this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
1.1247 - this.labelFontWidth.TabIndex = 19;
1.1248 - this.labelFontWidth.Text = "Font width";
1.1249 - //
1.1250 - // labelFontHeight
1.1251 - //
1.1252 - this.labelFontHeight.AutoSize = true;
1.1253 - this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
1.1254 - this.labelFontHeight.Name = "labelFontHeight";
1.1255 - this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
1.1256 - this.labelFontHeight.TabIndex = 20;
1.1257 - this.labelFontHeight.Text = "Font height";
1.1258 - //
1.1259 - // openFileDialog
1.1260 - //
1.1261 - this.openFileDialog.Filter = "EXE files (*.exe)|*.exe|All files (*.*)|*.*";
1.1262 - //
1.1263 - // pictureBoxDemo
1.1264 - //
1.1265 - this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
1.1266 - this.pictureBoxDemo.Name = "pictureBoxDemo";
1.1267 - this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
1.1268 - this.pictureBoxDemo.TabIndex = 21;
1.1269 - this.pictureBoxDemo.TabStop = false;
1.1270 - //
1.1271 - // MainForm
1.1272 - //
1.1273 - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.1274 - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.1275 - this.ClientSize = new System.Drawing.Size(624, 442);
1.1276 - this.Controls.Add(this.pictureBoxDemo);
1.1277 - this.Controls.Add(this.labelFontHeight);
1.1278 - this.Controls.Add(this.labelFontWidth);
1.1279 - this.Controls.Add(this.labelWarning);
1.1280 - this.Controls.Add(this.statusStrip);
1.1281 - this.Controls.Add(this.tabControl);
1.1282 - this.Controls.Add(this.panelDisplay);
1.1283 - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1.1284 - this.MinimumSize = new System.Drawing.Size(640, 480);
1.1285 - this.Name = "MainForm";
1.1286 - this.Text = "Sharp Display Manager";
1.1287 - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
1.1288 - this.Load += new System.EventHandler(this.MainForm_Load);
1.1289 - this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged);
1.1290 - this.Resize += new System.EventHandler(this.MainForm_Resize);
1.1291 - this.panelDisplay.ResumeLayout(false);
1.1292 - this.tableLayoutPanel.ResumeLayout(false);
1.1293 - this.tableLayoutPanel.PerformLayout();
1.1294 - this.statusStrip.ResumeLayout(false);
1.1295 - this.statusStrip.PerformLayout();
1.1296 - this.tabPageClients.ResumeLayout(false);
1.1297 - this.tabPageDisplay.ResumeLayout(false);
1.1298 - this.tabPageDisplay.PerformLayout();
1.1299 - ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
1.1300 - this.tabControl.ResumeLayout(false);
1.1301 - this.tabPageDesign.ResumeLayout(false);
1.1302 - this.tabPageDesign.PerformLayout();
1.1303 - this.tabPageAudio.ResumeLayout(false);
1.1304 - this.tabPageAudio.PerformLayout();
1.1305 - ((System.ComponentModel.ISupportInitialize)(this.trackBarMasterVolume)).EndInit();
1.1306 - this.tabPageInput.ResumeLayout(false);
1.1307 - this.tabPageInput.PerformLayout();
1.1308 - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).EndInit();
1.1309 - this.tabPageApp.ResumeLayout(false);
1.1310 - this.tabPageApp.PerformLayout();
1.1311 - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
1.1312 - this.ResumeLayout(false);
1.1313 - this.PerformLayout();
1.1314 + this.tabControl.Controls.Add(this.tabPageDisplay);
1.1315 + this.tabControl.Controls.Add(this.tabPageClients);
1.1316 + this.tabControl.Controls.Add(this.tabPageDesign);
1.1317 + this.tabControl.Controls.Add(this.tabPageAudio);
1.1318 + this.tabControl.Controls.Add(this.tabPageInput);
1.1319 + this.tabControl.Controls.Add(this.tabPageApp);
1.1320 + this.tabControl.Location = new System.Drawing.Point(12, 139);
1.1321 + this.tabControl.Name = "tabControl";
1.1322 + this.tabControl.SelectedIndex = 0;
1.1323 + this.tabControl.Size = new System.Drawing.Size(600, 268);
1.1324 + this.tabControl.TabIndex = 0;
1.1325 + //
1.1326 + // tabPageDesign
1.1327 + //
1.1328 + this.tabPageDesign.Controls.Add(this.labelScrollingSpeed);
1.1329 + this.tabPageDesign.Controls.Add(this.maskedTextBoxScrollingSpeed);
1.1330 + this.tabPageDesign.Controls.Add(this.labelScrollLoopSeparator);
1.1331 + this.tabPageDesign.Controls.Add(this.textBoxScrollLoopSeparator);
1.1332 + this.tabPageDesign.Controls.Add(this.labelMinFontSize);
1.1333 + this.tabPageDesign.Controls.Add(this.maskedTextBoxMinFontSize);
1.1334 + this.tabPageDesign.Controls.Add(this.checkBoxScaleToFit);
1.1335 + this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
1.1336 + this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
1.1337 + this.tabPageDesign.Controls.Add(this.buttonFont);
1.1338 + this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
1.1339 + this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
1.1340 + this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
1.1341 + this.tabPageDesign.Name = "tabPageDesign";
1.1342 + this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
1.1343 + this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
1.1344 + this.tabPageDesign.TabIndex = 3;
1.1345 + this.tabPageDesign.Text = "Design";
1.1346 + this.tabPageDesign.UseVisualStyleBackColor = true;
1.1347 + //
1.1348 + // labelScrollingSpeed
1.1349 + //
1.1350 + this.labelScrollingSpeed.AutoSize = true;
1.1351 + this.labelScrollingSpeed.Location = new System.Drawing.Point(84, 119);
1.1352 + this.labelScrollingSpeed.Name = "labelScrollingSpeed";
1.1353 + this.labelScrollingSpeed.Size = new System.Drawing.Size(115, 13);
1.1354 + this.labelScrollingSpeed.TabIndex = 28;
1.1355 + this.labelScrollingSpeed.Text = "Scrolling speed (px/s) :";
1.1356 + //
1.1357 + // maskedTextBoxScrollingSpeed
1.1358 + //
1.1359 + this.maskedTextBoxScrollingSpeed.Location = new System.Drawing.Point(205, 116);
1.1360 + this.maskedTextBoxScrollingSpeed.Mask = "000";
1.1361 + this.maskedTextBoxScrollingSpeed.Name = "maskedTextBoxScrollingSpeed";
1.1362 + this.maskedTextBoxScrollingSpeed.PromptChar = ' ';
1.1363 + this.maskedTextBoxScrollingSpeed.Size = new System.Drawing.Size(24, 20);
1.1364 + this.maskedTextBoxScrollingSpeed.TabIndex = 27;
1.1365 + this.maskedTextBoxScrollingSpeed.TextChanged += new System.EventHandler(this.maskedTextBoxScrollingSpeed_TextChanged);
1.1366 + //
1.1367 + // labelScrollLoopSeparator
1.1368 + //
1.1369 + this.labelScrollLoopSeparator.AutoSize = true;
1.1370 + this.labelScrollLoopSeparator.Location = new System.Drawing.Point(90, 145);
1.1371 + this.labelScrollLoopSeparator.Name = "labelScrollLoopSeparator";
1.1372 + this.labelScrollLoopSeparator.Size = new System.Drawing.Size(109, 13);
1.1373 + this.labelScrollLoopSeparator.TabIndex = 26;
1.1374 + this.labelScrollLoopSeparator.Text = "Scroll loop separator :";
1.1375 + //
1.1376 + // textBoxScrollLoopSeparator
1.1377 + //
1.1378 + this.textBoxScrollLoopSeparator.Location = new System.Drawing.Point(205, 142);
1.1379 + this.textBoxScrollLoopSeparator.Name = "textBoxScrollLoopSeparator";
1.1380 + this.textBoxScrollLoopSeparator.Size = new System.Drawing.Size(74, 20);
1.1381 + this.textBoxScrollLoopSeparator.TabIndex = 25;
1.1382 + this.textBoxScrollLoopSeparator.TextChanged += new System.EventHandler(this.textBoxScrollLoopSeparator_TextChanged);
1.1383 + //
1.1384 + // labelMinFontSize
1.1385 + //
1.1386 + this.labelMinFontSize.AutoSize = true;
1.1387 + this.labelMinFontSize.Location = new System.Drawing.Point(80, 194);
1.1388 + this.labelMinFontSize.Name = "labelMinFontSize";
1.1389 + this.labelMinFontSize.Size = new System.Drawing.Size(119, 13);
1.1390 + this.labelMinFontSize.TabIndex = 24;
1.1391 + this.labelMinFontSize.Text = "Minimum font size (pts) :";
1.1392 + //
1.1393 + // maskedTextBoxMinFontSize
1.1394 + //
1.1395 + this.maskedTextBoxMinFontSize.Location = new System.Drawing.Point(205, 191);
1.1396 + this.maskedTextBoxMinFontSize.Mask = "000";
1.1397 + this.maskedTextBoxMinFontSize.Name = "maskedTextBoxMinFontSize";
1.1398 + this.maskedTextBoxMinFontSize.PromptChar = ' ';
1.1399 + this.maskedTextBoxMinFontSize.Size = new System.Drawing.Size(24, 20);
1.1400 + this.maskedTextBoxMinFontSize.TabIndex = 23;
1.1401 + this.maskedTextBoxMinFontSize.TextChanged += new System.EventHandler(this.maskedTextBoxMinFontSize_TextChanged);
1.1402 + //
1.1403 + // checkBoxScaleToFit
1.1404 + //
1.1405 + this.checkBoxScaleToFit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1406 + this.checkBoxScaleToFit.AutoSize = true;
1.1407 + this.checkBoxScaleToFit.Location = new System.Drawing.Point(87, 168);
1.1408 + this.checkBoxScaleToFit.Name = "checkBoxScaleToFit";
1.1409 + this.checkBoxScaleToFit.Size = new System.Drawing.Size(201, 17);
1.1410 + this.checkBoxScaleToFit.TabIndex = 22;
1.1411 + this.checkBoxScaleToFit.Text = "Try scale font down to avoid scrolling";
1.1412 + this.checkBoxScaleToFit.UseVisualStyleBackColor = true;
1.1413 + this.checkBoxScaleToFit.CheckedChanged += new System.EventHandler(this.checkBoxScaleToFit_CheckedChanged);
1.1414 + //
1.1415 + // checkBoxInverseColors
1.1416 + //
1.1417 + this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.1418 + this.checkBoxInverseColors.AutoSize = true;
1.1419 + this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
1.1420 + this.checkBoxInverseColors.Name = "checkBoxInverseColors";
1.1421 + this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
1.1422 + this.checkBoxInverseColors.TabIndex = 21;
1.1423 + this.checkBoxInverseColors.Text = "Inverse colors";
1.1424 + this.checkBoxInverseColors.UseVisualStyleBackColor = true;
1.1425 + this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
1.1426 + //
1.1427 + // checkBoxReverseScreen
1.1428 + //
1.1429 + this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
1.1430 + this.checkBoxReverseScreen.AutoSize = true;
1.1431 + this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
1.1432 + this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
1.1433 + this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
1.1434 + this.checkBoxReverseScreen.TabIndex = 14;
1.1435 + this.checkBoxReverseScreen.Text = "Reverse screen";
1.1436 + this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
1.1437 + this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
1.1438 + //
1.1439 + // tabPageAudio
1.1440 + //
1.1441 + this.tabPageAudio.Controls.Add(this.labelDefaultAudioDevice);
1.1442 + this.tabPageAudio.Controls.Add(this.checkBoxShowVolumeLabel);
1.1443 + this.tabPageAudio.Controls.Add(this.checkBoxMute);
1.1444 + this.tabPageAudio.Controls.Add(this.trackBarMasterVolume);
1.1445 + this.tabPageAudio.Location = new System.Drawing.Point(4, 22);
1.1446 + this.tabPageAudio.Name = "tabPageAudio";
1.1447 + this.tabPageAudio.Padding = new System.Windows.Forms.Padding(3);
1.1448 + this.tabPageAudio.Size = new System.Drawing.Size(592, 242);
1.1449 + this.tabPageAudio.TabIndex = 5;
1.1450 + this.tabPageAudio.Text = "Audio";
1.1451 + this.tabPageAudio.UseVisualStyleBackColor = true;
1.1452 + //
1.1453 + // labelDefaultAudioDevice
1.1454 + //
1.1455 + this.labelDefaultAudioDevice.AutoSize = true;
1.1456 + this.labelDefaultAudioDevice.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1.1457 + this.labelDefaultAudioDevice.Location = new System.Drawing.Point(3, 6);
1.1458 + this.labelDefaultAudioDevice.Name = "labelDefaultAudioDevice";
1.1459 + this.labelDefaultAudioDevice.Size = new System.Drawing.Size(120, 13);
1.1460 + this.labelDefaultAudioDevice.TabIndex = 19;
1.1461 + this.labelDefaultAudioDevice.Text = "Audio Device Unknown";
1.1462 + //
1.1463 + // checkBoxShowVolumeLabel
1.1464 + //
1.1465 + this.checkBoxShowVolumeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1466 + this.checkBoxShowVolumeLabel.AutoSize = true;
1.1467 + this.checkBoxShowVolumeLabel.Location = new System.Drawing.Point(3, 196);
1.1468 + this.checkBoxShowVolumeLabel.Name = "checkBoxShowVolumeLabel";
1.1469 + this.checkBoxShowVolumeLabel.Size = new System.Drawing.Size(115, 17);
1.1470 + this.checkBoxShowVolumeLabel.TabIndex = 18;
1.1471 + this.checkBoxShowVolumeLabel.Text = "Show volume label";
1.1472 + this.checkBoxShowVolumeLabel.UseVisualStyleBackColor = true;
1.1473 + this.checkBoxShowVolumeLabel.CheckedChanged += new System.EventHandler(this.checkBoxShowVolumeLabel_CheckedChanged);
1.1474 + //
1.1475 + // checkBoxMute
1.1476 + //
1.1477 + this.checkBoxMute.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1478 + this.checkBoxMute.AutoSize = true;
1.1479 + this.checkBoxMute.Location = new System.Drawing.Point(3, 219);
1.1480 + this.checkBoxMute.Name = "checkBoxMute";
1.1481 + this.checkBoxMute.Size = new System.Drawing.Size(50, 17);
1.1482 + this.checkBoxMute.TabIndex = 17;
1.1483 + this.checkBoxMute.Text = "Mute";
1.1484 + this.checkBoxMute.UseVisualStyleBackColor = true;
1.1485 + this.checkBoxMute.CheckedChanged += new System.EventHandler(this.checkBoxMute_CheckedChanged);
1.1486 + //
1.1487 + // trackBarMasterVolume
1.1488 + //
1.1489 + this.trackBarMasterVolume.BackColor = System.Drawing.SystemColors.Window;
1.1490 + this.trackBarMasterVolume.Location = new System.Drawing.Point(541, 6);
1.1491 + this.trackBarMasterVolume.Maximum = 100;
1.1492 + this.trackBarMasterVolume.Name = "trackBarMasterVolume";
1.1493 + this.trackBarMasterVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
1.1494 + this.trackBarMasterVolume.Size = new System.Drawing.Size(45, 230);
1.1495 + this.trackBarMasterVolume.TabIndex = 0;
1.1496 + this.trackBarMasterVolume.TickFrequency = 10;
1.1497 + this.trackBarMasterVolume.TickStyle = System.Windows.Forms.TickStyle.Both;
1.1498 + this.toolTip.SetToolTip(this.trackBarMasterVolume, "Master Volume");
1.1499 + this.trackBarMasterVolume.Scroll += new System.EventHandler(this.trackBarMasterVolume_Scroll);
1.1500 + //
1.1501 + // tabPageInput
1.1502 + //
1.1503 + this.tabPageInput.Controls.Add(this.comboBoxOpticalDrives);
1.1504 + this.tabPageInput.Controls.Add(this.labelOpticalDriveEject);
1.1505 + this.tabPageInput.Controls.Add(this.pictureBoxGreenStart);
1.1506 + this.tabPageInput.Controls.Add(this.labelStartFileName);
1.1507 + this.tabPageInput.Controls.Add(this.buttonSelectFile);
1.1508 + this.tabPageInput.Location = new System.Drawing.Point(4, 22);
1.1509 + this.tabPageInput.Name = "tabPageInput";
1.1510 + this.tabPageInput.Padding = new System.Windows.Forms.Padding(3);
1.1511 + this.tabPageInput.Size = new System.Drawing.Size(592, 242);
1.1512 + this.tabPageInput.TabIndex = 6;
1.1513 + this.tabPageInput.Text = "Input";
1.1514 + this.tabPageInput.UseVisualStyleBackColor = true;
1.1515 + //
1.1516 + // pictureBoxGreenStart
1.1517 + //
1.1518 + this.pictureBoxGreenStart.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxGreenStart.Image")));
1.1519 + this.pictureBoxGreenStart.Location = new System.Drawing.Point(3, 6);
1.1520 + this.pictureBoxGreenStart.Name = "pictureBoxGreenStart";
1.1521 + this.pictureBoxGreenStart.Size = new System.Drawing.Size(32, 32);
1.1522 + this.pictureBoxGreenStart.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
1.1523 + this.pictureBoxGreenStart.TabIndex = 2;
1.1524 + this.pictureBoxGreenStart.TabStop = false;
1.1525 + //
1.1526 + // labelStartFileName
1.1527 + //
1.1528 + this.labelStartFileName.AutoSize = true;
1.1529 + this.labelStartFileName.Location = new System.Drawing.Point(72, 16);
1.1530 + this.labelStartFileName.Name = "labelStartFileName";
1.1531 + this.labelStartFileName.Size = new System.Drawing.Size(33, 13);
1.1532 + this.labelStartFileName.TabIndex = 1;
1.1533 + this.labelStartFileName.Text = "None";
1.1534 + //
1.1535 + // buttonSelectFile
1.1536 + //
1.1537 + this.buttonSelectFile.Location = new System.Drawing.Point(41, 11);
1.1538 + this.buttonSelectFile.Name = "buttonSelectFile";
1.1539 + this.buttonSelectFile.Size = new System.Drawing.Size(25, 23);
1.1540 + this.buttonSelectFile.TabIndex = 0;
1.1541 + this.buttonSelectFile.Text = "...";
1.1542 + this.buttonSelectFile.UseVisualStyleBackColor = true;
1.1543 + this.buttonSelectFile.Click += new System.EventHandler(this.buttonSelectFile_Click);
1.1544 + //
1.1545 + // tabPageApp
1.1546 + //
1.1547 + this.tabPageApp.Controls.Add(this.checkBoxStartMinimized);
1.1548 + this.tabPageApp.Controls.Add(this.checkBoxMinimizeToTray);
1.1549 + this.tabPageApp.Controls.Add(this.checkBoxAutoStart);
1.1550 + this.tabPageApp.Controls.Add(this.buttonUpdate);
1.1551 + this.tabPageApp.Location = new System.Drawing.Point(4, 22);
1.1552 + this.tabPageApp.Name = "tabPageApp";
1.1553 + this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
1.1554 + this.tabPageApp.Size = new System.Drawing.Size(592, 242);
1.1555 + this.tabPageApp.TabIndex = 4;
1.1556 + this.tabPageApp.Text = "Application";
1.1557 + this.tabPageApp.UseVisualStyleBackColor = true;
1.1558 + //
1.1559 + // checkBoxStartMinimized
1.1560 + //
1.1561 + this.checkBoxStartMinimized.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1562 + this.checkBoxStartMinimized.AutoSize = true;
1.1563 + this.checkBoxStartMinimized.Location = new System.Drawing.Point(8, 144);
1.1564 + this.checkBoxStartMinimized.Name = "checkBoxStartMinimized";
1.1565 + this.checkBoxStartMinimized.Size = new System.Drawing.Size(96, 17);
1.1566 + this.checkBoxStartMinimized.TabIndex = 16;
1.1567 + this.checkBoxStartMinimized.Text = "Start minimized";
1.1568 + this.checkBoxStartMinimized.UseVisualStyleBackColor = true;
1.1569 + this.checkBoxStartMinimized.CheckedChanged += new System.EventHandler(this.checkBoxStartMinimized_CheckedChanged);
1.1570 + //
1.1571 + // checkBoxMinimizeToTray
1.1572 + //
1.1573 + this.checkBoxMinimizeToTray.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1574 + this.checkBoxMinimizeToTray.AutoSize = true;
1.1575 + this.checkBoxMinimizeToTray.Location = new System.Drawing.Point(8, 167);
1.1576 + this.checkBoxMinimizeToTray.Name = "checkBoxMinimizeToTray";
1.1577 + this.checkBoxMinimizeToTray.Size = new System.Drawing.Size(133, 17);
1.1578 + this.checkBoxMinimizeToTray.TabIndex = 15;
1.1579 + this.checkBoxMinimizeToTray.Text = "Minimize to system tray";
1.1580 + this.checkBoxMinimizeToTray.UseVisualStyleBackColor = true;
1.1581 + this.checkBoxMinimizeToTray.CheckedChanged += new System.EventHandler(this.checkBoxMinimizeToTray_CheckedChanged);
1.1582 + //
1.1583 + // checkBoxAutoStart
1.1584 + //
1.1585 + this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
1.1586 + this.checkBoxAutoStart.AutoSize = true;
1.1587 + this.checkBoxAutoStart.Location = new System.Drawing.Point(8, 190);
1.1588 + this.checkBoxAutoStart.Name = "checkBoxAutoStart";
1.1589 + this.checkBoxAutoStart.Size = new System.Drawing.Size(143, 17);
1.1590 + this.checkBoxAutoStart.TabIndex = 14;
1.1591 + this.checkBoxAutoStart.Text = "Run on Windows startup";
1.1592 + this.checkBoxAutoStart.UseVisualStyleBackColor = true;
1.1593 + this.checkBoxAutoStart.CheckedChanged += new System.EventHandler(this.checkBoxAutoStart_CheckedChanged);
1.1594 + //
1.1595 + // buttonUpdate
1.1596 + //
1.1597 + this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
1.1598 + this.buttonUpdate.Name = "buttonUpdate";
1.1599 + this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
1.1600 + this.buttonUpdate.TabIndex = 0;
1.1601 + this.buttonUpdate.Text = "Update";
1.1602 + this.buttonUpdate.UseVisualStyleBackColor = true;
1.1603 + this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
1.1604 + //
1.1605 + // labelFontWidth
1.1606 + //
1.1607 + this.labelFontWidth.AutoSize = true;
1.1608 + this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
1.1609 + this.labelFontWidth.Name = "labelFontWidth";
1.1610 + this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
1.1611 + this.labelFontWidth.TabIndex = 19;
1.1612 + this.labelFontWidth.Text = "Font width";
1.1613 + //
1.1614 + // labelFontHeight
1.1615 + //
1.1616 + this.labelFontHeight.AutoSize = true;
1.1617 + this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
1.1618 + this.labelFontHeight.Name = "labelFontHeight";
1.1619 + this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
1.1620 + this.labelFontHeight.TabIndex = 20;
1.1621 + this.labelFontHeight.Text = "Font height";
1.1622 + //
1.1623 + // openFileDialog
1.1624 + //
1.1625 + this.openFileDialog.Filter = "EXE files (*.exe)|*.exe|All files (*.*)|*.*";
1.1626 + //
1.1627 + // pictureBoxDemo
1.1628 + //
1.1629 + this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
1.1630 + this.pictureBoxDemo.Name = "pictureBoxDemo";
1.1631 + this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
1.1632 + this.pictureBoxDemo.TabIndex = 21;
1.1633 + this.pictureBoxDemo.TabStop = false;
1.1634 + //
1.1635 + // labelOpticalDriveEject
1.1636 + //
1.1637 + this.labelOpticalDriveEject.AutoSize = true;
1.1638 + this.labelOpticalDriveEject.Location = new System.Drawing.Point(0, 56);
1.1639 + this.labelOpticalDriveEject.Name = "labelOpticalDriveEject";
1.1640 + this.labelOpticalDriveEject.Size = new System.Drawing.Size(107, 13);
1.1641 + this.labelOpticalDriveEject.TabIndex = 3;
1.1642 + this.labelOpticalDriveEject.Text = "Optical drive to eject:";
1.1643 + //
1.1644 + // comboBoxOpticalDrives
1.1645 + //
1.1646 + this.comboBoxOpticalDrives.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
1.1647 + this.comboBoxOpticalDrives.FormattingEnabled = true;
1.1648 + this.comboBoxOpticalDrives.Location = new System.Drawing.Point(113, 53);
1.1649 + this.comboBoxOpticalDrives.Name = "comboBoxOpticalDrives";
1.1650 + this.comboBoxOpticalDrives.Size = new System.Drawing.Size(44, 21);
1.1651 + this.comboBoxOpticalDrives.TabIndex = 18;
1.1652 + //
1.1653 + // MainForm
1.1654 + //
1.1655 + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.1656 + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.1657 + this.ClientSize = new System.Drawing.Size(624, 442);
1.1658 + this.Controls.Add(this.pictureBoxDemo);
1.1659 + this.Controls.Add(this.labelFontHeight);
1.1660 + this.Controls.Add(this.labelFontWidth);
1.1661 + this.Controls.Add(this.labelWarning);
1.1662 + this.Controls.Add(this.statusStrip);
1.1663 + this.Controls.Add(this.tabControl);
1.1664 + this.Controls.Add(this.panelDisplay);
1.1665 + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1.1666 + this.MinimumSize = new System.Drawing.Size(640, 480);
1.1667 + this.Name = "MainForm";
1.1668 + this.Text = "Sharp Display Manager";
1.1669 + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
1.1670 + this.Load += new System.EventHandler(this.MainForm_Load);
1.1671 + this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged);
1.1672 + this.Resize += new System.EventHandler(this.MainForm_Resize);
1.1673 + this.panelDisplay.ResumeLayout(false);
1.1674 + this.tableLayoutPanel.ResumeLayout(false);
1.1675 + this.tableLayoutPanel.PerformLayout();
1.1676 + this.statusStrip.ResumeLayout(false);
1.1677 + this.statusStrip.PerformLayout();
1.1678 + this.tabPageClients.ResumeLayout(false);
1.1679 + this.tabPageDisplay.ResumeLayout(false);
1.1680 + this.tabPageDisplay.PerformLayout();
1.1681 + ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
1.1682 + this.tabControl.ResumeLayout(false);
1.1683 + this.tabPageDesign.ResumeLayout(false);
1.1684 + this.tabPageDesign.PerformLayout();
1.1685 + this.tabPageAudio.ResumeLayout(false);
1.1686 + this.tabPageAudio.PerformLayout();
1.1687 + ((System.ComponentModel.ISupportInitialize)(this.trackBarMasterVolume)).EndInit();
1.1688 + this.tabPageInput.ResumeLayout(false);
1.1689 + this.tabPageInput.PerformLayout();
1.1690 + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxGreenStart)).EndInit();
1.1691 + this.tabPageApp.ResumeLayout(false);
1.1692 + this.tabPageApp.PerformLayout();
1.1693 + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
1.1694 + this.ResumeLayout(false);
1.1695 + this.PerformLayout();
1.1696
1.1697 }
1.1698
1.1699 @@ -946,6 +968,8 @@
1.1700 private System.Windows.Forms.OpenFileDialog openFileDialog;
1.1701 private System.Windows.Forms.Label labelStartFileName;
1.1702 private System.Windows.Forms.PictureBox pictureBoxGreenStart;
1.1703 + private System.Windows.Forms.ComboBox comboBoxOpticalDrives;
1.1704 + private System.Windows.Forms.Label labelOpticalDriveEject;
1.1705 }
1.1706 }
1.1707
2.1 --- a/Server/MainForm.Hid.cs Wed Sep 02 00:24:34 2015 +0200
2.2 +++ b/Server/MainForm.Hid.cs Wed Sep 02 12:54:07 2015 +0200
2.3 @@ -133,6 +133,13 @@
2.4 break;
2.5 }
2.6 }
2.7 +
2.8 + //Keep this for debug when only ThinkPad keyboard is available
2.9 + if (aHidEvent.UsagePage == (ushort)Hid.UsagePage.Consumer && aHidEvent.Usages[0] == (ushort)Hid.Usage.ConsumerControl.ThinkPadFullscreenMagnifier)
2.10 + {
2.11 + HandleEject();
2.12 + }
2.13 +
2.14 }
2.15 }
2.16
2.17 @@ -154,9 +161,9 @@
2.18 ///
2.19 /// </summary>
2.20 /// <returns></returns>
2.21 - private SafeFileHandle OpenVolume()
2.22 + private SafeFileHandle OpenVolume(string aDriveName)
2.23 {
2.24 - return Function.CreateFile("\\\\.\\E:",
2.25 + return Function.CreateFile("\\\\.\\" + aDriveName,
2.26 SharpLib.Win32.FileAccess.GENERIC_READ,
2.27 SharpLib.Win32.FileShare.FILE_SHARE_READ | SharpLib.Win32.FileShare.FILE_SHARE_WRITE,
2.28 IntPtr.Zero,
2.29 @@ -248,6 +255,22 @@
2.30 return Function.DeviceIoControl(aVolume, Const.IOCTL_STORAGE_EJECT_MEDIA, IntPtr.Zero, 0, IntPtr.Zero, 0, dwBytesReturned, ref overlapped);
2.31 }
2.32
2.33 + /// <summary>
2.34 + /// Not working.
2.35 + /// </summary>
2.36 + /// <param name="aVolume"></param>
2.37 + /// <returns></returns>
2.38 + private bool CloseTray(SafeFileHandle aVolume)
2.39 + {
2.40 + //Hope that's doing what I think it does
2.41 + IntPtr dwBytesReturned = new IntPtr();
2.42 + //Should not be needed but I'm not sure how to pass NULL in there.
2.43 + OVERLAPPED overlapped=new OVERLAPPED();
2.44 +
2.45 + return Function.DeviceIoControl(aVolume, Const.IOCTL_STORAGE_LOAD_MEDIA, IntPtr.Zero, 0, IntPtr.Zero, 0, dwBytesReturned, ref overlapped);
2.46 + }
2.47 +
2.48 +
2.49
2.50
2.51
2.52 @@ -256,7 +279,7 @@
2.53 /// </summary>
2.54 private void HandleEject()
2.55 {
2.56 - SafeFileHandle handle = OpenVolume();
2.57 + SafeFileHandle handle = OpenVolume(((MainForm)this).OpticalDriveToEject());
2.58 if (handle.IsInvalid)
2.59 {
2.60 return;
2.61 @@ -266,9 +289,16 @@
2.62 {
2.63 Debug.Write("Volume was dismounted.");
2.64
2.65 - if (PreventRemovalOfVolume(handle,false) && AutoEjectVolume(handle))
2.66 + if (PreventRemovalOfVolume(handle,false))
2.67 {
2.68 - Debug.Write("Media was Ejected");
2.69 + if (AutoEjectVolume(handle))
2.70 + {
2.71 + Debug.Write("Media was ejected");
2.72 + }
2.73 + //else if (CloseTray(handle))
2.74 + //{
2.75 + // Debug.Write("Media was loaded");
2.76 + //}
2.77 }
2.78 }
2.79 }
3.1 --- a/Server/MainForm.cs Wed Sep 02 00:24:34 2015 +0200
3.2 +++ b/Server/MainForm.cs Wed Sep 02 12:54:07 2015 +0200
3.3 @@ -126,6 +126,9 @@
3.4 //Populate device types
3.5 PopulateDeviceTypes();
3.6
3.7 + //Populate optical drives
3.8 + PopulateOpticalDrives();
3.9 +
3.10 //Initial status update
3.11 UpdateStatus();
3.12
3.13 @@ -484,6 +487,46 @@
3.14 }
3.15 }
3.16
3.17 + /// <summary>
3.18 + ///
3.19 + /// </summary>
3.20 + private void PopulateOpticalDrives()
3.21 + {
3.22 + //Reset our list of drives
3.23 + comboBoxOpticalDrives.Items.Clear();
3.24 +
3.25 + //Go through each drives on our system and collected the optical ones in our list
3.26 + DriveInfo[] allDrives = DriveInfo.GetDrives();
3.27 + foreach (DriveInfo d in allDrives)
3.28 + {
3.29 + Debug.WriteLine("Drive {0}", d.Name);
3.30 + Debug.WriteLine(" Drive type: {0}", d.DriveType);
3.31 +
3.32 + if (d.DriveType==DriveType.CDRom)
3.33 + {
3.34 + //This is an optical drive, add it now
3.35 + comboBoxOpticalDrives.Items.Add(d.Name.Substring(0,2));
3.36 + }
3.37 + }
3.38 +
3.39 + //Select current drive to eject
3.40 + if (comboBoxOpticalDrives.Items.Count>0)
3.41 + {
3.42 + comboBoxOpticalDrives.SelectedIndex = 0;
3.43 + }
3.44 + }
3.45 +
3.46 + /// <summary>
3.47 + ///
3.48 + /// </summary>
3.49 + /// <returns></returns>
3.50 + public string OpticalDriveToEject()
3.51 + {
3.52 + return comboBoxOpticalDrives.Items[comboBoxOpticalDrives.SelectedIndex].ToString();
3.53 + }
3.54 +
3.55 +
3.56 +
3.57 /// <summary>
3.58 ///
3.59 /// </summary>