Adding warning when newly selected font is too height.
Reworking our UI.
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.fontDialog = new System.Windows.Forms.FontDialog();
35 this.timer = new System.Windows.Forms.Timer(this.components);
36 this.statusStrip = new System.Windows.Forms.StatusStrip();
37 this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
38 this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
39 this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
40 this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
41 this.tabPageClients = new System.Windows.Forms.TabPage();
42 this.buttonCloseClients = new System.Windows.Forms.Button();
43 this.buttonStartClient = new System.Windows.Forms.Button();
44 this.treeViewClients = new System.Windows.Forms.TreeView();
45 this.tabPageDisplay = new System.Windows.Forms.TabPage();
46 this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
47 this.buttonSuspend = new System.Windows.Forms.Button();
48 this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
49 this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
50 this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
51 this.trackBarBrightness = new System.Windows.Forms.TrackBar();
52 this.buttonFill = new System.Windows.Forms.Button();
53 this.buttonClear = new System.Windows.Forms.Button();
54 this.buttonClose = new System.Windows.Forms.Button();
55 this.buttonOpen = new System.Windows.Forms.Button();
56 this.buttonCapture = new System.Windows.Forms.Button();
57 this.buttonFont = new System.Windows.Forms.Button();
58 this.tabControl = new System.Windows.Forms.TabControl();
59 this.labelWarning = new System.Windows.Forms.Label();
60 this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
61 this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
62 this.panelDisplay.SuspendLayout();
63 this.tableLayoutPanel.SuspendLayout();
64 this.statusStrip.SuspendLayout();
65 this.tabPageClients.SuspendLayout();
66 this.tabPageDisplay.SuspendLayout();
67 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
68 this.tabControl.SuspendLayout();
73 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
74 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
75 this.panelDisplay.Location = new System.Drawing.Point(173, 40);
76 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
77 this.panelDisplay.Name = "panelDisplay";
78 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
79 this.panelDisplay.TabIndex = 12;
83 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
84 | System.Windows.Forms.AnchorStyles.Left)
85 | System.Windows.Forms.AnchorStyles.Right)));
86 this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
87 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
88 this.tableLayoutPanel.ColumnCount = 1;
89 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
90 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
91 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
92 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
93 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
94 this.tableLayoutPanel.Name = "tableLayoutPanel";
95 this.tableLayoutPanel.RowCount = 2;
96 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
97 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
98 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
99 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
100 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
101 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
102 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
103 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
104 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
105 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
106 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
107 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
108 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
109 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
110 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
111 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
112 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
113 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
114 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
115 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
116 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
117 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
118 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
119 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
120 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
121 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
122 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
123 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
124 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
125 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
126 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
127 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
128 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
129 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
130 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
131 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
132 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
133 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
134 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
135 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
136 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
137 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
138 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
139 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
140 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
141 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
142 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
143 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
144 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
145 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
146 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
147 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
148 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
149 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
150 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
151 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
152 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
153 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
154 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
155 this.tableLayoutPanel.TabIndex = 5;
159 this.timer.Enabled = true;
160 this.timer.Interval = 50;
161 this.timer.Tick += new System.EventHandler(this.timer_Tick);
165 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
166 this.toolStripStatusLabelConnect,
167 this.toolStripStatusLabelSpring,
168 this.toolStripStatusLabelPower,
169 this.toolStripStatusLabelFps});
170 this.statusStrip.Location = new System.Drawing.Point(0, 495);
171 this.statusStrip.Name = "statusStrip";
172 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
173 this.statusStrip.Size = new System.Drawing.Size(624, 22);
174 this.statusStrip.TabIndex = 1;
175 this.statusStrip.Text = "statusStrip";
177 // toolStripStatusLabelConnect
179 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
180 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
181 this.toolStripStatusLabelConnect.Text = "Not connected";
183 // toolStripStatusLabelSpring
185 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
186 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
187 this.toolStripStatusLabelSpring.Spring = true;
189 // toolStripStatusLabelPower
191 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
192 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
193 this.toolStripStatusLabelPower.Text = "NA";
195 // toolStripStatusLabelFps
197 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
198 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
199 this.toolStripStatusLabelFps.Text = "FPS";
203 this.tabPageClients.Controls.Add(this.buttonCloseClients);
204 this.tabPageClients.Controls.Add(this.buttonStartClient);
205 this.tabPageClients.Controls.Add(this.treeViewClients);
206 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
207 this.tabPageClients.Name = "tabPageClients";
208 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
209 this.tabPageClients.Size = new System.Drawing.Size(592, 317);
210 this.tabPageClients.TabIndex = 2;
211 this.tabPageClients.Text = "Clients";
212 this.tabPageClients.UseVisualStyleBackColor = true;
214 // buttonCloseClients
216 this.buttonCloseClients.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
217 this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
218 this.buttonCloseClients.Name = "buttonCloseClients";
219 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
220 this.buttonCloseClients.TabIndex = 20;
221 this.buttonCloseClients.Text = "Close Clients";
222 this.buttonCloseClients.UseVisualStyleBackColor = true;
223 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
227 this.buttonStartClient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
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, 308);
244 this.treeViewClients.TabIndex = 0;
245 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
249 this.tabPageDisplay.Controls.Add(this.labelWarning);
250 this.tabPageDisplay.Controls.Add(this.checkBoxFixedPitchFontOnly);
251 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
252 this.tabPageDisplay.Controls.Add(this.checkBoxReverseScreen);
253 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
254 this.tabPageDisplay.Controls.Add(this.checkBoxShowBorders);
255 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
256 this.tabPageDisplay.Controls.Add(this.buttonFill);
257 this.tabPageDisplay.Controls.Add(this.buttonClear);
258 this.tabPageDisplay.Controls.Add(this.buttonClose);
259 this.tabPageDisplay.Controls.Add(this.buttonOpen);
260 this.tabPageDisplay.Controls.Add(this.buttonCapture);
261 this.tabPageDisplay.Controls.Add(this.buttonFont);
262 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
263 this.tabPageDisplay.Name = "tabPageDisplay";
264 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
265 this.tabPageDisplay.Size = new System.Drawing.Size(592, 317);
266 this.tabPageDisplay.TabIndex = 0;
267 this.tabPageDisplay.Text = "Display";
268 this.tabPageDisplay.UseVisualStyleBackColor = true;
270 // checkBoxFixedPitchFontOnly
272 this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
273 this.checkBoxFixedPitchFontOnly.AutoSize = true;
274 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(113, 223);
275 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
276 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
277 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
278 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
279 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
283 this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
284 this.buttonSuspend.Location = new System.Drawing.Point(6, 230);
285 this.buttonSuspend.Name = "buttonSuspend";
286 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
287 this.buttonSuspend.TabIndex = 16;
288 this.buttonSuspend.Text = "Suspend";
289 this.buttonSuspend.UseVisualStyleBackColor = true;
290 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
292 // checkBoxReverseScreen
294 this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
295 this.checkBoxReverseScreen.AutoSize = true;
296 this.checkBoxReverseScreen.Location = new System.Drawing.Point(113, 246);
297 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
298 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
299 this.checkBoxReverseScreen.TabIndex = 14;
300 this.checkBoxReverseScreen.Text = "Reverse screen";
301 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
302 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
304 // checkBoxConnectOnStartup
306 this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
307 this.checkBoxConnectOnStartup.AutoSize = true;
308 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 269);
309 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
310 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
311 this.checkBoxConnectOnStartup.TabIndex = 13;
312 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
313 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
314 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
316 // checkBoxShowBorders
318 this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
319 this.checkBoxShowBorders.AutoSize = true;
320 this.checkBoxShowBorders.Location = new System.Drawing.Point(113, 292);
321 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
322 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
323 this.checkBoxShowBorders.TabIndex = 11;
324 this.checkBoxShowBorders.Text = "Show borders";
325 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
326 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
328 // trackBarBrightness
330 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
331 | System.Windows.Forms.AnchorStyles.Right)));
332 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
333 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
334 this.trackBarBrightness.Name = "trackBarBrightness";
335 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
336 this.trackBarBrightness.Size = new System.Drawing.Size(45, 305);
337 this.trackBarBrightness.TabIndex = 10;
338 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
339 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
343 this.buttonFill.Location = new System.Drawing.Point(6, 93);
344 this.buttonFill.Name = "buttonFill";
345 this.buttonFill.Size = new System.Drawing.Size(75, 23);
346 this.buttonFill.TabIndex = 9;
347 this.buttonFill.Text = "Fill";
348 this.buttonFill.UseVisualStyleBackColor = true;
349 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
353 this.buttonClear.Location = new System.Drawing.Point(6, 64);
354 this.buttonClear.Name = "buttonClear";
355 this.buttonClear.Size = new System.Drawing.Size(75, 23);
356 this.buttonClear.TabIndex = 8;
357 this.buttonClear.Text = "Clear";
358 this.buttonClear.UseVisualStyleBackColor = true;
359 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
363 this.buttonClose.Location = new System.Drawing.Point(6, 35);
364 this.buttonClose.Name = "buttonClose";
365 this.buttonClose.Size = new System.Drawing.Size(75, 23);
366 this.buttonClose.TabIndex = 7;
367 this.buttonClose.Text = "Close";
368 this.buttonClose.UseVisualStyleBackColor = true;
369 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
373 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
374 this.buttonOpen.Name = "buttonOpen";
375 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
376 this.buttonOpen.TabIndex = 6;
377 this.buttonOpen.Text = "Open";
378 this.buttonOpen.UseVisualStyleBackColor = true;
379 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
383 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
384 this.buttonCapture.Location = new System.Drawing.Point(6, 259);
385 this.buttonCapture.Name = "buttonCapture";
386 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
387 this.buttonCapture.TabIndex = 5;
388 this.buttonCapture.Text = "Capture";
389 this.buttonCapture.UseVisualStyleBackColor = true;
390 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
394 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
395 this.buttonFont.Location = new System.Drawing.Point(6, 288);
396 this.buttonFont.Name = "buttonFont";
397 this.buttonFont.Size = new System.Drawing.Size(75, 23);
398 this.buttonFont.TabIndex = 0;
399 this.buttonFont.Text = "Select Font";
400 this.buttonFont.UseVisualStyleBackColor = true;
401 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
405 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
406 | System.Windows.Forms.AnchorStyles.Left)
407 | System.Windows.Forms.AnchorStyles.Right)));
408 this.tabControl.Controls.Add(this.tabPageDisplay);
409 this.tabControl.Controls.Add(this.tabPageClients);
410 this.tabControl.Location = new System.Drawing.Point(12, 139);
411 this.tabControl.Name = "tabControl";
412 this.tabControl.SelectedIndex = 0;
413 this.tabControl.Size = new System.Drawing.Size(600, 343);
414 this.tabControl.TabIndex = 0;
418 this.labelWarning.AutoSize = true;
419 this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
420 this.labelWarning.ForeColor = System.Drawing.Color.Red;
421 this.labelWarning.Location = new System.Drawing.Point(87, 9);
422 this.labelWarning.Name = "labelWarning";
423 this.labelWarning.Size = new System.Drawing.Size(80, 16);
424 this.labelWarning.TabIndex = 18;
425 this.labelWarning.Text = "WARNING";
426 this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
427 this.labelWarning.Visible = false;
431 this.marqueeLabelTop.AutoEllipsis = true;
432 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
433 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
434 this.marqueeLabelTop.Location = new System.Drawing.Point(1, -124);
435 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
436 this.marqueeLabelTop.Name = "marqueeLabelTop";
437 this.marqueeLabelTop.OwnTimer = false;
438 this.marqueeLabelTop.PixelsPerSecond = 64;
439 this.marqueeLabelTop.Separator = "|";
440 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 20);
441 this.marqueeLabelTop.TabIndex = 2;
442 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
443 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
444 this.marqueeLabelTop.UseCompatibleTextRendering = true;
446 // marqueeLabelBottom
448 this.marqueeLabelBottom.AutoEllipsis = true;
449 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
450 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, -40);
451 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
452 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
453 this.marqueeLabelBottom.OwnTimer = false;
454 this.marqueeLabelBottom.PixelsPerSecond = 64;
455 this.marqueeLabelBottom.Separator = "|";
456 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 20);
457 this.marqueeLabelBottom.TabIndex = 3;
458 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
459 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
460 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
464 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
465 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
466 this.ClientSize = new System.Drawing.Size(624, 517);
467 this.Controls.Add(this.statusStrip);
468 this.Controls.Add(this.tabControl);
469 this.Controls.Add(this.panelDisplay);
470 this.MinimumSize = new System.Drawing.Size(640, 480);
471 this.Name = "MainForm";
472 this.Text = "Sharp Display Manager";
473 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
474 this.Load += new System.EventHandler(this.MainForm_Load);
475 this.Resize += new System.EventHandler(this.MainForm_Resize);
476 this.panelDisplay.ResumeLayout(false);
477 this.tableLayoutPanel.ResumeLayout(false);
478 this.statusStrip.ResumeLayout(false);
479 this.statusStrip.PerformLayout();
480 this.tabPageClients.ResumeLayout(false);
481 this.tabPageDisplay.ResumeLayout(false);
482 this.tabPageDisplay.PerformLayout();
483 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
484 this.tabControl.ResumeLayout(false);
485 this.ResumeLayout(false);
486 this.PerformLayout();
492 private System.Windows.Forms.FontDialog fontDialog;
493 private System.Windows.Forms.Timer timer;
494 private System.Windows.Forms.StatusStrip statusStrip;
495 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
496 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
497 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
498 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
499 private System.Windows.Forms.Panel panelDisplay;
500 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
501 private MarqueeLabel marqueeLabelTop;
502 private MarqueeLabel marqueeLabelBottom;
503 private System.Windows.Forms.TabPage tabPageClients;
504 private System.Windows.Forms.TreeView treeViewClients;
505 private System.Windows.Forms.TabPage tabPageDisplay;
506 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
507 private System.Windows.Forms.Button buttonSuspend;
508 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
509 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
510 private System.Windows.Forms.CheckBox checkBoxShowBorders;
511 private System.Windows.Forms.TrackBar trackBarBrightness;
512 private System.Windows.Forms.Button buttonFill;
513 private System.Windows.Forms.Button buttonClear;
514 private System.Windows.Forms.Button buttonClose;
515 private System.Windows.Forms.Button buttonOpen;
516 private System.Windows.Forms.Button buttonCapture;
517 private System.Windows.Forms.Button buttonFont;
518 private System.Windows.Forms.TabControl tabControl;
519 private System.Windows.Forms.Button buttonCloseClients;
520 private System.Windows.Forms.Button buttonStartClient;
521 private System.Windows.Forms.Label labelWarning;