Clear the screen on startup if not in debug mode.
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.checkBoxStartMinimized = new System.Windows.Forms.CheckBox();
81 this.checkBoxMinimizeToTray = new System.Windows.Forms.CheckBox();
82 this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
83 this.buttonUpdate = new System.Windows.Forms.Button();
84 this.labelFontWidth = new System.Windows.Forms.Label();
85 this.labelFontHeight = new System.Windows.Forms.Label();
86 this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
87 this.panelDisplay.SuspendLayout();
88 this.tableLayoutPanel.SuspendLayout();
89 this.statusStrip.SuspendLayout();
90 this.tabPageClients.SuspendLayout();
91 this.tabPageDisplay.SuspendLayout();
92 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
93 this.tabControl.SuspendLayout();
94 this.tabPageDesign.SuspendLayout();
95 this.tabPageApp.SuspendLayout();
96 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
101 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
102 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
103 this.panelDisplay.Location = new System.Drawing.Point(173, 40);
104 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
105 this.panelDisplay.Name = "panelDisplay";
106 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
107 this.panelDisplay.TabIndex = 12;
111 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
112 | System.Windows.Forms.AnchorStyles.Left)
113 | System.Windows.Forms.AnchorStyles.Right)));
114 this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
115 this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
116 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
117 this.tableLayoutPanel.ColumnCount = 1;
118 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
119 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
120 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
121 this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
122 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
123 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
124 this.tableLayoutPanel.Name = "tableLayoutPanel";
125 this.tableLayoutPanel.RowCount = 2;
126 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
127 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
128 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
129 this.tableLayoutPanel.TabIndex = 5;
133 this.marqueeLabelTop.AutoEllipsis = true;
134 this.marqueeLabelTop.AutoSize = true;
135 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
136 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
137 this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
138 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
139 this.marqueeLabelTop.Name = "marqueeLabelTop";
140 this.marqueeLabelTop.OwnTimer = false;
141 this.marqueeLabelTop.PixelsPerSecond = 64;
142 this.marqueeLabelTop.Separator = "|";
143 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
144 this.marqueeLabelTop.TabIndex = 2;
145 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
146 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
147 this.marqueeLabelTop.UseCompatibleTextRendering = true;
149 // marqueeLabelBottom
151 this.marqueeLabelBottom.AutoEllipsis = true;
152 this.marqueeLabelBottom.AutoSize = true;
153 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
154 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
155 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
156 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
157 this.marqueeLabelBottom.OwnTimer = false;
158 this.marqueeLabelBottom.PixelsPerSecond = 64;
159 this.marqueeLabelBottom.Separator = "|";
160 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
161 this.marqueeLabelBottom.TabIndex = 3;
162 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
163 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
164 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
168 this.timer.Enabled = true;
169 this.timer.Interval = 50;
170 this.timer.Tick += new System.EventHandler(this.timer_Tick);
174 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
175 this.toolStripStatusLabelConnect,
176 this.toolStripStatusLabelSpring,
177 this.toolStripStatusLabelPower,
178 this.toolStripStatusLabelFps});
179 this.statusStrip.Location = new System.Drawing.Point(0, 420);
180 this.statusStrip.Name = "statusStrip";
181 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
182 this.statusStrip.Size = new System.Drawing.Size(624, 22);
183 this.statusStrip.TabIndex = 1;
184 this.statusStrip.Text = "statusStrip";
186 // toolStripStatusLabelConnect
188 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
189 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
190 this.toolStripStatusLabelConnect.Text = "Not connected";
192 // toolStripStatusLabelSpring
194 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
195 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
196 this.toolStripStatusLabelSpring.Spring = true;
198 // toolStripStatusLabelPower
200 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
201 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
202 this.toolStripStatusLabelPower.Text = "NA";
204 // toolStripStatusLabelFps
206 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
207 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
208 this.toolStripStatusLabelFps.Text = "FPS";
212 this.tabPageClients.Controls.Add(this.buttonCloseClients);
213 this.tabPageClients.Controls.Add(this.buttonStartClient);
214 this.tabPageClients.Controls.Add(this.treeViewClients);
215 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
216 this.tabPageClients.Name = "tabPageClients";
217 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
218 this.tabPageClients.Size = new System.Drawing.Size(592, 242);
219 this.tabPageClients.TabIndex = 2;
220 this.tabPageClients.Text = "Clients";
221 this.tabPageClients.UseVisualStyleBackColor = true;
223 // buttonCloseClients
225 this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
226 this.buttonCloseClients.Name = "buttonCloseClients";
227 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
228 this.buttonCloseClients.TabIndex = 20;
229 this.buttonCloseClients.Text = "Close Clients";
230 this.buttonCloseClients.UseVisualStyleBackColor = true;
231 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
235 this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
236 this.buttonStartClient.Name = "buttonStartClient";
237 this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
238 this.buttonStartClient.TabIndex = 19;
239 this.buttonStartClient.Text = "Start Client";
240 this.buttonStartClient.UseVisualStyleBackColor = true;
241 this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
245 this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
246 | System.Windows.Forms.AnchorStyles.Left)
247 | System.Windows.Forms.AnchorStyles.Right)));
248 this.treeViewClients.Location = new System.Drawing.Point(87, 6);
249 this.treeViewClients.Name = "treeViewClients";
250 this.treeViewClients.Size = new System.Drawing.Size(499, 233);
251 this.treeViewClients.TabIndex = 0;
252 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
256 this.tabPageDisplay.Controls.Add(this.buttonShowClock);
257 this.tabPageDisplay.Controls.Add(this.buttonHideClock);
258 this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
259 this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
260 this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
261 this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
262 this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
263 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
264 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
265 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
266 this.tabPageDisplay.Controls.Add(this.buttonFill);
267 this.tabPageDisplay.Controls.Add(this.buttonClear);
268 this.tabPageDisplay.Controls.Add(this.buttonClose);
269 this.tabPageDisplay.Controls.Add(this.buttonOpen);
270 this.tabPageDisplay.Controls.Add(this.buttonCapture);
271 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
272 this.tabPageDisplay.Name = "tabPageDisplay";
273 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
274 this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
275 this.tabPageDisplay.TabIndex = 0;
276 this.tabPageDisplay.Text = "Display";
277 this.tabPageDisplay.UseVisualStyleBackColor = true;
281 this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
282 this.buttonShowClock.Name = "buttonShowClock";
283 this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
284 this.buttonShowClock.TabIndex = 23;
285 this.buttonShowClock.Text = "Show Clock";
286 this.buttonShowClock.UseVisualStyleBackColor = true;
287 this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
291 this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
292 this.buttonHideClock.Name = "buttonHideClock";
293 this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
294 this.buttonHideClock.TabIndex = 22;
295 this.buttonHideClock.Text = "Hide Clock";
296 this.buttonHideClock.UseVisualStyleBackColor = true;
297 this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
301 this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
302 this.buttonPowerOff.Name = "buttonPowerOff";
303 this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
304 this.buttonPowerOff.TabIndex = 21;
305 this.buttonPowerOff.Text = "OFF";
306 this.buttonPowerOff.UseVisualStyleBackColor = true;
307 this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
311 this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
312 this.buttonPowerOn.Name = "buttonPowerOn";
313 this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
314 this.buttonPowerOn.TabIndex = 20;
315 this.buttonPowerOn.Text = "ON";
316 this.buttonPowerOn.UseVisualStyleBackColor = true;
317 this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
319 // labelTimerInterval
321 this.labelTimerInterval.AutoSize = true;
322 this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
323 this.labelTimerInterval.Name = "labelTimerInterval";
324 this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
325 this.labelTimerInterval.TabIndex = 19;
326 this.labelTimerInterval.Text = "Timer interval (ms) :";
328 // maskedTextBoxTimerInterval
330 this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
331 this.maskedTextBoxTimerInterval.Mask = "000";
332 this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
333 this.maskedTextBoxTimerInterval.PromptChar = ' ';
334 this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
335 this.maskedTextBoxTimerInterval.TabIndex = 18;
336 this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
338 // comboBoxDisplayType
340 this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
341 this.comboBoxDisplayType.FormattingEnabled = true;
342 this.comboBoxDisplayType.Items.AddRange(new object[] {
345 "Futaba GP1212A02A"});
346 this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
347 this.comboBoxDisplayType.Name = "comboBoxDisplayType";
348 this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
349 this.comboBoxDisplayType.TabIndex = 17;
350 this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
354 this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
355 this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
356 this.buttonSuspend.Name = "buttonSuspend";
357 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
358 this.buttonSuspend.TabIndex = 16;
359 this.buttonSuspend.Text = "Pause";
360 this.buttonSuspend.UseVisualStyleBackColor = true;
361 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
363 // checkBoxConnectOnStartup
365 this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
366 this.checkBoxConnectOnStartup.AutoSize = true;
367 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
368 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
369 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
370 this.checkBoxConnectOnStartup.TabIndex = 13;
371 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
372 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
373 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
375 // trackBarBrightness
377 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
378 | System.Windows.Forms.AnchorStyles.Right)));
379 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
380 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
381 this.trackBarBrightness.Name = "trackBarBrightness";
382 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
383 this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
384 this.trackBarBrightness.TabIndex = 10;
385 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
386 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
390 this.buttonFill.Location = new System.Drawing.Point(6, 93);
391 this.buttonFill.Name = "buttonFill";
392 this.buttonFill.Size = new System.Drawing.Size(75, 23);
393 this.buttonFill.TabIndex = 9;
394 this.buttonFill.Text = "Fill";
395 this.buttonFill.UseVisualStyleBackColor = true;
396 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
400 this.buttonClear.Location = new System.Drawing.Point(6, 64);
401 this.buttonClear.Name = "buttonClear";
402 this.buttonClear.Size = new System.Drawing.Size(75, 23);
403 this.buttonClear.TabIndex = 8;
404 this.buttonClear.Text = "Clear";
405 this.buttonClear.UseVisualStyleBackColor = true;
406 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
410 this.buttonClose.Location = new System.Drawing.Point(6, 35);
411 this.buttonClose.Name = "buttonClose";
412 this.buttonClose.Size = new System.Drawing.Size(75, 23);
413 this.buttonClose.TabIndex = 7;
414 this.buttonClose.Text = "Close";
415 this.buttonClose.UseVisualStyleBackColor = true;
416 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
420 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
421 this.buttonOpen.Name = "buttonOpen";
422 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
423 this.buttonOpen.TabIndex = 6;
424 this.buttonOpen.Text = "Open";
425 this.buttonOpen.UseVisualStyleBackColor = true;
426 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
430 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
431 this.buttonCapture.Location = new System.Drawing.Point(6, 213);
432 this.buttonCapture.Name = "buttonCapture";
433 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
434 this.buttonCapture.TabIndex = 5;
435 this.buttonCapture.Text = "Capture";
436 this.buttonCapture.UseVisualStyleBackColor = true;
437 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
441 this.labelWarning.AutoSize = true;
442 this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
443 this.labelWarning.ForeColor = System.Drawing.Color.Red;
444 this.labelWarning.Location = new System.Drawing.Point(9, 9);
445 this.labelWarning.Name = "labelWarning";
446 this.labelWarning.Size = new System.Drawing.Size(80, 16);
447 this.labelWarning.TabIndex = 18;
448 this.labelWarning.Text = "WARNING";
449 this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
450 this.labelWarning.Visible = false;
452 // checkBoxFixedPitchFontOnly
454 this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
455 this.checkBoxFixedPitchFontOnly.AutoSize = true;
456 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
457 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
458 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
459 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
460 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
461 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
463 // checkBoxShowBorders
465 this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
466 this.checkBoxShowBorders.AutoSize = true;
467 this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
468 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
469 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
470 this.checkBoxShowBorders.TabIndex = 11;
471 this.checkBoxShowBorders.Text = "Show borders";
472 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
473 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
477 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
478 this.buttonFont.Location = new System.Drawing.Point(6, 213);
479 this.buttonFont.Name = "buttonFont";
480 this.buttonFont.Size = new System.Drawing.Size(75, 23);
481 this.buttonFont.TabIndex = 0;
482 this.buttonFont.Text = "Select Font";
483 this.buttonFont.UseVisualStyleBackColor = true;
484 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
488 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
489 | System.Windows.Forms.AnchorStyles.Left)
490 | System.Windows.Forms.AnchorStyles.Right)));
491 this.tabControl.Controls.Add(this.tabPageDisplay);
492 this.tabControl.Controls.Add(this.tabPageClients);
493 this.tabControl.Controls.Add(this.tabPageDesign);
494 this.tabControl.Controls.Add(this.tabPageApp);
495 this.tabControl.Location = new System.Drawing.Point(12, 139);
496 this.tabControl.Name = "tabControl";
497 this.tabControl.SelectedIndex = 0;
498 this.tabControl.Size = new System.Drawing.Size(600, 268);
499 this.tabControl.TabIndex = 0;
503 this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
504 this.tabPageDesign.Controls.Add(this.buttonAlignRight);
505 this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
506 this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
507 this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
508 this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
509 this.tabPageDesign.Controls.Add(this.buttonAddColumn);
510 this.tabPageDesign.Controls.Add(this.buttonFont);
511 this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
512 this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
513 this.tabPageDesign.Controls.Add(this.buttonAddRow);
514 this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
515 this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
516 this.tabPageDesign.Name = "tabPageDesign";
517 this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
518 this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
519 this.tabPageDesign.TabIndex = 3;
520 this.tabPageDesign.Text = "Design";
521 this.tabPageDesign.UseVisualStyleBackColor = true;
523 // checkBoxInverseColors
525 this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
526 this.checkBoxInverseColors.AutoSize = true;
527 this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
528 this.checkBoxInverseColors.Name = "checkBoxInverseColors";
529 this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
530 this.checkBoxInverseColors.TabIndex = 21;
531 this.checkBoxInverseColors.Text = "Inverse colors";
532 this.checkBoxInverseColors.UseVisualStyleBackColor = true;
533 this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
537 this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
538 this.buttonAlignRight.Name = "buttonAlignRight";
539 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
540 this.buttonAlignRight.TabIndex = 20;
541 this.buttonAlignRight.Text = "Align Right";
542 this.buttonAlignRight.UseVisualStyleBackColor = true;
543 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
547 this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
548 this.buttonAlignCenter.Name = "buttonAlignCenter";
549 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
550 this.buttonAlignCenter.TabIndex = 19;
551 this.buttonAlignCenter.Text = "Align Center";
552 this.buttonAlignCenter.UseVisualStyleBackColor = true;
553 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
557 this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
558 this.buttonAlignLeft.Name = "buttonAlignLeft";
559 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
560 this.buttonAlignLeft.TabIndex = 18;
561 this.buttonAlignLeft.Text = "Align Left";
562 this.buttonAlignLeft.UseVisualStyleBackColor = true;
563 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
565 // buttonRemoveColumn
567 this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
568 this.buttonRemoveColumn.Name = "buttonRemoveColumn";
569 this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
570 this.buttonRemoveColumn.TabIndex = 3;
571 this.buttonRemoveColumn.Text = "Remove col.";
572 this.buttonRemoveColumn.UseVisualStyleBackColor = true;
573 this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
577 this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
578 this.buttonAddColumn.Name = "buttonAddColumn";
579 this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
580 this.buttonAddColumn.TabIndex = 2;
581 this.buttonAddColumn.Text = "Add column";
582 this.buttonAddColumn.UseVisualStyleBackColor = true;
583 this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
585 // checkBoxReverseScreen
587 this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
588 this.checkBoxReverseScreen.AutoSize = true;
589 this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
590 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
591 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
592 this.checkBoxReverseScreen.TabIndex = 14;
593 this.checkBoxReverseScreen.Text = "Reverse screen";
594 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
595 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
599 this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
600 this.buttonRemoveRow.Name = "buttonRemoveRow";
601 this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
602 this.buttonRemoveRow.TabIndex = 1;
603 this.buttonRemoveRow.Text = "Remove row";
604 this.buttonRemoveRow.UseVisualStyleBackColor = true;
605 this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
609 this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
610 this.buttonAddRow.Name = "buttonAddRow";
611 this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
612 this.buttonAddRow.TabIndex = 0;
613 this.buttonAddRow.Text = "Add row";
614 this.buttonAddRow.UseVisualStyleBackColor = true;
615 this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
619 this.tabPageApp.Controls.Add(this.checkBoxStartMinimized);
620 this.tabPageApp.Controls.Add(this.checkBoxMinimizeToTray);
621 this.tabPageApp.Controls.Add(this.checkBoxAutoStart);
622 this.tabPageApp.Controls.Add(this.buttonUpdate);
623 this.tabPageApp.Location = new System.Drawing.Point(4, 22);
624 this.tabPageApp.Name = "tabPageApp";
625 this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
626 this.tabPageApp.Size = new System.Drawing.Size(592, 242);
627 this.tabPageApp.TabIndex = 4;
628 this.tabPageApp.Text = "Application";
629 this.tabPageApp.UseVisualStyleBackColor = true;
631 // checkBoxStartMinimized
633 this.checkBoxStartMinimized.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
634 this.checkBoxStartMinimized.AutoSize = true;
635 this.checkBoxStartMinimized.Location = new System.Drawing.Point(8, 144);
636 this.checkBoxStartMinimized.Name = "checkBoxStartMinimized";
637 this.checkBoxStartMinimized.Size = new System.Drawing.Size(96, 17);
638 this.checkBoxStartMinimized.TabIndex = 16;
639 this.checkBoxStartMinimized.Text = "Start minimized";
640 this.checkBoxStartMinimized.UseVisualStyleBackColor = true;
641 this.checkBoxStartMinimized.CheckedChanged += new System.EventHandler(this.checkBoxStartMinimized_CheckedChanged);
643 // checkBoxMinimizeToTray
645 this.checkBoxMinimizeToTray.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
646 this.checkBoxMinimizeToTray.AutoSize = true;
647 this.checkBoxMinimizeToTray.Location = new System.Drawing.Point(8, 167);
648 this.checkBoxMinimizeToTray.Name = "checkBoxMinimizeToTray";
649 this.checkBoxMinimizeToTray.Size = new System.Drawing.Size(133, 17);
650 this.checkBoxMinimizeToTray.TabIndex = 15;
651 this.checkBoxMinimizeToTray.Text = "Minimize to system tray";
652 this.checkBoxMinimizeToTray.UseVisualStyleBackColor = true;
653 this.checkBoxMinimizeToTray.CheckedChanged += new System.EventHandler(this.checkBoxMinimizeToTray_CheckedChanged);
657 this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
658 this.checkBoxAutoStart.AutoSize = true;
659 this.checkBoxAutoStart.Location = new System.Drawing.Point(8, 190);
660 this.checkBoxAutoStart.Name = "checkBoxAutoStart";
661 this.checkBoxAutoStart.Size = new System.Drawing.Size(143, 17);
662 this.checkBoxAutoStart.TabIndex = 14;
663 this.checkBoxAutoStart.Text = "Run on Windows startup";
664 this.checkBoxAutoStart.UseVisualStyleBackColor = true;
665 this.checkBoxAutoStart.CheckedChanged += new System.EventHandler(this.checkBoxAutoStart_CheckedChanged);
669 this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
670 this.buttonUpdate.Name = "buttonUpdate";
671 this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
672 this.buttonUpdate.TabIndex = 0;
673 this.buttonUpdate.Text = "Update";
674 this.buttonUpdate.UseVisualStyleBackColor = true;
675 this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
679 this.labelFontWidth.AutoSize = true;
680 this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
681 this.labelFontWidth.Name = "labelFontWidth";
682 this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
683 this.labelFontWidth.TabIndex = 19;
684 this.labelFontWidth.Text = "Font width";
688 this.labelFontHeight.AutoSize = true;
689 this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
690 this.labelFontHeight.Name = "labelFontHeight";
691 this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
692 this.labelFontHeight.TabIndex = 20;
693 this.labelFontHeight.Text = "Font height";
697 this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
698 this.pictureBoxDemo.Name = "pictureBoxDemo";
699 this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
700 this.pictureBoxDemo.TabIndex = 21;
701 this.pictureBoxDemo.TabStop = false;
705 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
706 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
707 this.ClientSize = new System.Drawing.Size(624, 442);
708 this.Controls.Add(this.pictureBoxDemo);
709 this.Controls.Add(this.labelFontHeight);
710 this.Controls.Add(this.labelFontWidth);
711 this.Controls.Add(this.labelWarning);
712 this.Controls.Add(this.statusStrip);
713 this.Controls.Add(this.tabControl);
714 this.Controls.Add(this.panelDisplay);
715 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
716 this.MinimumSize = new System.Drawing.Size(640, 480);
717 this.Name = "MainForm";
718 this.Text = "Sharp Display Manager";
719 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
720 this.Load += new System.EventHandler(this.MainForm_Load);
721 this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged);
722 this.Resize += new System.EventHandler(this.MainForm_Resize);
723 this.panelDisplay.ResumeLayout(false);
724 this.tableLayoutPanel.ResumeLayout(false);
725 this.tableLayoutPanel.PerformLayout();
726 this.statusStrip.ResumeLayout(false);
727 this.statusStrip.PerformLayout();
728 this.tabPageClients.ResumeLayout(false);
729 this.tabPageDisplay.ResumeLayout(false);
730 this.tabPageDisplay.PerformLayout();
731 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
732 this.tabControl.ResumeLayout(false);
733 this.tabPageDesign.ResumeLayout(false);
734 this.tabPageDesign.PerformLayout();
735 this.tabPageApp.ResumeLayout(false);
736 this.tabPageApp.PerformLayout();
737 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
738 this.ResumeLayout(false);
739 this.PerformLayout();
745 private System.Windows.Forms.FontDialog fontDialog;
746 private System.Windows.Forms.Timer timer;
747 private System.Windows.Forms.StatusStrip statusStrip;
748 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
749 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
750 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
751 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
752 private System.Windows.Forms.Panel panelDisplay;
753 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
754 private MarqueeLabel marqueeLabelTop;
755 private MarqueeLabel marqueeLabelBottom;
756 private System.Windows.Forms.TabPage tabPageClients;
757 private System.Windows.Forms.TreeView treeViewClients;
758 private System.Windows.Forms.TabPage tabPageDisplay;
759 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
760 private System.Windows.Forms.Button buttonSuspend;
761 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
762 private System.Windows.Forms.CheckBox checkBoxShowBorders;
763 private System.Windows.Forms.TrackBar trackBarBrightness;
764 private System.Windows.Forms.Button buttonFill;
765 private System.Windows.Forms.Button buttonClear;
766 private System.Windows.Forms.Button buttonClose;
767 private System.Windows.Forms.Button buttonOpen;
768 private System.Windows.Forms.Button buttonCapture;
769 private System.Windows.Forms.Button buttonFont;
770 private System.Windows.Forms.TabControl tabControl;
771 private System.Windows.Forms.Button buttonCloseClients;
772 private System.Windows.Forms.Button buttonStartClient;
773 private System.Windows.Forms.Label labelWarning;
774 private System.Windows.Forms.TabPage tabPageDesign;
775 private System.Windows.Forms.Button buttonRemoveColumn;
776 private System.Windows.Forms.Button buttonAddColumn;
777 private System.Windows.Forms.Button buttonRemoveRow;
778 private System.Windows.Forms.Button buttonAddRow;
779 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
780 private System.Windows.Forms.Button buttonAlignRight;
781 private System.Windows.Forms.Button buttonAlignCenter;
782 private System.Windows.Forms.Button buttonAlignLeft;
783 private System.Windows.Forms.ComboBox comboBoxDisplayType;
784 private System.Windows.Forms.MaskedTextBox maskedTextBoxTimerInterval;
785 private System.Windows.Forms.Label labelTimerInterval;
786 private System.Windows.Forms.Button buttonPowerOff;
787 private System.Windows.Forms.Button buttonPowerOn;
788 private System.Windows.Forms.Button buttonShowClock;
789 private System.Windows.Forms.Button buttonHideClock;
790 private System.Windows.Forms.Label labelFontWidth;
791 private System.Windows.Forms.Label labelFontHeight;
792 private System.Windows.Forms.CheckBox checkBoxInverseColors;
793 private System.Windows.Forms.PictureBox pictureBoxDemo;
794 private System.Windows.Forms.TabPage tabPageApp;
795 private System.Windows.Forms.Button buttonUpdate;
796 private System.Windows.Forms.CheckBox checkBoxAutoStart;
797 private System.Windows.Forms.CheckBox checkBoxStartMinimized;
798 private System.Windows.Forms.CheckBox checkBoxMinimizeToTray;