Adding support for client priorities.
1 namespace SharpDisplayClient
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.buttonSetText = new System.Windows.Forms.Button();
32 this.textBoxTop = new System.Windows.Forms.TextBox();
33 this.textBoxBottom = new System.Windows.Forms.TextBox();
34 this.buttonAlignRight = new System.Windows.Forms.Button();
35 this.buttonAlignCenter = new System.Windows.Forms.Button();
36 this.buttonAlignLeft = new System.Windows.Forms.Button();
37 this.buttonSetTopText = new System.Windows.Forms.Button();
38 this.buttonLayoutUpdate = new System.Windows.Forms.Button();
39 this.buttonSetBitmap = new System.Windows.Forms.Button();
40 this.buttonBitmapLayout = new System.Windows.Forms.Button();
41 this.buttonIndicatorsLayout = new System.Windows.Forms.Button();
42 this.buttonUpdateTexts = new System.Windows.Forms.Button();
43 this.buttonLayoutOneTextField = new System.Windows.Forms.Button();
44 this.numericUpDownPriority = new System.Windows.Forms.NumericUpDown();
45 this.labelPriority = new System.Windows.Forms.Label();
46 ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPriority)).BeginInit();
51 this.buttonSetText.Location = new System.Drawing.Point(13, 132);
52 this.buttonSetText.Name = "buttonSetText";
53 this.buttonSetText.Size = new System.Drawing.Size(75, 23);
54 this.buttonSetText.TabIndex = 0;
55 this.buttonSetText.Text = "Set Text";
56 this.buttonSetText.UseVisualStyleBackColor = true;
57 this.buttonSetText.Click += new System.EventHandler(this.buttonSetText_Click);
61 this.textBoxTop.Location = new System.Drawing.Point(12, 31);
62 this.textBoxTop.Name = "textBoxTop";
63 this.textBoxTop.Size = new System.Drawing.Size(419, 20);
64 this.textBoxTop.TabIndex = 1;
68 this.textBoxBottom.Location = new System.Drawing.Point(12, 57);
69 this.textBoxBottom.Name = "textBoxBottom";
70 this.textBoxBottom.Size = new System.Drawing.Size(419, 20);
71 this.textBoxBottom.TabIndex = 2;
75 this.buttonAlignRight.Location = new System.Drawing.Point(176, 160);
76 this.buttonAlignRight.Name = "buttonAlignRight";
77 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
78 this.buttonAlignRight.TabIndex = 23;
79 this.buttonAlignRight.Text = "Align Right";
80 this.buttonAlignRight.UseVisualStyleBackColor = true;
81 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
85 this.buttonAlignCenter.Location = new System.Drawing.Point(94, 161);
86 this.buttonAlignCenter.Name = "buttonAlignCenter";
87 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
88 this.buttonAlignCenter.TabIndex = 22;
89 this.buttonAlignCenter.Text = "Align Center";
90 this.buttonAlignCenter.UseVisualStyleBackColor = true;
91 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
95 this.buttonAlignLeft.Location = new System.Drawing.Point(12, 161);
96 this.buttonAlignLeft.Name = "buttonAlignLeft";
97 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
98 this.buttonAlignLeft.TabIndex = 21;
99 this.buttonAlignLeft.Text = "Align Left";
100 this.buttonAlignLeft.UseVisualStyleBackColor = true;
101 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
105 this.buttonSetTopText.Location = new System.Drawing.Point(94, 132);
106 this.buttonSetTopText.Name = "buttonSetTopText";
107 this.buttonSetTopText.Size = new System.Drawing.Size(75, 23);
108 this.buttonSetTopText.TabIndex = 24;
109 this.buttonSetTopText.Text = "Set Top Text";
110 this.buttonSetTopText.UseVisualStyleBackColor = true;
111 this.buttonSetTopText.Click += new System.EventHandler(this.buttonSetTopText_Click);
113 // buttonLayoutUpdate
115 this.buttonLayoutUpdate.Location = new System.Drawing.Point(176, 131);
116 this.buttonLayoutUpdate.Name = "buttonLayoutUpdate";
117 this.buttonLayoutUpdate.Size = new System.Drawing.Size(156, 23);
118 this.buttonLayoutUpdate.TabIndex = 25;
119 this.buttonLayoutUpdate.Text = "Layout 2x2 and Recording";
120 this.buttonLayoutUpdate.UseVisualStyleBackColor = true;
121 this.buttonLayoutUpdate.Click += new System.EventHandler(this.buttonLayoutUpdate_Click);
125 this.buttonSetBitmap.Location = new System.Drawing.Point(12, 190);
126 this.buttonSetBitmap.Name = "buttonSetBitmap";
127 this.buttonSetBitmap.Size = new System.Drawing.Size(75, 23);
128 this.buttonSetBitmap.TabIndex = 26;
129 this.buttonSetBitmap.Text = "Set Bitmap";
130 this.buttonSetBitmap.UseVisualStyleBackColor = true;
131 this.buttonSetBitmap.Click += new System.EventHandler(this.buttonSetBitmap_Click);
133 // buttonBitmapLayout
135 this.buttonBitmapLayout.Location = new System.Drawing.Point(176, 189);
136 this.buttonBitmapLayout.Name = "buttonBitmapLayout";
137 this.buttonBitmapLayout.Size = new System.Drawing.Size(75, 35);
138 this.buttonBitmapLayout.TabIndex = 27;
139 this.buttonBitmapLayout.Text = "Bitmap Layout";
140 this.buttonBitmapLayout.UseVisualStyleBackColor = true;
141 this.buttonBitmapLayout.Click += new System.EventHandler(this.buttonBitmapLayout_Click);
143 // buttonIndicatorsLayout
145 this.buttonIndicatorsLayout.Location = new System.Drawing.Point(94, 189);
146 this.buttonIndicatorsLayout.Name = "buttonIndicatorsLayout";
147 this.buttonIndicatorsLayout.Size = new System.Drawing.Size(75, 35);
148 this.buttonIndicatorsLayout.TabIndex = 28;
149 this.buttonIndicatorsLayout.Text = "Indicators Layout ";
150 this.buttonIndicatorsLayout.UseVisualStyleBackColor = true;
151 this.buttonIndicatorsLayout.Click += new System.EventHandler(this.buttonIndicatorsLayout_Click);
155 this.buttonUpdateTexts.Location = new System.Drawing.Point(257, 189);
156 this.buttonUpdateTexts.Name = "buttonUpdateTexts";
157 this.buttonUpdateTexts.Size = new System.Drawing.Size(75, 35);
158 this.buttonUpdateTexts.TabIndex = 29;
159 this.buttonUpdateTexts.Text = "Update Texts";
160 this.buttonUpdateTexts.UseVisualStyleBackColor = true;
161 this.buttonUpdateTexts.Click += new System.EventHandler(this.buttonUpdateTexts_Click);
163 // buttonLayoutOneTextField
165 this.buttonLayoutOneTextField.Location = new System.Drawing.Point(257, 160);
166 this.buttonLayoutOneTextField.Name = "buttonLayoutOneTextField";
167 this.buttonLayoutOneTextField.Size = new System.Drawing.Size(75, 23);
168 this.buttonLayoutOneTextField.TabIndex = 30;
169 this.buttonLayoutOneTextField.Text = "Layout 1x1";
170 this.buttonLayoutOneTextField.UseVisualStyleBackColor = true;
171 this.buttonLayoutOneTextField.Click += new System.EventHandler(this.buttonLayoutOneTextField_Click);
173 // numericUpDownPriority
175 this.numericUpDownPriority.Increment = new decimal(new int[] {
180 this.numericUpDownPriority.Location = new System.Drawing.Point(57, 83);
181 this.numericUpDownPriority.Maximum = new decimal(new int[] {
186 this.numericUpDownPriority.Name = "numericUpDownPriority";
187 this.numericUpDownPriority.Size = new System.Drawing.Size(60, 20);
188 this.numericUpDownPriority.TabIndex = 31;
189 this.numericUpDownPriority.Value = new decimal(new int[] {
194 this.numericUpDownPriority.ValueChanged += new System.EventHandler(this.numericUpDownPriority_ValueChanged);
198 this.labelPriority.AutoSize = true;
199 this.labelPriority.Location = new System.Drawing.Point(12, 85);
200 this.labelPriority.Name = "labelPriority";
201 this.labelPriority.Size = new System.Drawing.Size(41, 13);
202 this.labelPriority.TabIndex = 32;
203 this.labelPriority.Text = "Priority:";
207 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
208 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
209 this.ClientSize = new System.Drawing.Size(443, 252);
210 this.Controls.Add(this.labelPriority);
211 this.Controls.Add(this.numericUpDownPriority);
212 this.Controls.Add(this.buttonLayoutOneTextField);
213 this.Controls.Add(this.buttonUpdateTexts);
214 this.Controls.Add(this.buttonIndicatorsLayout);
215 this.Controls.Add(this.buttonBitmapLayout);
216 this.Controls.Add(this.buttonSetBitmap);
217 this.Controls.Add(this.buttonLayoutUpdate);
218 this.Controls.Add(this.buttonSetTopText);
219 this.Controls.Add(this.buttonAlignRight);
220 this.Controls.Add(this.buttonAlignCenter);
221 this.Controls.Add(this.buttonAlignLeft);
222 this.Controls.Add(this.textBoxBottom);
223 this.Controls.Add(this.textBoxTop);
224 this.Controls.Add(this.buttonSetText);
225 this.Name = "MainForm";
226 this.Text = "Client";
227 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
228 this.Load += new System.EventHandler(this.MainForm_Load);
229 ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPriority)).EndInit();
230 this.ResumeLayout(false);
231 this.PerformLayout();
237 private System.Windows.Forms.Button buttonSetText;
238 private System.Windows.Forms.TextBox textBoxTop;
239 private System.Windows.Forms.TextBox textBoxBottom;
240 private System.Windows.Forms.Button buttonAlignRight;
241 private System.Windows.Forms.Button buttonAlignCenter;
242 private System.Windows.Forms.Button buttonAlignLeft;
243 private System.Windows.Forms.Button buttonSetTopText;
244 private System.Windows.Forms.Button buttonLayoutUpdate;
245 private System.Windows.Forms.Button buttonSetBitmap;
246 private System.Windows.Forms.Button buttonBitmapLayout;
247 private System.Windows.Forms.Button buttonIndicatorsLayout;
248 private System.Windows.Forms.Button buttonUpdateTexts;
249 private System.Windows.Forms.Button buttonLayoutOneTextField;
250 private System.Windows.Forms.NumericUpDown numericUpDownPriority;
251 private System.Windows.Forms.Label labelPriority;