Now having a single class for both text and bitmap field.
Thus we should soon be able to use common functions to pass in fields.
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 this.panelDisplay = new System.Windows.Forms.Panel();
33 this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
34 this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
35 this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
36 this.fontDialog = new System.Windows.Forms.FontDialog();
37 this.timer = new System.Windows.Forms.Timer(this.components);
38 this.statusStrip = new System.Windows.Forms.StatusStrip();
39 this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
40 this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
41 this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
42 this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
43 this.tabPageClients = new System.Windows.Forms.TabPage();
44 this.buttonCloseClients = new System.Windows.Forms.Button();
45 this.buttonStartClient = new System.Windows.Forms.Button();
46 this.treeViewClients = new System.Windows.Forms.TreeView();
47 this.tabPageDisplay = new System.Windows.Forms.TabPage();
48 this.buttonShowClock = new System.Windows.Forms.Button();
49 this.buttonHideClock = new System.Windows.Forms.Button();
50 this.buttonPowerOff = new System.Windows.Forms.Button();
51 this.buttonPowerOn = new System.Windows.Forms.Button();
52 this.labelTimerInterval = new System.Windows.Forms.Label();
53 this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
54 this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
55 this.buttonSuspend = new System.Windows.Forms.Button();
56 this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
57 this.trackBarBrightness = new System.Windows.Forms.TrackBar();
58 this.buttonFill = new System.Windows.Forms.Button();
59 this.buttonClear = new System.Windows.Forms.Button();
60 this.buttonClose = new System.Windows.Forms.Button();
61 this.buttonOpen = new System.Windows.Forms.Button();
62 this.buttonCapture = new System.Windows.Forms.Button();
63 this.labelWarning = new System.Windows.Forms.Label();
64 this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
65 this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
66 this.buttonFont = new System.Windows.Forms.Button();
67 this.tabControl = new System.Windows.Forms.TabControl();
68 this.tabPageDesign = new System.Windows.Forms.TabPage();
69 this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
70 this.buttonAlignRight = new System.Windows.Forms.Button();
71 this.buttonAlignCenter = new System.Windows.Forms.Button();
72 this.buttonAlignLeft = new System.Windows.Forms.Button();
73 this.buttonRemoveColumn = new System.Windows.Forms.Button();
74 this.buttonAddColumn = new System.Windows.Forms.Button();
75 this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
76 this.buttonRemoveRow = new System.Windows.Forms.Button();
77 this.buttonAddRow = new System.Windows.Forms.Button();
78 this.labelFontWidth = new System.Windows.Forms.Label();
79 this.labelFontHeight = new System.Windows.Forms.Label();
80 this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
81 this.panelDisplay.SuspendLayout();
82 this.tableLayoutPanel.SuspendLayout();
83 this.statusStrip.SuspendLayout();
84 this.tabPageClients.SuspendLayout();
85 this.tabPageDisplay.SuspendLayout();
86 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
87 this.tabControl.SuspendLayout();
88 this.tabPageDesign.SuspendLayout();
89 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
94 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
95 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
96 this.panelDisplay.Location = new System.Drawing.Point(173, 40);
97 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
98 this.panelDisplay.Name = "panelDisplay";
99 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
100 this.panelDisplay.TabIndex = 12;
104 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
105 | System.Windows.Forms.AnchorStyles.Left)
106 | System.Windows.Forms.AnchorStyles.Right)));
107 this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
108 this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
109 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
110 this.tableLayoutPanel.ColumnCount = 1;
111 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
112 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
113 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
114 this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
115 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
116 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
117 this.tableLayoutPanel.Name = "tableLayoutPanel";
118 this.tableLayoutPanel.RowCount = 2;
119 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
120 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
121 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
122 this.tableLayoutPanel.TabIndex = 5;
126 this.marqueeLabelTop.AutoEllipsis = true;
127 this.marqueeLabelTop.AutoSize = true;
128 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
129 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
130 this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
131 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
132 this.marqueeLabelTop.Name = "marqueeLabelTop";
133 this.marqueeLabelTop.OwnTimer = false;
134 this.marqueeLabelTop.PixelsPerSecond = 64;
135 this.marqueeLabelTop.Separator = "|";
136 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
137 this.marqueeLabelTop.TabIndex = 2;
138 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
139 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
140 this.marqueeLabelTop.UseCompatibleTextRendering = true;
142 // marqueeLabelBottom
144 this.marqueeLabelBottom.AutoEllipsis = true;
145 this.marqueeLabelBottom.AutoSize = true;
146 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
147 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
148 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
149 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
150 this.marqueeLabelBottom.OwnTimer = false;
151 this.marqueeLabelBottom.PixelsPerSecond = 64;
152 this.marqueeLabelBottom.Separator = "|";
153 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
154 this.marqueeLabelBottom.TabIndex = 3;
155 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
156 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
157 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
161 this.timer.Enabled = true;
162 this.timer.Interval = 50;
163 this.timer.Tick += new System.EventHandler(this.timer_Tick);
167 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
168 this.toolStripStatusLabelConnect,
169 this.toolStripStatusLabelSpring,
170 this.toolStripStatusLabelPower,
171 this.toolStripStatusLabelFps});
172 this.statusStrip.Location = new System.Drawing.Point(0, 420);
173 this.statusStrip.Name = "statusStrip";
174 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
175 this.statusStrip.Size = new System.Drawing.Size(624, 22);
176 this.statusStrip.TabIndex = 1;
177 this.statusStrip.Text = "statusStrip";
179 // toolStripStatusLabelConnect
181 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
182 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
183 this.toolStripStatusLabelConnect.Text = "Not connected";
185 // toolStripStatusLabelSpring
187 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
188 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
189 this.toolStripStatusLabelSpring.Spring = true;
191 // toolStripStatusLabelPower
193 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
194 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
195 this.toolStripStatusLabelPower.Text = "NA";
197 // toolStripStatusLabelFps
199 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
200 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
201 this.toolStripStatusLabelFps.Text = "FPS";
205 this.tabPageClients.Controls.Add(this.buttonCloseClients);
206 this.tabPageClients.Controls.Add(this.buttonStartClient);
207 this.tabPageClients.Controls.Add(this.treeViewClients);
208 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
209 this.tabPageClients.Name = "tabPageClients";
210 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
211 this.tabPageClients.Size = new System.Drawing.Size(592, 242);
212 this.tabPageClients.TabIndex = 2;
213 this.tabPageClients.Text = "Clients";
214 this.tabPageClients.UseVisualStyleBackColor = true;
216 // buttonCloseClients
218 this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
219 this.buttonCloseClients.Name = "buttonCloseClients";
220 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
221 this.buttonCloseClients.TabIndex = 20;
222 this.buttonCloseClients.Text = "Close Clients";
223 this.buttonCloseClients.UseVisualStyleBackColor = true;
224 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
228 this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
229 this.buttonStartClient.Name = "buttonStartClient";
230 this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
231 this.buttonStartClient.TabIndex = 19;
232 this.buttonStartClient.Text = "Start Client";
233 this.buttonStartClient.UseVisualStyleBackColor = true;
234 this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
238 this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
239 | System.Windows.Forms.AnchorStyles.Left)
240 | System.Windows.Forms.AnchorStyles.Right)));
241 this.treeViewClients.Location = new System.Drawing.Point(87, 6);
242 this.treeViewClients.Name = "treeViewClients";
243 this.treeViewClients.Size = new System.Drawing.Size(499, 233);
244 this.treeViewClients.TabIndex = 0;
245 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
249 this.tabPageDisplay.Controls.Add(this.buttonShowClock);
250 this.tabPageDisplay.Controls.Add(this.buttonHideClock);
251 this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
252 this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
253 this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
254 this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
255 this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
256 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
257 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
258 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
259 this.tabPageDisplay.Controls.Add(this.buttonFill);
260 this.tabPageDisplay.Controls.Add(this.buttonClear);
261 this.tabPageDisplay.Controls.Add(this.buttonClose);
262 this.tabPageDisplay.Controls.Add(this.buttonOpen);
263 this.tabPageDisplay.Controls.Add(this.buttonCapture);
264 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
265 this.tabPageDisplay.Name = "tabPageDisplay";
266 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
267 this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
268 this.tabPageDisplay.TabIndex = 0;
269 this.tabPageDisplay.Text = "Display";
270 this.tabPageDisplay.UseVisualStyleBackColor = true;
274 this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
275 this.buttonShowClock.Name = "buttonShowClock";
276 this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
277 this.buttonShowClock.TabIndex = 23;
278 this.buttonShowClock.Text = "Show Clock";
279 this.buttonShowClock.UseVisualStyleBackColor = true;
280 this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
284 this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
285 this.buttonHideClock.Name = "buttonHideClock";
286 this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
287 this.buttonHideClock.TabIndex = 22;
288 this.buttonHideClock.Text = "Hide Clock";
289 this.buttonHideClock.UseVisualStyleBackColor = true;
290 this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
294 this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
295 this.buttonPowerOff.Name = "buttonPowerOff";
296 this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
297 this.buttonPowerOff.TabIndex = 21;
298 this.buttonPowerOff.Text = "OFF";
299 this.buttonPowerOff.UseVisualStyleBackColor = true;
300 this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
304 this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
305 this.buttonPowerOn.Name = "buttonPowerOn";
306 this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
307 this.buttonPowerOn.TabIndex = 20;
308 this.buttonPowerOn.Text = "ON";
309 this.buttonPowerOn.UseVisualStyleBackColor = true;
310 this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
312 // labelTimerInterval
314 this.labelTimerInterval.AutoSize = true;
315 this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
316 this.labelTimerInterval.Name = "labelTimerInterval";
317 this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
318 this.labelTimerInterval.TabIndex = 19;
319 this.labelTimerInterval.Text = "Timer interval (ms) :";
321 // maskedTextBoxTimerInterval
323 this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
324 this.maskedTextBoxTimerInterval.Mask = "000";
325 this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
326 this.maskedTextBoxTimerInterval.PromptChar = ' ';
327 this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
328 this.maskedTextBoxTimerInterval.TabIndex = 18;
329 this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
331 // comboBoxDisplayType
333 this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
334 this.comboBoxDisplayType.FormattingEnabled = true;
335 this.comboBoxDisplayType.Items.AddRange(new object[] {
338 "Futaba GP1212A02A"});
339 this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
340 this.comboBoxDisplayType.Name = "comboBoxDisplayType";
341 this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
342 this.comboBoxDisplayType.TabIndex = 17;
343 this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
347 this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
348 this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
349 this.buttonSuspend.Name = "buttonSuspend";
350 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
351 this.buttonSuspend.TabIndex = 16;
352 this.buttonSuspend.Text = "Pause";
353 this.buttonSuspend.UseVisualStyleBackColor = true;
354 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
356 // checkBoxConnectOnStartup
358 this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
359 this.checkBoxConnectOnStartup.AutoSize = true;
360 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
361 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
362 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
363 this.checkBoxConnectOnStartup.TabIndex = 13;
364 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
365 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
366 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
368 // trackBarBrightness
370 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
371 | System.Windows.Forms.AnchorStyles.Right)));
372 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
373 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
374 this.trackBarBrightness.Name = "trackBarBrightness";
375 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
376 this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
377 this.trackBarBrightness.TabIndex = 10;
378 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
379 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
383 this.buttonFill.Location = new System.Drawing.Point(6, 93);
384 this.buttonFill.Name = "buttonFill";
385 this.buttonFill.Size = new System.Drawing.Size(75, 23);
386 this.buttonFill.TabIndex = 9;
387 this.buttonFill.Text = "Fill";
388 this.buttonFill.UseVisualStyleBackColor = true;
389 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
393 this.buttonClear.Location = new System.Drawing.Point(6, 64);
394 this.buttonClear.Name = "buttonClear";
395 this.buttonClear.Size = new System.Drawing.Size(75, 23);
396 this.buttonClear.TabIndex = 8;
397 this.buttonClear.Text = "Clear";
398 this.buttonClear.UseVisualStyleBackColor = true;
399 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
403 this.buttonClose.Location = new System.Drawing.Point(6, 35);
404 this.buttonClose.Name = "buttonClose";
405 this.buttonClose.Size = new System.Drawing.Size(75, 23);
406 this.buttonClose.TabIndex = 7;
407 this.buttonClose.Text = "Close";
408 this.buttonClose.UseVisualStyleBackColor = true;
409 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
413 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
414 this.buttonOpen.Name = "buttonOpen";
415 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
416 this.buttonOpen.TabIndex = 6;
417 this.buttonOpen.Text = "Open";
418 this.buttonOpen.UseVisualStyleBackColor = true;
419 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
423 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
424 this.buttonCapture.Location = new System.Drawing.Point(6, 213);
425 this.buttonCapture.Name = "buttonCapture";
426 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
427 this.buttonCapture.TabIndex = 5;
428 this.buttonCapture.Text = "Capture";
429 this.buttonCapture.UseVisualStyleBackColor = true;
430 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
434 this.labelWarning.AutoSize = true;
435 this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
436 this.labelWarning.ForeColor = System.Drawing.Color.Red;
437 this.labelWarning.Location = new System.Drawing.Point(9, 9);
438 this.labelWarning.Name = "labelWarning";
439 this.labelWarning.Size = new System.Drawing.Size(80, 16);
440 this.labelWarning.TabIndex = 18;
441 this.labelWarning.Text = "WARNING";
442 this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
443 this.labelWarning.Visible = false;
445 // checkBoxFixedPitchFontOnly
447 this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
448 this.checkBoxFixedPitchFontOnly.AutoSize = true;
449 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
450 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
451 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
452 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
453 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
454 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
456 // checkBoxShowBorders
458 this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
459 this.checkBoxShowBorders.AutoSize = true;
460 this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
461 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
462 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
463 this.checkBoxShowBorders.TabIndex = 11;
464 this.checkBoxShowBorders.Text = "Show borders";
465 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
466 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
470 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
471 this.buttonFont.Location = new System.Drawing.Point(6, 213);
472 this.buttonFont.Name = "buttonFont";
473 this.buttonFont.Size = new System.Drawing.Size(75, 23);
474 this.buttonFont.TabIndex = 0;
475 this.buttonFont.Text = "Select Font";
476 this.buttonFont.UseVisualStyleBackColor = true;
477 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
481 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
482 | System.Windows.Forms.AnchorStyles.Left)
483 | System.Windows.Forms.AnchorStyles.Right)));
484 this.tabControl.Controls.Add(this.tabPageDisplay);
485 this.tabControl.Controls.Add(this.tabPageClients);
486 this.tabControl.Controls.Add(this.tabPageDesign);
487 this.tabControl.Location = new System.Drawing.Point(12, 139);
488 this.tabControl.Name = "tabControl";
489 this.tabControl.SelectedIndex = 0;
490 this.tabControl.Size = new System.Drawing.Size(600, 268);
491 this.tabControl.TabIndex = 0;
495 this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
496 this.tabPageDesign.Controls.Add(this.buttonAlignRight);
497 this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
498 this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
499 this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
500 this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
501 this.tabPageDesign.Controls.Add(this.buttonAddColumn);
502 this.tabPageDesign.Controls.Add(this.buttonFont);
503 this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
504 this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
505 this.tabPageDesign.Controls.Add(this.buttonAddRow);
506 this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
507 this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
508 this.tabPageDesign.Name = "tabPageDesign";
509 this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
510 this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
511 this.tabPageDesign.TabIndex = 3;
512 this.tabPageDesign.Text = "Design";
513 this.tabPageDesign.UseVisualStyleBackColor = true;
515 // checkBoxInverseColors
517 this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
518 this.checkBoxInverseColors.AutoSize = true;
519 this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
520 this.checkBoxInverseColors.Name = "checkBoxInverseColors";
521 this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
522 this.checkBoxInverseColors.TabIndex = 21;
523 this.checkBoxInverseColors.Text = "Inverse colors";
524 this.checkBoxInverseColors.UseVisualStyleBackColor = true;
525 this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
529 this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
530 this.buttonAlignRight.Name = "buttonAlignRight";
531 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
532 this.buttonAlignRight.TabIndex = 20;
533 this.buttonAlignRight.Text = "Align Right";
534 this.buttonAlignRight.UseVisualStyleBackColor = true;
535 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
539 this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
540 this.buttonAlignCenter.Name = "buttonAlignCenter";
541 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
542 this.buttonAlignCenter.TabIndex = 19;
543 this.buttonAlignCenter.Text = "Align Center";
544 this.buttonAlignCenter.UseVisualStyleBackColor = true;
545 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
549 this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
550 this.buttonAlignLeft.Name = "buttonAlignLeft";
551 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
552 this.buttonAlignLeft.TabIndex = 18;
553 this.buttonAlignLeft.Text = "Align Left";
554 this.buttonAlignLeft.UseVisualStyleBackColor = true;
555 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
557 // buttonRemoveColumn
559 this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
560 this.buttonRemoveColumn.Name = "buttonRemoveColumn";
561 this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
562 this.buttonRemoveColumn.TabIndex = 3;
563 this.buttonRemoveColumn.Text = "Remove col.";
564 this.buttonRemoveColumn.UseVisualStyleBackColor = true;
565 this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
569 this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
570 this.buttonAddColumn.Name = "buttonAddColumn";
571 this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
572 this.buttonAddColumn.TabIndex = 2;
573 this.buttonAddColumn.Text = "Add column";
574 this.buttonAddColumn.UseVisualStyleBackColor = true;
575 this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
577 // checkBoxReverseScreen
579 this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
580 this.checkBoxReverseScreen.AutoSize = true;
581 this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
582 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
583 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
584 this.checkBoxReverseScreen.TabIndex = 14;
585 this.checkBoxReverseScreen.Text = "Reverse screen";
586 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
587 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
591 this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
592 this.buttonRemoveRow.Name = "buttonRemoveRow";
593 this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
594 this.buttonRemoveRow.TabIndex = 1;
595 this.buttonRemoveRow.Text = "Remove row";
596 this.buttonRemoveRow.UseVisualStyleBackColor = true;
597 this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
601 this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
602 this.buttonAddRow.Name = "buttonAddRow";
603 this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
604 this.buttonAddRow.TabIndex = 0;
605 this.buttonAddRow.Text = "Add row";
606 this.buttonAddRow.UseVisualStyleBackColor = true;
607 this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
611 this.labelFontWidth.AutoSize = true;
612 this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
613 this.labelFontWidth.Name = "labelFontWidth";
614 this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
615 this.labelFontWidth.TabIndex = 19;
616 this.labelFontWidth.Text = "Font width";
620 this.labelFontHeight.AutoSize = true;
621 this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
622 this.labelFontHeight.Name = "labelFontHeight";
623 this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
624 this.labelFontHeight.TabIndex = 20;
625 this.labelFontHeight.Text = "Font height";
629 this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
630 this.pictureBoxDemo.Name = "pictureBoxDemo";
631 this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
632 this.pictureBoxDemo.TabIndex = 21;
633 this.pictureBoxDemo.TabStop = false;
637 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
638 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
639 this.ClientSize = new System.Drawing.Size(624, 442);
640 this.Controls.Add(this.pictureBoxDemo);
641 this.Controls.Add(this.labelFontHeight);
642 this.Controls.Add(this.labelFontWidth);
643 this.Controls.Add(this.labelWarning);
644 this.Controls.Add(this.statusStrip);
645 this.Controls.Add(this.tabControl);
646 this.Controls.Add(this.panelDisplay);
647 this.MinimumSize = new System.Drawing.Size(640, 480);
648 this.Name = "MainForm";
649 this.Text = "Sharp Display Manager";
650 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
651 this.Load += new System.EventHandler(this.MainForm_Load);
652 this.Resize += new System.EventHandler(this.MainForm_Resize);
653 this.panelDisplay.ResumeLayout(false);
654 this.tableLayoutPanel.ResumeLayout(false);
655 this.tableLayoutPanel.PerformLayout();
656 this.statusStrip.ResumeLayout(false);
657 this.statusStrip.PerformLayout();
658 this.tabPageClients.ResumeLayout(false);
659 this.tabPageDisplay.ResumeLayout(false);
660 this.tabPageDisplay.PerformLayout();
661 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
662 this.tabControl.ResumeLayout(false);
663 this.tabPageDesign.ResumeLayout(false);
664 this.tabPageDesign.PerformLayout();
665 ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
666 this.ResumeLayout(false);
667 this.PerformLayout();
673 private System.Windows.Forms.FontDialog fontDialog;
674 private System.Windows.Forms.Timer timer;
675 private System.Windows.Forms.StatusStrip statusStrip;
676 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
677 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
678 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
679 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
680 private System.Windows.Forms.Panel panelDisplay;
681 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
682 private MarqueeLabel marqueeLabelTop;
683 private MarqueeLabel marqueeLabelBottom;
684 private System.Windows.Forms.TabPage tabPageClients;
685 private System.Windows.Forms.TreeView treeViewClients;
686 private System.Windows.Forms.TabPage tabPageDisplay;
687 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
688 private System.Windows.Forms.Button buttonSuspend;
689 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
690 private System.Windows.Forms.CheckBox checkBoxShowBorders;
691 private System.Windows.Forms.TrackBar trackBarBrightness;
692 private System.Windows.Forms.Button buttonFill;
693 private System.Windows.Forms.Button buttonClear;
694 private System.Windows.Forms.Button buttonClose;
695 private System.Windows.Forms.Button buttonOpen;
696 private System.Windows.Forms.Button buttonCapture;
697 private System.Windows.Forms.Button buttonFont;
698 private System.Windows.Forms.TabControl tabControl;
699 private System.Windows.Forms.Button buttonCloseClients;
700 private System.Windows.Forms.Button buttonStartClient;
701 private System.Windows.Forms.Label labelWarning;
702 private System.Windows.Forms.TabPage tabPageDesign;
703 private System.Windows.Forms.Button buttonRemoveColumn;
704 private System.Windows.Forms.Button buttonAddColumn;
705 private System.Windows.Forms.Button buttonRemoveRow;
706 private System.Windows.Forms.Button buttonAddRow;
707 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
708 private System.Windows.Forms.Button buttonAlignRight;
709 private System.Windows.Forms.Button buttonAlignCenter;
710 private System.Windows.Forms.Button buttonAlignLeft;
711 private System.Windows.Forms.ComboBox comboBoxDisplayType;
712 private System.Windows.Forms.MaskedTextBox maskedTextBoxTimerInterval;
713 private System.Windows.Forms.Label labelTimerInterval;
714 private System.Windows.Forms.Button buttonPowerOff;
715 private System.Windows.Forms.Button buttonPowerOn;
716 private System.Windows.Forms.Button buttonShowClock;
717 private System.Windows.Forms.Button buttonHideClock;
718 private System.Windows.Forms.Label labelFontWidth;
719 private System.Windows.Forms.Label labelFontHeight;
720 private System.Windows.Forms.CheckBox checkBoxInverseColors;
721 private System.Windows.Forms.PictureBox pictureBoxDemo;