IdwTest:Adding support for sending text to VFD.
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.buttonInit = new System.Windows.Forms.Button();
32 this.buttonUninit = new System.Windows.Forms.Button();
33 this.labelStatus = new System.Windows.Forms.Label();
34 this.textBoxVfdTop = new System.Windows.Forms.TextBox();
35 this.textBoxVfdBottom = new System.Windows.Forms.TextBox();
36 this.groupBoxVfd = new System.Windows.Forms.GroupBox();
37 this.label2 = new System.Windows.Forms.Label();
38 this.label1 = new System.Windows.Forms.Label();
39 this.buttonSetVfdText = new System.Windows.Forms.Button();
40 this.groupBoxLcd = new System.Windows.Forms.GroupBox();
41 this.textBoxLcd = new System.Windows.Forms.TextBox();
42 this.buttonSetLcdText = new System.Windows.Forms.Button();
43 this.label3 = new System.Windows.Forms.Label();
44 this.buttonToggleTimer = new System.Windows.Forms.Button();
45 this.groupBoxTimer = new System.Windows.Forms.GroupBox();
46 this.checkBoxRandomEq = new System.Windows.Forms.CheckBox();
47 this.numericTimerInterval = new System.Windows.Forms.NumericUpDown();
48 this.label4 = new System.Windows.Forms.Label();
49 this.groupBoxVfd.SuspendLayout();
50 this.groupBoxLcd.SuspendLayout();
51 this.groupBoxTimer.SuspendLayout();
52 ((System.ComponentModel.ISupportInitialize)(this.numericTimerInterval)).BeginInit();
57 this.buttonInit.Location = new System.Drawing.Point(12, 12);
58 this.buttonInit.Name = "buttonInit";
59 this.buttonInit.Size = new System.Drawing.Size(75, 23);
60 this.buttonInit.TabIndex = 0;
61 this.buttonInit.Text = "Init";
62 this.buttonInit.UseVisualStyleBackColor = true;
63 this.buttonInit.Click += new System.EventHandler(this.buttonInit_Click);
67 this.buttonUninit.Location = new System.Drawing.Point(93, 12);
68 this.buttonUninit.Name = "buttonUninit";
69 this.buttonUninit.Size = new System.Drawing.Size(75, 23);
70 this.buttonUninit.TabIndex = 1;
71 this.buttonUninit.Text = "Uninit";
72 this.buttonUninit.UseVisualStyleBackColor = true;
73 this.buttonUninit.Click += new System.EventHandler(this.buttonUninit_Click);
77 this.labelStatus.AutoSize = true;
78 this.labelStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
79 this.labelStatus.Location = new System.Drawing.Point(174, 15);
80 this.labelStatus.Name = "labelStatus";
81 this.labelStatus.Size = new System.Drawing.Size(113, 20);
82 this.labelStatus.TabIndex = 2;
83 this.labelStatus.Text = "Not connected";
87 this.textBoxVfdTop.Location = new System.Drawing.Point(94, 19);
88 this.textBoxVfdTop.MaxLength = 16;
89 this.textBoxVfdTop.Name = "textBoxVfdTop";
90 this.textBoxVfdTop.Size = new System.Drawing.Size(100, 20);
91 this.textBoxVfdTop.TabIndex = 3;
95 this.textBoxVfdBottom.Location = new System.Drawing.Point(94, 45);
96 this.textBoxVfdBottom.Name = "textBoxVfdBottom";
97 this.textBoxVfdBottom.Size = new System.Drawing.Size(100, 20);
98 this.textBoxVfdBottom.TabIndex = 4;
102 this.groupBoxVfd.Controls.Add(this.label2);
103 this.groupBoxVfd.Controls.Add(this.label1);
104 this.groupBoxVfd.Controls.Add(this.buttonSetVfdText);
105 this.groupBoxVfd.Controls.Add(this.textBoxVfdTop);
106 this.groupBoxVfd.Controls.Add(this.textBoxVfdBottom);
107 this.groupBoxVfd.Location = new System.Drawing.Point(12, 41);
108 this.groupBoxVfd.Name = "groupBoxVfd";
109 this.groupBoxVfd.Size = new System.Drawing.Size(200, 100);
110 this.groupBoxVfd.TabIndex = 5;
111 this.groupBoxVfd.TabStop = false;
112 this.groupBoxVfd.Text = "VFD";
116 this.label2.AutoSize = true;
117 this.label2.Location = new System.Drawing.Point(7, 48);
118 this.label2.Name = "label2";
119 this.label2.Size = new System.Drawing.Size(85, 13);
120 this.label2.TabIndex = 7;
121 this.label2.Text = "Text bottom line:";
125 this.label1.AutoSize = true;
126 this.label1.Location = new System.Drawing.Point(7, 22);
127 this.label1.Name = "label1";
128 this.label1.Size = new System.Drawing.Size(68, 13);
129 this.label1.TabIndex = 6;
130 this.label1.Text = "Text top line:";
134 this.buttonSetVfdText.Location = new System.Drawing.Point(119, 71);
135 this.buttonSetVfdText.Name = "buttonSetVfdText";
136 this.buttonSetVfdText.Size = new System.Drawing.Size(75, 23);
137 this.buttonSetVfdText.TabIndex = 5;
138 this.buttonSetVfdText.Text = "Update";
139 this.buttonSetVfdText.UseVisualStyleBackColor = true;
140 this.buttonSetVfdText.Click += new System.EventHandler(this.buttonSetVfdText_Click);
144 this.groupBoxLcd.Controls.Add(this.textBoxLcd);
145 this.groupBoxLcd.Controls.Add(this.buttonSetLcdText);
146 this.groupBoxLcd.Controls.Add(this.label3);
147 this.groupBoxLcd.Location = new System.Drawing.Point(218, 41);
148 this.groupBoxLcd.Name = "groupBoxLcd";
149 this.groupBoxLcd.Size = new System.Drawing.Size(200, 100);
150 this.groupBoxLcd.TabIndex = 6;
151 this.groupBoxLcd.TabStop = false;
152 this.groupBoxLcd.Text = "LCD";
156 this.textBoxLcd.Location = new System.Drawing.Point(94, 19);
157 this.textBoxLcd.Name = "textBoxLcd";
158 this.textBoxLcd.Size = new System.Drawing.Size(100, 20);
159 this.textBoxLcd.TabIndex = 2;
163 this.buttonSetLcdText.Location = new System.Drawing.Point(119, 71);
164 this.buttonSetLcdText.Name = "buttonSetLcdText";
165 this.buttonSetLcdText.Size = new System.Drawing.Size(75, 23);
166 this.buttonSetLcdText.TabIndex = 1;
167 this.buttonSetLcdText.Text = "Update";
168 this.buttonSetLcdText.UseVisualStyleBackColor = true;
169 this.buttonSetLcdText.Click += new System.EventHandler(this.buttonSetLcdText_Click);
173 this.label3.AutoSize = true;
174 this.label3.Location = new System.Drawing.Point(6, 22);
175 this.label3.Name = "label3";
176 this.label3.Size = new System.Drawing.Size(28, 13);
177 this.label3.TabIndex = 0;
178 this.label3.Text = "Text";
182 this.buttonToggleTimer.Location = new System.Drawing.Point(119, 71);
183 this.buttonToggleTimer.Name = "buttonToggleTimer";
184 this.buttonToggleTimer.Size = new System.Drawing.Size(75, 23);
185 this.buttonToggleTimer.TabIndex = 3;
186 this.buttonToggleTimer.Text = "Start";
187 this.buttonToggleTimer.UseVisualStyleBackColor = true;
188 this.buttonToggleTimer.Click += new System.EventHandler(this.buttonToggleTimer_Click);
192 this.groupBoxTimer.Controls.Add(this.checkBoxRandomEq);
193 this.groupBoxTimer.Controls.Add(this.numericTimerInterval);
194 this.groupBoxTimer.Controls.Add(this.label4);
195 this.groupBoxTimer.Controls.Add(this.buttonToggleTimer);
196 this.groupBoxTimer.Location = new System.Drawing.Point(12, 147);
197 this.groupBoxTimer.Name = "groupBoxTimer";
198 this.groupBoxTimer.Size = new System.Drawing.Size(200, 100);
199 this.groupBoxTimer.TabIndex = 7;
200 this.groupBoxTimer.TabStop = false;
201 this.groupBoxTimer.Text = "Timer";
205 this.checkBoxRandomEq.AutoSize = true;
206 this.checkBoxRandomEq.Location = new System.Drawing.Point(10, 46);
207 this.checkBoxRandomEq.Name = "checkBoxRandomEq";
208 this.checkBoxRandomEq.Size = new System.Drawing.Size(84, 17);
209 this.checkBoxRandomEq.TabIndex = 9;
210 this.checkBoxRandomEq.Text = "Random EQ";
211 this.checkBoxRandomEq.UseVisualStyleBackColor = true;
213 // numericTimerInterval
215 this.numericTimerInterval.Location = new System.Drawing.Point(74, 18);
216 this.numericTimerInterval.Maximum = new decimal(new int[] {
221 this.numericTimerInterval.Minimum = new decimal(new int[] {
226 this.numericTimerInterval.Name = "numericTimerInterval";
227 this.numericTimerInterval.Size = new System.Drawing.Size(120, 20);
228 this.numericTimerInterval.TabIndex = 8;
229 this.numericTimerInterval.Value = new decimal(new int[] {
237 this.label4.AutoSize = true;
238 this.label4.Location = new System.Drawing.Point(7, 20);
239 this.label4.Name = "label4";
240 this.label4.Size = new System.Drawing.Size(67, 13);
241 this.label4.TabIndex = 4;
242 this.label4.Text = "Interval (ms):";
246 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
247 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
248 this.ClientSize = new System.Drawing.Size(741, 454);
249 this.Controls.Add(this.groupBoxTimer);
250 this.Controls.Add(this.groupBoxLcd);
251 this.Controls.Add(this.groupBoxVfd);
252 this.Controls.Add(this.labelStatus);
253 this.Controls.Add(this.buttonUninit);
254 this.Controls.Add(this.buttonInit);
255 this.Name = "MainForm";
256 this.Text = "iMON Display Wrapper test";
257 this.groupBoxVfd.ResumeLayout(false);
258 this.groupBoxVfd.PerformLayout();
259 this.groupBoxLcd.ResumeLayout(false);
260 this.groupBoxLcd.PerformLayout();
261 this.groupBoxTimer.ResumeLayout(false);
262 this.groupBoxTimer.PerformLayout();
263 ((System.ComponentModel.ISupportInitialize)(this.numericTimerInterval)).EndInit();
264 this.ResumeLayout(false);
265 this.PerformLayout();
271 private System.Windows.Forms.Button buttonInit;
272 private System.Windows.Forms.Button buttonUninit;
273 private System.Windows.Forms.Label labelStatus;
274 private System.Windows.Forms.TextBox textBoxVfdTop;
275 private System.Windows.Forms.TextBox textBoxVfdBottom;
276 private System.Windows.Forms.GroupBox groupBoxVfd;
277 private System.Windows.Forms.Label label2;
278 private System.Windows.Forms.Label label1;
279 private System.Windows.Forms.Button buttonSetVfdText;
280 private System.Windows.Forms.GroupBox groupBoxLcd;
281 private System.Windows.Forms.TextBox textBoxLcd;
282 private System.Windows.Forms.Button buttonSetLcdText;
283 private System.Windows.Forms.Label label3;
284 private System.Windows.Forms.Button buttonToggleTimer;
285 private System.Windows.Forms.GroupBox groupBoxTimer;
286 private System.Windows.Forms.NumericUpDown numericTimerInterval;
287 private System.Windows.Forms.Label label4;
288 private System.Windows.Forms.CheckBox checkBoxRandomEq;