Fixing our client issue with static MainForm overwritten when using multiple clients.
That was basically our issue with broadcast not working the way it should.
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.tabControl = new System.Windows.Forms.TabControl();
33 this.tabPageDisplay = new System.Windows.Forms.TabPage();
34 this.buttonCloseClients = new System.Windows.Forms.Button();
35 this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
36 this.buttonSuspend = new System.Windows.Forms.Button();
37 this.buttonStartClient = new System.Windows.Forms.Button();
38 this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
39 this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
40 this.panelDisplay = new System.Windows.Forms.Panel();
41 this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
42 this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
43 this.trackBarBrightness = new System.Windows.Forms.TrackBar();
44 this.buttonFill = new System.Windows.Forms.Button();
45 this.buttonClear = new System.Windows.Forms.Button();
46 this.buttonClose = new System.Windows.Forms.Button();
47 this.buttonOpen = new System.Windows.Forms.Button();
48 this.buttonCapture = new System.Windows.Forms.Button();
49 this.buttonFont = new System.Windows.Forms.Button();
50 this.tabPageTests = new System.Windows.Forms.TabPage();
51 this.fontDialog = new System.Windows.Forms.FontDialog();
52 this.timer = new System.Windows.Forms.Timer(this.components);
53 this.statusStrip = new System.Windows.Forms.StatusStrip();
54 this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
55 this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
56 this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
57 this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
58 this.tabPageClients = new System.Windows.Forms.TabPage();
59 this.treeViewClients = new System.Windows.Forms.TreeView();
60 this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
61 this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
62 this.tabControl.SuspendLayout();
63 this.tabPageDisplay.SuspendLayout();
64 this.panelDisplay.SuspendLayout();
65 this.tableLayoutPanel.SuspendLayout();
66 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
67 this.statusStrip.SuspendLayout();
68 this.tabPageClients.SuspendLayout();
73 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
74 | System.Windows.Forms.AnchorStyles.Left)
75 | System.Windows.Forms.AnchorStyles.Right)));
76 this.tabControl.Controls.Add(this.tabPageDisplay);
77 this.tabControl.Controls.Add(this.tabPageTests);
78 this.tabControl.Controls.Add(this.tabPageClients);
79 this.tabControl.Location = new System.Drawing.Point(12, 12);
80 this.tabControl.Name = "tabControl";
81 this.tabControl.SelectedIndex = 0;
82 this.tabControl.Size = new System.Drawing.Size(600, 395);
83 this.tabControl.TabIndex = 0;
87 this.tabPageDisplay.Controls.Add(this.buttonCloseClients);
88 this.tabPageDisplay.Controls.Add(this.checkBoxFixedPitchFontOnly);
89 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
90 this.tabPageDisplay.Controls.Add(this.buttonStartClient);
91 this.tabPageDisplay.Controls.Add(this.checkBoxReverseScreen);
92 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
93 this.tabPageDisplay.Controls.Add(this.panelDisplay);
94 this.tabPageDisplay.Controls.Add(this.checkBoxShowBorders);
95 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
96 this.tabPageDisplay.Controls.Add(this.buttonFill);
97 this.tabPageDisplay.Controls.Add(this.buttonClear);
98 this.tabPageDisplay.Controls.Add(this.buttonClose);
99 this.tabPageDisplay.Controls.Add(this.buttonOpen);
100 this.tabPageDisplay.Controls.Add(this.buttonCapture);
101 this.tabPageDisplay.Controls.Add(this.buttonFont);
102 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
103 this.tabPageDisplay.Name = "tabPageDisplay";
104 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
105 this.tabPageDisplay.Size = new System.Drawing.Size(592, 369);
106 this.tabPageDisplay.TabIndex = 0;
107 this.tabPageDisplay.Text = "Display";
108 this.tabPageDisplay.UseVisualStyleBackColor = true;
110 // buttonCloseClients
112 this.buttonCloseClients.Location = new System.Drawing.Point(7, 224);
113 this.buttonCloseClients.Name = "buttonCloseClients";
114 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
115 this.buttonCloseClients.TabIndex = 18;
116 this.buttonCloseClients.Text = "Close Clients";
117 this.buttonCloseClients.UseVisualStyleBackColor = true;
118 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
120 // checkBoxFixedPitchFontOnly
122 this.checkBoxFixedPitchFontOnly.AutoSize = true;
123 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(113, 275);
124 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
125 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
126 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
127 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
128 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
132 this.buttonSuspend.Location = new System.Drawing.Point(7, 253);
133 this.buttonSuspend.Name = "buttonSuspend";
134 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
135 this.buttonSuspend.TabIndex = 16;
136 this.buttonSuspend.Text = "Suspend";
137 this.buttonSuspend.UseVisualStyleBackColor = true;
138 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
142 this.buttonStartClient.Location = new System.Drawing.Point(6, 282);
143 this.buttonStartClient.Name = "buttonStartClient";
144 this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
145 this.buttonStartClient.TabIndex = 15;
146 this.buttonStartClient.Text = "Start Client";
147 this.buttonStartClient.UseVisualStyleBackColor = true;
148 this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
150 // checkBoxReverseScreen
152 this.checkBoxReverseScreen.AutoSize = true;
153 this.checkBoxReverseScreen.Location = new System.Drawing.Point(113, 298);
154 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
155 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
156 this.checkBoxReverseScreen.TabIndex = 14;
157 this.checkBoxReverseScreen.Text = "Reverse screen";
158 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
159 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
161 // checkBoxConnectOnStartup
163 this.checkBoxConnectOnStartup.AutoSize = true;
164 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 321);
165 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
166 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
167 this.checkBoxConnectOnStartup.TabIndex = 13;
168 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
169 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
170 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
174 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
175 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
176 this.panelDisplay.Location = new System.Drawing.Point(181, 151);
177 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
178 this.panelDisplay.Name = "panelDisplay";
179 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
180 this.panelDisplay.TabIndex = 12;
184 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
185 | System.Windows.Forms.AnchorStyles.Left)
186 | System.Windows.Forms.AnchorStyles.Right)));
187 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
188 this.tableLayoutPanel.ColumnCount = 1;
189 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
190 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
191 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
192 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
193 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
194 this.tableLayoutPanel.Name = "tableLayoutPanel";
195 this.tableLayoutPanel.RowCount = 2;
196 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
197 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
198 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
199 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
200 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
201 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
202 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
203 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
204 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
205 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
206 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
207 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
208 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
209 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
210 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
211 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
212 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
213 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
214 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
215 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
216 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
217 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
218 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
219 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
220 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
221 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
222 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
223 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
224 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
225 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
226 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
227 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
228 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
229 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
230 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
231 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
232 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
233 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
234 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
235 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
236 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
237 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
238 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
239 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
240 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
241 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
242 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
243 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
244 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
245 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
246 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
247 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
248 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
249 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
250 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
251 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
252 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
253 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
254 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
255 this.tableLayoutPanel.TabIndex = 5;
257 // checkBoxShowBorders
259 this.checkBoxShowBorders.AutoSize = true;
260 this.checkBoxShowBorders.Location = new System.Drawing.Point(113, 344);
261 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
262 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
263 this.checkBoxShowBorders.TabIndex = 11;
264 this.checkBoxShowBorders.Text = "Show borders";
265 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
266 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
268 // trackBarBrightness
270 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
271 | System.Windows.Forms.AnchorStyles.Right)));
272 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
273 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
274 this.trackBarBrightness.Name = "trackBarBrightness";
275 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
276 this.trackBarBrightness.Size = new System.Drawing.Size(45, 357);
277 this.trackBarBrightness.TabIndex = 10;
278 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
279 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
283 this.buttonFill.Location = new System.Drawing.Point(6, 93);
284 this.buttonFill.Name = "buttonFill";
285 this.buttonFill.Size = new System.Drawing.Size(75, 23);
286 this.buttonFill.TabIndex = 9;
287 this.buttonFill.Text = "Fill";
288 this.buttonFill.UseVisualStyleBackColor = true;
289 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
293 this.buttonClear.Location = new System.Drawing.Point(6, 64);
294 this.buttonClear.Name = "buttonClear";
295 this.buttonClear.Size = new System.Drawing.Size(75, 23);
296 this.buttonClear.TabIndex = 8;
297 this.buttonClear.Text = "Clear";
298 this.buttonClear.UseVisualStyleBackColor = true;
299 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
303 this.buttonClose.Location = new System.Drawing.Point(6, 35);
304 this.buttonClose.Name = "buttonClose";
305 this.buttonClose.Size = new System.Drawing.Size(75, 23);
306 this.buttonClose.TabIndex = 7;
307 this.buttonClose.Text = "Close";
308 this.buttonClose.UseVisualStyleBackColor = true;
309 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
313 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
314 this.buttonOpen.Name = "buttonOpen";
315 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
316 this.buttonOpen.TabIndex = 6;
317 this.buttonOpen.Text = "Open";
318 this.buttonOpen.UseVisualStyleBackColor = true;
319 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
323 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
324 this.buttonCapture.Location = new System.Drawing.Point(6, 311);
325 this.buttonCapture.Name = "buttonCapture";
326 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
327 this.buttonCapture.TabIndex = 5;
328 this.buttonCapture.Text = "Capture";
329 this.buttonCapture.UseVisualStyleBackColor = true;
330 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
334 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
335 this.buttonFont.Location = new System.Drawing.Point(6, 340);
336 this.buttonFont.Name = "buttonFont";
337 this.buttonFont.Size = new System.Drawing.Size(75, 23);
338 this.buttonFont.TabIndex = 0;
339 this.buttonFont.Text = "Select Font";
340 this.buttonFont.UseVisualStyleBackColor = true;
341 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
345 this.tabPageTests.Location = new System.Drawing.Point(4, 22);
346 this.tabPageTests.Name = "tabPageTests";
347 this.tabPageTests.Padding = new System.Windows.Forms.Padding(3);
348 this.tabPageTests.Size = new System.Drawing.Size(592, 369);
349 this.tabPageTests.TabIndex = 1;
350 this.tabPageTests.Text = "Test";
351 this.tabPageTests.UseVisualStyleBackColor = true;
355 this.timer.Enabled = true;
356 this.timer.Interval = 50;
357 this.timer.Tick += new System.EventHandler(this.timer_Tick);
361 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
362 this.toolStripStatusLabelConnect,
363 this.toolStripStatusLabelSpring,
364 this.toolStripStatusLabelPower,
365 this.toolStripStatusLabelFps});
366 this.statusStrip.Location = new System.Drawing.Point(0, 420);
367 this.statusStrip.Name = "statusStrip";
368 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
369 this.statusStrip.Size = new System.Drawing.Size(624, 22);
370 this.statusStrip.TabIndex = 1;
371 this.statusStrip.Text = "statusStrip";
373 // toolStripStatusLabelConnect
375 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
376 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
377 this.toolStripStatusLabelConnect.Text = "Not connected";
379 // toolStripStatusLabelSpring
381 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
382 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
383 this.toolStripStatusLabelSpring.Spring = true;
385 // toolStripStatusLabelPower
387 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
388 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
389 this.toolStripStatusLabelPower.Text = "NA";
391 // toolStripStatusLabelFps
393 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
394 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
395 this.toolStripStatusLabelFps.Text = "FPS";
399 this.tabPageClients.Controls.Add(this.treeViewClients);
400 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
401 this.tabPageClients.Name = "tabPageClients";
402 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
403 this.tabPageClients.Size = new System.Drawing.Size(592, 369);
404 this.tabPageClients.TabIndex = 2;
405 this.tabPageClients.Text = "Clients";
406 this.tabPageClients.UseVisualStyleBackColor = true;
410 this.treeViewClients.Location = new System.Drawing.Point(6, 6);
411 this.treeViewClients.Name = "treeViewClients";
412 this.treeViewClients.Size = new System.Drawing.Size(439, 357);
413 this.treeViewClients.TabIndex = 0;
414 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
418 this.marqueeLabelTop.AutoEllipsis = true;
419 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
420 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
421 this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
422 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
423 this.marqueeLabelTop.Name = "marqueeLabelTop";
424 this.marqueeLabelTop.OwnTimer = false;
425 this.marqueeLabelTop.PixelsPerSecond = 64;
426 this.marqueeLabelTop.Separator = "|";
427 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 9);
428 this.marqueeLabelTop.TabIndex = 2;
429 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
430 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
431 this.marqueeLabelTop.UseCompatibleTextRendering = true;
433 // marqueeLabelBottom
435 this.marqueeLabelBottom.AutoEllipsis = true;
436 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
437 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 21);
438 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
439 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
440 this.marqueeLabelBottom.OwnTimer = false;
441 this.marqueeLabelBottom.PixelsPerSecond = 64;
442 this.marqueeLabelBottom.Separator = null;
443 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 20);
444 this.marqueeLabelBottom.TabIndex = 3;
445 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
446 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
447 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
451 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
452 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
453 this.ClientSize = new System.Drawing.Size(624, 442);
454 this.Controls.Add(this.statusStrip);
455 this.Controls.Add(this.tabControl);
456 this.MinimumSize = new System.Drawing.Size(640, 480);
457 this.Name = "MainForm";
458 this.Text = "Sharp Display Manager";
459 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
460 this.Load += new System.EventHandler(this.MainForm_Load);
461 this.Resize += new System.EventHandler(this.MainForm_Resize);
462 this.tabControl.ResumeLayout(false);
463 this.tabPageDisplay.ResumeLayout(false);
464 this.tabPageDisplay.PerformLayout();
465 this.panelDisplay.ResumeLayout(false);
466 this.tableLayoutPanel.ResumeLayout(false);
467 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
468 this.statusStrip.ResumeLayout(false);
469 this.statusStrip.PerformLayout();
470 this.tabPageClients.ResumeLayout(false);
471 this.ResumeLayout(false);
472 this.PerformLayout();
478 private System.Windows.Forms.TabControl tabControl;
479 private System.Windows.Forms.TabPage tabPageDisplay;
480 private System.Windows.Forms.TabPage tabPageTests;
481 private System.Windows.Forms.Button buttonFont;
482 private System.Windows.Forms.FontDialog fontDialog;
483 private System.Windows.Forms.Button buttonCapture;
484 private System.Windows.Forms.Timer timer;
485 private System.Windows.Forms.Button buttonFill;
486 private System.Windows.Forms.Button buttonClear;
487 private System.Windows.Forms.Button buttonClose;
488 private System.Windows.Forms.Button buttonOpen;
489 private System.Windows.Forms.TrackBar trackBarBrightness;
490 private System.Windows.Forms.StatusStrip statusStrip;
491 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
492 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
493 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
494 private System.Windows.Forms.CheckBox checkBoxShowBorders;
495 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
496 private System.Windows.Forms.Panel panelDisplay;
497 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
498 private MarqueeLabel marqueeLabelTop;
499 private MarqueeLabel marqueeLabelBottom;
500 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
501 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
502 private System.Windows.Forms.Button buttonStartClient;
503 private System.Windows.Forms.Button buttonSuspend;
504 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
505 private System.Windows.Forms.Button buttonCloseClients;
506 private System.Windows.Forms.TabPage tabPageClients;
507 private System.Windows.Forms.TreeView treeViewClients;