Adding support for display type selection.
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.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
49 this.buttonSuspend = new System.Windows.Forms.Button();
50 this.checkBoxConnectOnStartup = 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.labelWarning = new System.Windows.Forms.Label();
58 this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
59 this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
60 this.buttonFont = new System.Windows.Forms.Button();
61 this.tabControl = new System.Windows.Forms.TabControl();
62 this.tabPageDesign = new System.Windows.Forms.TabPage();
63 this.buttonAlignRight = new System.Windows.Forms.Button();
64 this.buttonAlignCenter = new System.Windows.Forms.Button();
65 this.buttonAlignLeft = new System.Windows.Forms.Button();
66 this.buttonRemoveColumn = new System.Windows.Forms.Button();
67 this.buttonAddColumn = new System.Windows.Forms.Button();
68 this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
69 this.buttonRemoveRow = new System.Windows.Forms.Button();
70 this.buttonAddRow = new System.Windows.Forms.Button();
71 this.panelDisplay.SuspendLayout();
72 this.tableLayoutPanel.SuspendLayout();
73 this.statusStrip.SuspendLayout();
74 this.tabPageClients.SuspendLayout();
75 this.tabPageDisplay.SuspendLayout();
76 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
77 this.tabControl.SuspendLayout();
78 this.tabPageDesign.SuspendLayout();
83 this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
84 this.panelDisplay.Controls.Add(this.tableLayoutPanel);
85 this.panelDisplay.Location = new System.Drawing.Point(173, 40);
86 this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
87 this.panelDisplay.Name = "panelDisplay";
88 this.panelDisplay.Size = new System.Drawing.Size(258, 66);
89 this.panelDisplay.TabIndex = 12;
93 this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
94 | System.Windows.Forms.AnchorStyles.Left)
95 | System.Windows.Forms.AnchorStyles.Right)));
96 this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
97 this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
98 this.tableLayoutPanel.ColumnCount = 1;
99 this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
100 this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
101 this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
102 this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
103 this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
104 this.tableLayoutPanel.Name = "tableLayoutPanel";
105 this.tableLayoutPanel.RowCount = 2;
106 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
107 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
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.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
155 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
156 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
157 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
158 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
159 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
160 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
161 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
162 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
163 this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
164 this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
165 this.tableLayoutPanel.TabIndex = 5;
169 this.marqueeLabelTop.AutoEllipsis = true;
170 this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
171 this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
172 this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
173 this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
174 this.marqueeLabelTop.Name = "marqueeLabelTop";
175 this.marqueeLabelTop.OwnTimer = false;
176 this.marqueeLabelTop.PixelsPerSecond = 64;
177 this.marqueeLabelTop.Separator = "|";
178 this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
179 this.marqueeLabelTop.TabIndex = 2;
180 this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
181 this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
182 this.marqueeLabelTop.UseCompatibleTextRendering = true;
184 // marqueeLabelBottom
186 this.marqueeLabelBottom.AutoEllipsis = true;
187 this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
188 this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
189 this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
190 this.marqueeLabelBottom.Name = "marqueeLabelBottom";
191 this.marqueeLabelBottom.OwnTimer = false;
192 this.marqueeLabelBottom.PixelsPerSecond = 64;
193 this.marqueeLabelBottom.Separator = "|";
194 this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
195 this.marqueeLabelBottom.TabIndex = 3;
196 this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
197 this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
198 this.marqueeLabelBottom.UseCompatibleTextRendering = true;
202 this.timer.Enabled = true;
203 this.timer.Interval = 50;
204 this.timer.Tick += new System.EventHandler(this.timer_Tick);
208 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
209 this.toolStripStatusLabelConnect,
210 this.toolStripStatusLabelSpring,
211 this.toolStripStatusLabelPower,
212 this.toolStripStatusLabelFps});
213 this.statusStrip.Location = new System.Drawing.Point(0, 420);
214 this.statusStrip.Name = "statusStrip";
215 this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
216 this.statusStrip.Size = new System.Drawing.Size(624, 22);
217 this.statusStrip.TabIndex = 1;
218 this.statusStrip.Text = "statusStrip";
220 // toolStripStatusLabelConnect
222 this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
223 this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
224 this.toolStripStatusLabelConnect.Text = "Not connected";
226 // toolStripStatusLabelSpring
228 this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
229 this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
230 this.toolStripStatusLabelSpring.Spring = true;
232 // toolStripStatusLabelPower
234 this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
235 this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
236 this.toolStripStatusLabelPower.Text = "NA";
238 // toolStripStatusLabelFps
240 this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
241 this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
242 this.toolStripStatusLabelFps.Text = "FPS";
246 this.tabPageClients.Controls.Add(this.buttonCloseClients);
247 this.tabPageClients.Controls.Add(this.buttonStartClient);
248 this.tabPageClients.Controls.Add(this.treeViewClients);
249 this.tabPageClients.Location = new System.Drawing.Point(4, 22);
250 this.tabPageClients.Name = "tabPageClients";
251 this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
252 this.tabPageClients.Size = new System.Drawing.Size(592, 242);
253 this.tabPageClients.TabIndex = 2;
254 this.tabPageClients.Text = "Clients";
255 this.tabPageClients.UseVisualStyleBackColor = true;
257 // buttonCloseClients
259 this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
260 this.buttonCloseClients.Name = "buttonCloseClients";
261 this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
262 this.buttonCloseClients.TabIndex = 20;
263 this.buttonCloseClients.Text = "Close Clients";
264 this.buttonCloseClients.UseVisualStyleBackColor = true;
265 this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
269 this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
270 this.buttonStartClient.Name = "buttonStartClient";
271 this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
272 this.buttonStartClient.TabIndex = 19;
273 this.buttonStartClient.Text = "Start Client";
274 this.buttonStartClient.UseVisualStyleBackColor = true;
275 this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
279 this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
280 | System.Windows.Forms.AnchorStyles.Left)
281 | System.Windows.Forms.AnchorStyles.Right)));
282 this.treeViewClients.Location = new System.Drawing.Point(87, 6);
283 this.treeViewClients.Name = "treeViewClients";
284 this.treeViewClients.Size = new System.Drawing.Size(499, 233);
285 this.treeViewClients.TabIndex = 0;
286 this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
290 this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
291 this.tabPageDisplay.Controls.Add(this.buttonSuspend);
292 this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
293 this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
294 this.tabPageDisplay.Controls.Add(this.buttonFill);
295 this.tabPageDisplay.Controls.Add(this.buttonClear);
296 this.tabPageDisplay.Controls.Add(this.buttonClose);
297 this.tabPageDisplay.Controls.Add(this.buttonOpen);
298 this.tabPageDisplay.Controls.Add(this.buttonCapture);
299 this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
300 this.tabPageDisplay.Name = "tabPageDisplay";
301 this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
302 this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
303 this.tabPageDisplay.TabIndex = 0;
304 this.tabPageDisplay.Text = "Display";
305 this.tabPageDisplay.UseVisualStyleBackColor = true;
307 // comboBoxDisplayType
309 this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
310 this.comboBoxDisplayType.FormattingEnabled = true;
311 this.comboBoxDisplayType.Items.AddRange(new object[] {
314 "Futaba GP1212A02A"});
315 this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
316 this.comboBoxDisplayType.Name = "comboBoxDisplayType";
317 this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
318 this.comboBoxDisplayType.TabIndex = 17;
319 this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
323 this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
324 this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
325 this.buttonSuspend.Name = "buttonSuspend";
326 this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
327 this.buttonSuspend.TabIndex = 16;
328 this.buttonSuspend.Text = "Suspend";
329 this.buttonSuspend.UseVisualStyleBackColor = true;
330 this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
332 // checkBoxConnectOnStartup
334 this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
335 this.checkBoxConnectOnStartup.AutoSize = true;
336 this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
337 this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
338 this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
339 this.checkBoxConnectOnStartup.TabIndex = 13;
340 this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
341 this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
342 this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
344 // trackBarBrightness
346 this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
347 | System.Windows.Forms.AnchorStyles.Right)));
348 this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
349 this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
350 this.trackBarBrightness.Name = "trackBarBrightness";
351 this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
352 this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
353 this.trackBarBrightness.TabIndex = 10;
354 this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
355 this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
359 this.buttonFill.Location = new System.Drawing.Point(6, 93);
360 this.buttonFill.Name = "buttonFill";
361 this.buttonFill.Size = new System.Drawing.Size(75, 23);
362 this.buttonFill.TabIndex = 9;
363 this.buttonFill.Text = "Fill";
364 this.buttonFill.UseVisualStyleBackColor = true;
365 this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
369 this.buttonClear.Location = new System.Drawing.Point(6, 64);
370 this.buttonClear.Name = "buttonClear";
371 this.buttonClear.Size = new System.Drawing.Size(75, 23);
372 this.buttonClear.TabIndex = 8;
373 this.buttonClear.Text = "Clear";
374 this.buttonClear.UseVisualStyleBackColor = true;
375 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
379 this.buttonClose.Location = new System.Drawing.Point(6, 35);
380 this.buttonClose.Name = "buttonClose";
381 this.buttonClose.Size = new System.Drawing.Size(75, 23);
382 this.buttonClose.TabIndex = 7;
383 this.buttonClose.Text = "Close";
384 this.buttonClose.UseVisualStyleBackColor = true;
385 this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
389 this.buttonOpen.Location = new System.Drawing.Point(6, 6);
390 this.buttonOpen.Name = "buttonOpen";
391 this.buttonOpen.Size = new System.Drawing.Size(75, 23);
392 this.buttonOpen.TabIndex = 6;
393 this.buttonOpen.Text = "Open";
394 this.buttonOpen.UseVisualStyleBackColor = true;
395 this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
399 this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
400 this.buttonCapture.Location = new System.Drawing.Point(6, 213);
401 this.buttonCapture.Name = "buttonCapture";
402 this.buttonCapture.Size = new System.Drawing.Size(75, 23);
403 this.buttonCapture.TabIndex = 5;
404 this.buttonCapture.Text = "Capture";
405 this.buttonCapture.UseVisualStyleBackColor = true;
406 this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
410 this.labelWarning.AutoSize = true;
411 this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
412 this.labelWarning.ForeColor = System.Drawing.Color.Red;
413 this.labelWarning.Location = new System.Drawing.Point(9, 9);
414 this.labelWarning.Name = "labelWarning";
415 this.labelWarning.Size = new System.Drawing.Size(80, 16);
416 this.labelWarning.TabIndex = 18;
417 this.labelWarning.Text = "WARNING";
418 this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
419 this.labelWarning.Visible = false;
421 // checkBoxFixedPitchFontOnly
423 this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
424 this.checkBoxFixedPitchFontOnly.AutoSize = true;
425 this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
426 this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
427 this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
428 this.checkBoxFixedPitchFontOnly.TabIndex = 17;
429 this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
430 this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
432 // checkBoxShowBorders
434 this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
435 this.checkBoxShowBorders.AutoSize = true;
436 this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
437 this.checkBoxShowBorders.Name = "checkBoxShowBorders";
438 this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
439 this.checkBoxShowBorders.TabIndex = 11;
440 this.checkBoxShowBorders.Text = "Show borders";
441 this.checkBoxShowBorders.UseVisualStyleBackColor = true;
442 this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
446 this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
447 this.buttonFont.Location = new System.Drawing.Point(6, 213);
448 this.buttonFont.Name = "buttonFont";
449 this.buttonFont.Size = new System.Drawing.Size(75, 23);
450 this.buttonFont.TabIndex = 0;
451 this.buttonFont.Text = "Select Font";
452 this.buttonFont.UseVisualStyleBackColor = true;
453 this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
457 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
458 | System.Windows.Forms.AnchorStyles.Left)
459 | System.Windows.Forms.AnchorStyles.Right)));
460 this.tabControl.Controls.Add(this.tabPageDisplay);
461 this.tabControl.Controls.Add(this.tabPageClients);
462 this.tabControl.Controls.Add(this.tabPageDesign);
463 this.tabControl.Location = new System.Drawing.Point(12, 139);
464 this.tabControl.Name = "tabControl";
465 this.tabControl.SelectedIndex = 0;
466 this.tabControl.Size = new System.Drawing.Size(600, 268);
467 this.tabControl.TabIndex = 0;
471 this.tabPageDesign.Controls.Add(this.buttonAlignRight);
472 this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
473 this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
474 this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
475 this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
476 this.tabPageDesign.Controls.Add(this.buttonAddColumn);
477 this.tabPageDesign.Controls.Add(this.buttonFont);
478 this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
479 this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
480 this.tabPageDesign.Controls.Add(this.buttonAddRow);
481 this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
482 this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
483 this.tabPageDesign.Name = "tabPageDesign";
484 this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
485 this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
486 this.tabPageDesign.TabIndex = 3;
487 this.tabPageDesign.Text = "Design";
488 this.tabPageDesign.UseVisualStyleBackColor = true;
492 this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
493 this.buttonAlignRight.Name = "buttonAlignRight";
494 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
495 this.buttonAlignRight.TabIndex = 20;
496 this.buttonAlignRight.Text = "Align Right";
497 this.buttonAlignRight.UseVisualStyleBackColor = true;
498 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
502 this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
503 this.buttonAlignCenter.Name = "buttonAlignCenter";
504 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
505 this.buttonAlignCenter.TabIndex = 19;
506 this.buttonAlignCenter.Text = "Align Center";
507 this.buttonAlignCenter.UseVisualStyleBackColor = true;
508 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
512 this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
513 this.buttonAlignLeft.Name = "buttonAlignLeft";
514 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
515 this.buttonAlignLeft.TabIndex = 18;
516 this.buttonAlignLeft.Text = "Align Left";
517 this.buttonAlignLeft.UseVisualStyleBackColor = true;
518 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
520 // buttonRemoveColumn
522 this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
523 this.buttonRemoveColumn.Name = "buttonRemoveColumn";
524 this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
525 this.buttonRemoveColumn.TabIndex = 3;
526 this.buttonRemoveColumn.Text = "Remove col.";
527 this.buttonRemoveColumn.UseVisualStyleBackColor = true;
528 this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
532 this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
533 this.buttonAddColumn.Name = "buttonAddColumn";
534 this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
535 this.buttonAddColumn.TabIndex = 2;
536 this.buttonAddColumn.Text = "Add column";
537 this.buttonAddColumn.UseVisualStyleBackColor = true;
538 this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
540 // checkBoxReverseScreen
542 this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
543 this.checkBoxReverseScreen.AutoSize = true;
544 this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
545 this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
546 this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
547 this.checkBoxReverseScreen.TabIndex = 14;
548 this.checkBoxReverseScreen.Text = "Reverse screen";
549 this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
550 this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
554 this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
555 this.buttonRemoveRow.Name = "buttonRemoveRow";
556 this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
557 this.buttonRemoveRow.TabIndex = 1;
558 this.buttonRemoveRow.Text = "Remove row";
559 this.buttonRemoveRow.UseVisualStyleBackColor = true;
560 this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
564 this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
565 this.buttonAddRow.Name = "buttonAddRow";
566 this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
567 this.buttonAddRow.TabIndex = 0;
568 this.buttonAddRow.Text = "Add row";
569 this.buttonAddRow.UseVisualStyleBackColor = true;
570 this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
574 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
575 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
576 this.ClientSize = new System.Drawing.Size(624, 442);
577 this.Controls.Add(this.labelWarning);
578 this.Controls.Add(this.statusStrip);
579 this.Controls.Add(this.tabControl);
580 this.Controls.Add(this.panelDisplay);
581 this.MinimumSize = new System.Drawing.Size(640, 480);
582 this.Name = "MainForm";
583 this.Text = "Sharp Display Manager";
584 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
585 this.Load += new System.EventHandler(this.MainForm_Load);
586 this.Resize += new System.EventHandler(this.MainForm_Resize);
587 this.panelDisplay.ResumeLayout(false);
588 this.tableLayoutPanel.ResumeLayout(false);
589 this.statusStrip.ResumeLayout(false);
590 this.statusStrip.PerformLayout();
591 this.tabPageClients.ResumeLayout(false);
592 this.tabPageDisplay.ResumeLayout(false);
593 this.tabPageDisplay.PerformLayout();
594 ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
595 this.tabControl.ResumeLayout(false);
596 this.tabPageDesign.ResumeLayout(false);
597 this.tabPageDesign.PerformLayout();
598 this.ResumeLayout(false);
599 this.PerformLayout();
605 private System.Windows.Forms.FontDialog fontDialog;
606 private System.Windows.Forms.Timer timer;
607 private System.Windows.Forms.StatusStrip statusStrip;
608 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelConnect;
609 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelFps;
610 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelSpring;
611 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelPower;
612 private System.Windows.Forms.Panel panelDisplay;
613 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
614 private MarqueeLabel marqueeLabelTop;
615 private MarqueeLabel marqueeLabelBottom;
616 private System.Windows.Forms.TabPage tabPageClients;
617 private System.Windows.Forms.TreeView treeViewClients;
618 private System.Windows.Forms.TabPage tabPageDisplay;
619 private System.Windows.Forms.CheckBox checkBoxFixedPitchFontOnly;
620 private System.Windows.Forms.Button buttonSuspend;
621 private System.Windows.Forms.CheckBox checkBoxConnectOnStartup;
622 private System.Windows.Forms.CheckBox checkBoxShowBorders;
623 private System.Windows.Forms.TrackBar trackBarBrightness;
624 private System.Windows.Forms.Button buttonFill;
625 private System.Windows.Forms.Button buttonClear;
626 private System.Windows.Forms.Button buttonClose;
627 private System.Windows.Forms.Button buttonOpen;
628 private System.Windows.Forms.Button buttonCapture;
629 private System.Windows.Forms.Button buttonFont;
630 private System.Windows.Forms.TabControl tabControl;
631 private System.Windows.Forms.Button buttonCloseClients;
632 private System.Windows.Forms.Button buttonStartClient;
633 private System.Windows.Forms.Label labelWarning;
634 private System.Windows.Forms.TabPage tabPageDesign;
635 private System.Windows.Forms.Button buttonRemoveColumn;
636 private System.Windows.Forms.Button buttonAddColumn;
637 private System.Windows.Forms.Button buttonRemoveRow;
638 private System.Windows.Forms.Button buttonAddRow;
639 private System.Windows.Forms.CheckBox checkBoxReverseScreen;
640 private System.Windows.Forms.Button buttonAlignRight;
641 private System.Windows.Forms.Button buttonAlignCenter;
642 private System.Windows.Forms.Button buttonAlignLeft;
643 private System.Windows.Forms.ComboBox comboBoxDisplayType;