Auto Start should work.
1 namespace SharpDisplayManager
6 /// Required designer variable.
8 private System.ComponentModel.IContainer components = null;
11 /// Clean up any resources being used.
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
16 if (disposing && (components != null))
20 base.Dispose(disposing);
23 #region Windows Form Designer generated code
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
29 private void InitializeComponent()
31 this.components = new System.ComponentModel.Container();
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
33 this.panelDisplay = new System.Windows.Forms.Panel();
34 this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
35 this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
36 this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
37 this.fontDialog = new System.Windows.Forms.FontDialog();
38 this.timer = new System.Windows.Forms.Timer(this.components);
39 this.statusStrip = new System.Windows.Forms.StatusStrip();
40 this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
41 this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
42 this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
43 this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
44 this.tabPageClients = new System.Windows.Forms.TabPage();
45 this.buttonCloseClients = new System.Windows.Forms.Button();
46 this.buttonStartClient = new System.Windows.Forms.Button();
47 this.treeViewClients = new System.Windows.Forms.TreeView();
48 this.tabPageDisplay = new System.Windows.Forms.TabPage();
49 this.buttonShowClock = new System.Windows.Forms.Button();
50 this.buttonHideClock = new System.Windows.Forms.Button();
51 this.buttonPowerOff = new System.Windows.Forms.Button();
52 this.buttonPowerOn = new System.Windows.Forms.Button();
53 this.labelTimerInterval = new System.Windows.Forms.Label();
54 this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
55 this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
56 this.buttonSuspend = new System.Windows.Forms.Button();
57 this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
58 this.trackBarBrightness = new System.Windows.Forms.TrackBar();
59 this.buttonFill = new System.Windows.Forms.Button();
60 this.buttonClear = new System.Windows.Forms.Button();
61 this.buttonClose = new System.Windows.Forms.Button();
62 this.buttonOpen = new System.Windows.Forms.Button();
63 this.buttonCapture = new System.Windows.Forms.Button();
64 this.labelWarning = new System.Windows.Forms.Label();
65 this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
66 this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
67 this.buttonFont = new System.Windows.Forms.Button();
68 this.tabControl = new System.Windows.Forms.TabControl();
69 this.tabPageDesign = new System.Windows.Forms.TabPage();
70 this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
71 this.buttonAlignRight = new System.Windows.Forms.Button();
72 this.buttonAlignCenter = new System.Windows.Forms.Button();
73 this.buttonAlignLeft = new System.Windows.Forms.Button();
74 this.buttonRemoveColumn = new System.Windows.Forms.Button();
75 this.buttonAddColumn = new System.Windows.Forms.Button();
76 this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
77 this.buttonRemoveRow = new System.Windows.Forms.Button();
78 this.buttonAddRow = new System.Windows.Forms.Button();
79 this.tabPageApp = new System.Windows.Forms.TabPage();
80 this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
81 this.buttonUpdate = new System.Windows.Forms.Button();
82 this.labelFontWidth = new System.Windows.Forms.Label();
83 this.labelFontHeight = new System.Windows.Forms.Label();
84 this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
85 this.panelDisplay.SuspendLayout();
86 this.tableLayoutPanel.SuspendLayout();
87 this.statusStrip.SuspendLayout();
88 this.tabPageClients.SuspendLayout();
89 this.tabPageDisplay.SuspendLayout();
90 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
91 this.tabControl.SuspendLayout();
92 this.tabPageDesign.SuspendLayout();
93 this.tabPageApp.SuspendLayout();
94 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
99 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
100 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
101 this.panelDisplay.Location = new System.Drawing.Point(173, 40);
102 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
103 this.panelDisplay.Name = "panelDisplay";
104 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
105 this.panelDisplay.TabIndex = 12;
109 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
110 | System.Windows.Forms.AnchorStyles.Left)
111 | System.Windows.Forms.AnchorStyles.Right)));
112 this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
113 this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
114 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
115 this.tableLayoutPanel.ColumnCount = 1;
116 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
117 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
118 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
119 this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
120 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
121 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
122 this.tableLayoutPanel.Name = "tableLayoutPanel";
123 this.tableLayoutPanel.RowCount = 2;
124 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
125 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
126 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
127 this.tableLayoutPanel.TabIndex = 5;
131 this.marqueeLabelTop.AutoEllipsis = true;
132 this.marqueeLabelTop.AutoSize = true;
133 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
134 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
135 this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
136 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
137 this.marqueeLabelTop.Name = "marqueeLabelTop";
138 this.marqueeLabelTop.OwnTimer = false;
139 this.marqueeLabelTop.PixelsPerSecond = 64;
140 this.marqueeLabelTop.Separator = "|";
141 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
142 this.marqueeLabelTop.TabIndex = 2;
143 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
144 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
145 this.marqueeLabelTop.UseCompatibleTextRendering = true;
147 // marqueeLabelBottom
149 this.marqueeLabelBottom.AutoEllipsis = true;
150 this.marqueeLabelBottom.AutoSize = true;
151 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
152 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
153 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
154 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
155 this.marqueeLabelBottom.OwnTimer = false;
156 this.marqueeLabelBottom.PixelsPerSecond = 64;
157 this.marqueeLabelBottom.Separator = "|";
158 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
159 this.marqueeLabelBottom.TabIndex = 3;
160 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
161 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
162 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
166 this.timer.Enabled = true;
167 this.timer.Interval = 50;
168 this.timer.Tick += new System.EventHandler(this.timer_Tick);
172 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
173 this.toolStripStatusLabelConnect,
174 this.toolStripStatusLabelSpring,
175 this.toolStripStatusLabelPower,
176 this.toolStripStatusLabelFps});
177 this.statusStrip.Location = new System.Drawing.Point(0, 420);
178 this.statusStrip.Name = "statusStrip";
179 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
180 this.statusStrip.Size = new System.Drawing.Size(624, 22);
181 this.statusStrip.TabIndex = 1;
182 this.statusStrip.Text = "statusStrip";
184 // toolStripStatusLabelConnect
186 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
187 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
188 this.toolStripStatusLabelConnect.Text = "Not connected";
190 // toolStripStatusLabelSpring
192 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
193 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
194 this.toolStripStatusLabelSpring.Spring = true;
196 // toolStripStatusLabelPower
198 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
199 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
200 this.toolStripStatusLabelPower.Text = "NA";
202 // toolStripStatusLabelFps
204 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
205 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
206 this.toolStripStatusLabelFps.Text = "FPS";
210 this.tabPageClients.Controls.Add(this.buttonCloseClients);
211 this.tabPageClients.Controls.Add(this.buttonStartClient);
212 this.tabPageClients.Controls.Add(this.treeViewClients);
213 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
214 this.tabPageClients.Name = "tabPageClients";
215 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
216 this.tabPageClients.Size = new System.Drawing.Size(592, 242);
217 this.tabPageClients.TabIndex = 2;
218 this.tabPageClients.Text = "Clients";
219 this.tabPageClients.UseVisualStyleBackColor = true;
221 // buttonCloseClients
223 this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
224 this.buttonCloseClients.Name = "buttonCloseClients";
225 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
226 this.buttonCloseClients.TabIndex = 20;
227 this.buttonCloseClients.Text = "Close Clients";
228 this.buttonCloseClients.UseVisualStyleBackColor = true;
229 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
233 this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
234 this.buttonStartClient.Name = "buttonStartClient";
235 this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
236 this.buttonStartClient.TabIndex = 19;
237 this.buttonStartClient.Text = "Start Client";
238 this.buttonStartClient.UseVisualStyleBackColor = true;
239 this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
243 this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
244 | System.Windows.Forms.AnchorStyles.Left)
245 | System.Windows.Forms.AnchorStyles.Right)));
246 this.treeViewClients.Location = new System.Drawing.Point(87, 6);
247 this.treeViewClients.Name = "treeViewClients";
248 this.treeViewClients.Size = new System.Drawing.Size(499, 233);
249 this.treeViewClients.TabIndex = 0;
250 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
254 this.tabPageDisplay.Controls.Add(this.buttonShowClock);
255 this.tabPageDisplay.Controls.Add(this.buttonHideClock);
256 this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
257 this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
258 this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
259 this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
260 this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
261 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
262 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
263 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
264 this.tabPageDisplay.Controls.Add(this.buttonFill);
265 this.tabPageDisplay.Controls.Add(this.buttonClear);
266 this.tabPageDisplay.Controls.Add(this.buttonClose);
267 this.tabPageDisplay.Controls.Add(this.buttonOpen);
268 this.tabPageDisplay.Controls.Add(this.buttonCapture);
269 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
270 this.tabPageDisplay.Name = "tabPageDisplay";
271 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
272 this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
273 this.tabPageDisplay.TabIndex = 0;
274 this.tabPageDisplay.Text = "Display";
275 this.tabPageDisplay.UseVisualStyleBackColor = true;
279 this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
280 this.buttonShowClock.Name = "buttonShowClock";
281 this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
282 this.buttonShowClock.TabIndex = 23;
283 this.buttonShowClock.Text = "Show Clock";
284 this.buttonShowClock.UseVisualStyleBackColor = true;
285 this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
289 this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
290 this.buttonHideClock.Name = "buttonHideClock";
291 this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
292 this.buttonHideClock.TabIndex = 22;
293 this.buttonHideClock.Text = "Hide Clock";
294 this.buttonHideClock.UseVisualStyleBackColor = true;
295 this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
299 this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
300 this.buttonPowerOff.Name = "buttonPowerOff";
301 this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
302 this.buttonPowerOff.TabIndex = 21;
303 this.buttonPowerOff.Text = "OFF";
304 this.buttonPowerOff.UseVisualStyleBackColor = true;
305 this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
309 this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
310 this.buttonPowerOn.Name = "buttonPowerOn";
311 this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
312 this.buttonPowerOn.TabIndex = 20;
313 this.buttonPowerOn.Text = "ON";
314 this.buttonPowerOn.UseVisualStyleBackColor = true;
315 this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
317 // labelTimerInterval
319 this.labelTimerInterval.AutoSize = true;
320 this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
321 this.labelTimerInterval.Name = "labelTimerInterval";
322 this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
323 this.labelTimerInterval.TabIndex = 19;
324 this.labelTimerInterval.Text = "Timer interval (ms) :";
326 // maskedTextBoxTimerInterval
328 this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
329 this.maskedTextBoxTimerInterval.Mask = "000";
330 this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
331 this.maskedTextBoxTimerInterval.PromptChar = ' ';
332 this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
333 this.maskedTextBoxTimerInterval.TabIndex = 18;
334 this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
336 // comboBoxDisplayType
338 this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
339 this.comboBoxDisplayType.FormattingEnabled = true;
340 this.comboBoxDisplayType.Items.AddRange(new object[] {
343 "Futaba GP1212A02A"});
344 this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
345 this.comboBoxDisplayType.Name = "comboBoxDisplayType";
346 this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
347 this.comboBoxDisplayType.TabIndex = 17;
348 this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
352 this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
353 this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
354 this.buttonSuspend.Name = "buttonSuspend";
355 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
356 this.buttonSuspend.TabIndex = 16;
357 this.buttonSuspend.Text = "Pause";
358 this.buttonSuspend.UseVisualStyleBackColor = true;
359 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
361 // checkBoxConnectOnStartup
363 this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
364 this.checkBoxConnectOnStartup.AutoSize = true;
365 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
366 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
367 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
368 this.checkBoxConnectOnStartup.TabIndex = 13;
369 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
370 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
371 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
373 // trackBarBrightness
375 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
376 | System.Windows.Forms.AnchorStyles.Right)));
377 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
378 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
379 this.trackBarBrightness.Name = "trackBarBrightness";
380 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
381 this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
382 this.trackBarBrightness.TabIndex = 10;
383 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
384 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
388 this.buttonFill.Location = new System.Drawing.Point(6, 93);
389 this.buttonFill.Name = "buttonFill";
390 this.buttonFill.Size = new System.Drawing.Size(75, 23);
391 this.buttonFill.TabIndex = 9;
392 this.buttonFill.Text = "Fill";
393 this.buttonFill.UseVisualStyleBackColor = true;
394 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
398 this.buttonClear.Location = new System.Drawing.Point(6, 64);
399 this.buttonClear.Name = "buttonClear";
400 this.buttonClear.Size = new System.Drawing.Size(75, 23);
401 this.buttonClear.TabIndex = 8;
402 this.buttonClear.Text = "Clear";
403 this.buttonClear.UseVisualStyleBackColor = true;
404 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
408 this.buttonClose.Location = new System.Drawing.Point(6, 35);
409 this.buttonClose.Name = "buttonClose";
410 this.buttonClose.Size = new System.Drawing.Size(75, 23);
411 this.buttonClose.TabIndex = 7;
412 this.buttonClose.Text = "Close";
413 this.buttonClose.UseVisualStyleBackColor = true;
414 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
418 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
419 this.buttonOpen.Name = "buttonOpen";
420 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
421 this.buttonOpen.TabIndex = 6;
422 this.buttonOpen.Text = "Open";
423 this.buttonOpen.UseVisualStyleBackColor = true;
424 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
428 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
429 this.buttonCapture.Location = new System.Drawing.Point(6, 213);
430 this.buttonCapture.Name = "buttonCapture";
431 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
432 this.buttonCapture.TabIndex = 5;
433 this.buttonCapture.Text = "Capture";
434 this.buttonCapture.UseVisualStyleBackColor = true;
435 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
439 this.labelWarning.AutoSize = true;
440 this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
441 this.labelWarning.ForeColor = System.Drawing.Color.Red;
442 this.labelWarning.Location = new System.Drawing.Point(9, 9);
443 this.labelWarning.Name = "labelWarning";
444 this.labelWarning.Size = new System.Drawing.Size(80, 16);
445 this.labelWarning.TabIndex = 18;
446 this.labelWarning.Text = "WARNING";
447 this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
448 this.labelWarning.Visible = false;
450 // checkBoxFixedPitchFontOnly
452 this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
453 this.checkBoxFixedPitchFontOnly.AutoSize = true;
454 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
455 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
456 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
457 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
458 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
459 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
461 // checkBoxShowBorders
463 this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
464 this.checkBoxShowBorders.AutoSize = true;
465 this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
466 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
467 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
468 this.checkBoxShowBorders.TabIndex = 11;
469 this.checkBoxShowBorders.Text = "Show borders";
470 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
471 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
475 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
476 this.buttonFont.Location = new System.Drawing.Point(6, 213);
477 this.buttonFont.Name = "buttonFont";
478 this.buttonFont.Size = new System.Drawing.Size(75, 23);
479 this.buttonFont.TabIndex = 0;
480 this.buttonFont.Text = "Select Font";
481 this.buttonFont.UseVisualStyleBackColor = true;
482 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
486 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
487 | System.Windows.Forms.AnchorStyles.Left)
488 | System.Windows.Forms.AnchorStyles.Right)));
489 this.tabControl.Controls.Add(this.tabPageDisplay);
490 this.tabControl.Controls.Add(this.tabPageClients);
491 this.tabControl.Controls.Add(this.tabPageDesign);
492 this.tabControl.Controls.Add(this.tabPageApp);
493 this.tabControl.Location = new System.Drawing.Point(12, 139);
494 this.tabControl.Name = "tabControl";
495 this.tabControl.SelectedIndex = 0;
496 this.tabControl.Size = new System.Drawing.Size(600, 268);
497 this.tabControl.TabIndex = 0;
501 this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
502 this.tabPageDesign.Controls.Add(this.buttonAlignRight);
503 this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
504 this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
505 this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
506 this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
507 this.tabPageDesign.Controls.Add(this.buttonAddColumn);
508 this.tabPageDesign.Controls.Add(this.buttonFont);
509 this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
510 this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
511 this.tabPageDesign.Controls.Add(this.buttonAddRow);
512 this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
513 this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
514 this.tabPageDesign.Name = "tabPageDesign";
515 this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
516 this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
517 this.tabPageDesign.TabIndex = 3;
518 this.tabPageDesign.Text = "Design";
519 this.tabPageDesign.UseVisualStyleBackColor = true;
521 // checkBoxInverseColors
523 this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
524 this.checkBoxInverseColors.AutoSize = true;
525 this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
526 this.checkBoxInverseColors.Name = "checkBoxInverseColors";
527 this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
528 this.checkBoxInverseColors.TabIndex = 21;
529 this.checkBoxInverseColors.Text = "Inverse colors";
530 this.checkBoxInverseColors.UseVisualStyleBackColor = true;
531 this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
535 this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
536 this.buttonAlignRight.Name = "buttonAlignRight";
537 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
538 this.buttonAlignRight.TabIndex = 20;
539 this.buttonAlignRight.Text = "Align Right";
540 this.buttonAlignRight.UseVisualStyleBackColor = true;
541 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
545 this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
546 this.buttonAlignCenter.Name = "buttonAlignCenter";
547 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
548 this.buttonAlignCenter.TabIndex = 19;
549 this.buttonAlignCenter.Text = "Align Center";
550 this.buttonAlignCenter.UseVisualStyleBackColor = true;
551 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
555 this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
556 this.buttonAlignLeft.Name = "buttonAlignLeft";
557 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
558 this.buttonAlignLeft.TabIndex = 18;
559 this.buttonAlignLeft.Text = "Align Left";
560 this.buttonAlignLeft.UseVisualStyleBackColor = true;
561 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
563 // buttonRemoveColumn
565 this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
566 this.buttonRemoveColumn.Name = "buttonRemoveColumn";
567 this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
568 this.buttonRemoveColumn.TabIndex = 3;
569 this.buttonRemoveColumn.Text = "Remove col.";
570 this.buttonRemoveColumn.UseVisualStyleBackColor = true;
571 this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
575 this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
576 this.buttonAddColumn.Name = "buttonAddColumn";
577 this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
578 this.buttonAddColumn.TabIndex = 2;
579 this.buttonAddColumn.Text = "Add column";
580 this.buttonAddColumn.UseVisualStyleBackColor = true;
581 this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
583 // checkBoxReverseScreen
585 this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
586 this.checkBoxReverseScreen.AutoSize = true;
587 this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
588 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
589 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
590 this.checkBoxReverseScreen.TabIndex = 14;
591 this.checkBoxReverseScreen.Text = "Reverse screen";
592 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
593 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
597 this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
598 this.buttonRemoveRow.Name = "buttonRemoveRow";
599 this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
600 this.buttonRemoveRow.TabIndex = 1;
601 this.buttonRemoveRow.Text = "Remove row";
602 this.buttonRemoveRow.UseVisualStyleBackColor = true;
603 this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
607 this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
608 this.buttonAddRow.Name = "buttonAddRow";
609 this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
610 this.buttonAddRow.TabIndex = 0;
611 this.buttonAddRow.Text = "Add row";
612 this.buttonAddRow.UseVisualStyleBackColor = true;
613 this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
617 this.tabPageApp.Controls.Add(this.checkBoxAutoStart);
618 this.tabPageApp.Controls.Add(this.buttonUpdate);
619 this.tabPageApp.Location = new System.Drawing.Point(4, 22);
620 this.tabPageApp.Name = "tabPageApp";
621 this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
622 this.tabPageApp.Size = new System.Drawing.Size(592, 242);
623 this.tabPageApp.TabIndex = 4;
624 this.tabPageApp.Text = "Application";
625 this.tabPageApp.UseVisualStyleBackColor = true;
629 this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
630 this.checkBoxAutoStart.AutoSize = true;
631 this.checkBoxAutoStart.Location = new System.Drawing.Point(8, 190);
632 this.checkBoxAutoStart.Name = "checkBoxAutoStart";
633 this.checkBoxAutoStart.Size = new System.Drawing.Size(73, 17);
634 this.checkBoxAutoStart.TabIndex = 14;
635 this.checkBoxAutoStart.Text = "Auto Start";
636 this.checkBoxAutoStart.UseVisualStyleBackColor = true;
637 this.checkBoxAutoStart.CheckedChanged += new System.EventHandler(this.checkBoxAutoStart_CheckedChanged);
641 this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
642 this.buttonUpdate.Name = "buttonUpdate";
643 this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
644 this.buttonUpdate.TabIndex = 0;
645 this.buttonUpdate.Text = "Update";
646 this.buttonUpdate.UseVisualStyleBackColor = true;
647 this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
651 this.labelFontWidth.AutoSize = true;
652 this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
653 this.labelFontWidth.Name = "labelFontWidth";
654 this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
655 this.labelFontWidth.TabIndex = 19;
656 this.labelFontWidth.Text = "Font width";
660 this.labelFontHeight.AutoSize = true;
661 this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
662 this.labelFontHeight.Name = "labelFontHeight";
663 this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
664 this.labelFontHeight.TabIndex = 20;
665 this.labelFontHeight.Text = "Font height";
669 this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
670 this.pictureBoxDemo.Name = "pictureBoxDemo";
671 this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
672 this.pictureBoxDemo.TabIndex = 21;
673 this.pictureBoxDemo.TabStop = false;
677 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
678 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
679 this.ClientSize = new System.Drawing.Size(624, 442);
680 this.Controls.Add(this.pictureBoxDemo);
681 this.Controls.Add(this.labelFontHeight);
682 this.Controls.Add(this.labelFontWidth);
683 this.Controls.Add(this.labelWarning);
684 this.Controls.Add(this.statusStrip);
685 this.Controls.Add(this.tabControl);
686 this.Controls.Add(this.panelDisplay);
687 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
688 this.MinimumSize = new System.Drawing.Size(640, 480);
689 this.Name = "MainForm";
690 this.Text = "Sharp Display Manager";
691 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
692 this.Load += new System.EventHandler(this.MainForm_Load);
693 this.Resize += new System.EventHandler(this.MainForm_Resize);
694 this.panelDisplay.ResumeLayout(false);
695 this.tableLayoutPanel.ResumeLayout(false);
696 this.tableLayoutPanel.PerformLayout();
697 this.statusStrip.ResumeLayout(false);
698 this.statusStrip.PerformLayout();
699 this.tabPageClients.ResumeLayout(false);
700 this.tabPageDisplay.ResumeLayout(false);
701 this.tabPageDisplay.PerformLayout();
702 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
703 this.tabControl.ResumeLayout(false);
704 this.tabPageDesign.ResumeLayout(false);
705 this.tabPageDesign.PerformLayout();
706 this.tabPageApp.ResumeLayout(false);
707 this.tabPageApp.PerformLayout();
708 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
709 this.ResumeLayout(false);
710 this.PerformLayout();
716 private System.Windows.Forms.FontDialog fontDialog;
717 private System.Windows.Forms.Timer timer;
718 private System.Windows.Forms.StatusStrip statusStrip;
719 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
720 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
721 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
722 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
723 private System.Windows.Forms.Panel panelDisplay;
724 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
725 private MarqueeLabel marqueeLabelTop;
726 private MarqueeLabel marqueeLabelBottom;
727 private System.Windows.Forms.TabPage tabPageClients;
728 private System.Windows.Forms.TreeView treeViewClients;
729 private System.Windows.Forms.TabPage tabPageDisplay;
730 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
731 private System.Windows.Forms.Button buttonSuspend;
732 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
733 private System.Windows.Forms.CheckBox checkBoxShowBorders;
734 private System.Windows.Forms.TrackBar trackBarBrightness;
735 private System.Windows.Forms.Button buttonFill;
736 private System.Windows.Forms.Button buttonClear;
737 private System.Windows.Forms.Button buttonClose;
738 private System.Windows.Forms.Button buttonOpen;
739 private System.Windows.Forms.Button buttonCapture;
740 private System.Windows.Forms.Button buttonFont;
741 private System.Windows.Forms.TabControl tabControl;
742 private System.Windows.Forms.Button buttonCloseClients;
743 private System.Windows.Forms.Button buttonStartClient;
744 private System.Windows.Forms.Label labelWarning;
745 private System.Windows.Forms.TabPage tabPageDesign;
746 private System.Windows.Forms.Button buttonRemoveColumn;
747 private System.Windows.Forms.Button buttonAddColumn;
748 private System.Windows.Forms.Button buttonRemoveRow;
749 private System.Windows.Forms.Button buttonAddRow;
750 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
751 private System.Windows.Forms.Button buttonAlignRight;
752 private System.Windows.Forms.Button buttonAlignCenter;
753 private System.Windows.Forms.Button buttonAlignLeft;
754 private System.Windows.Forms.ComboBox comboBoxDisplayType;
755 private System.Windows.Forms.MaskedTextBox maskedTextBoxTimerInterval;
756 private System.Windows.Forms.Label labelTimerInterval;
757 private System.Windows.Forms.Button buttonPowerOff;
758 private System.Windows.Forms.Button buttonPowerOn;
759 private System.Windows.Forms.Button buttonShowClock;
760 private System.Windows.Forms.Button buttonHideClock;
761 private System.Windows.Forms.Label labelFontWidth;
762 private System.Windows.Forms.Label labelFontHeight;
763 private System.Windows.Forms.CheckBox checkBoxInverseColors;
764 private System.Windows.Forms.PictureBox pictureBoxDemo;
765 private System.Windows.Forms.TabPage tabPageApp;
766 private System.Windows.Forms.Button buttonUpdate;
767 private System.Windows.Forms.CheckBox checkBoxAutoStart;