Now having a single class for both text and bitmap field.
Thus we should soon be able to use common functions to pass in fields.
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();
45 this.buttonSetText.Location = new System.Drawing.Point(13, 132);
46 this.buttonSetText.Name = "buttonSetText";
47 this.buttonSetText.Size = new System.Drawing.Size(75, 23);
48 this.buttonSetText.TabIndex = 0;
49 this.buttonSetText.Text = "Set Text";
50 this.buttonSetText.UseVisualStyleBackColor = true;
51 this.buttonSetText.Click += new System.EventHandler(this.buttonSetText_Click);
55 this.textBoxTop.Location = new System.Drawing.Point(12, 31);
56 this.textBoxTop.Name = "textBoxTop";
57 this.textBoxTop.Size = new System.Drawing.Size(419, 20);
58 this.textBoxTop.TabIndex = 1;
62 this.textBoxBottom.Location = new System.Drawing.Point(12, 57);
63 this.textBoxBottom.Name = "textBoxBottom";
64 this.textBoxBottom.Size = new System.Drawing.Size(419, 20);
65 this.textBoxBottom.TabIndex = 2;
69 this.buttonAlignRight.Location = new System.Drawing.Point(176, 160);
70 this.buttonAlignRight.Name = "buttonAlignRight";
71 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
72 this.buttonAlignRight.TabIndex = 23;
73 this.buttonAlignRight.Text = "Align Right";
74 this.buttonAlignRight.UseVisualStyleBackColor = true;
75 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
79 this.buttonAlignCenter.Location = new System.Drawing.Point(94, 161);
80 this.buttonAlignCenter.Name = "buttonAlignCenter";
81 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
82 this.buttonAlignCenter.TabIndex = 22;
83 this.buttonAlignCenter.Text = "Align Center";
84 this.buttonAlignCenter.UseVisualStyleBackColor = true;
85 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
89 this.buttonAlignLeft.Location = new System.Drawing.Point(12, 161);
90 this.buttonAlignLeft.Name = "buttonAlignLeft";
91 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
92 this.buttonAlignLeft.TabIndex = 21;
93 this.buttonAlignLeft.Text = "Align Left";
94 this.buttonAlignLeft.UseVisualStyleBackColor = true;
95 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
99 this.buttonSetTopText.Location = new System.Drawing.Point(94, 132);
100 this.buttonSetTopText.Name = "buttonSetTopText";
101 this.buttonSetTopText.Size = new System.Drawing.Size(75, 23);
102 this.buttonSetTopText.TabIndex = 24;
103 this.buttonSetTopText.Text = "Set Top Text";
104 this.buttonSetTopText.UseVisualStyleBackColor = true;
105 this.buttonSetTopText.Click += new System.EventHandler(this.buttonSetTopText_Click);
107 // buttonLayoutUpdate
109 this.buttonLayoutUpdate.Location = new System.Drawing.Point(176, 131);
110 this.buttonLayoutUpdate.Name = "buttonLayoutUpdate";
111 this.buttonLayoutUpdate.Size = new System.Drawing.Size(75, 23);
112 this.buttonLayoutUpdate.TabIndex = 25;
113 this.buttonLayoutUpdate.Text = "Layout 2x2";
114 this.buttonLayoutUpdate.UseVisualStyleBackColor = true;
115 this.buttonLayoutUpdate.Click += new System.EventHandler(this.buttonLayoutUpdate_Click);
119 this.buttonSetBitmap.Location = new System.Drawing.Point(12, 190);
120 this.buttonSetBitmap.Name = "buttonSetBitmap";
121 this.buttonSetBitmap.Size = new System.Drawing.Size(75, 23);
122 this.buttonSetBitmap.TabIndex = 26;
123 this.buttonSetBitmap.Text = "Set Bitmap";
124 this.buttonSetBitmap.UseVisualStyleBackColor = true;
125 this.buttonSetBitmap.Click += new System.EventHandler(this.buttonSetBitmap_Click);
127 // buttonBitmapLayout
129 this.buttonBitmapLayout.Location = new System.Drawing.Point(176, 189);
130 this.buttonBitmapLayout.Name = "buttonBitmapLayout";
131 this.buttonBitmapLayout.Size = new System.Drawing.Size(75, 35);
132 this.buttonBitmapLayout.TabIndex = 27;
133 this.buttonBitmapLayout.Text = "Bitmap Layout";
134 this.buttonBitmapLayout.UseVisualStyleBackColor = true;
135 this.buttonBitmapLayout.Click += new System.EventHandler(this.buttonBitmapLayout_Click);
139 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
140 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
141 this.ClientSize = new System.Drawing.Size(443, 252);
142 this.Controls.Add(this.buttonBitmapLayout);
143 this.Controls.Add(this.buttonSetBitmap);
144 this.Controls.Add(this.buttonLayoutUpdate);
145 this.Controls.Add(this.buttonSetTopText);
146 this.Controls.Add(this.buttonAlignRight);
147 this.Controls.Add(this.buttonAlignCenter);
148 this.Controls.Add(this.buttonAlignLeft);
149 this.Controls.Add(this.textBoxBottom);
150 this.Controls.Add(this.textBoxTop);
151 this.Controls.Add(this.buttonSetText);
152 this.Name = "MainForm";
153 this.Text = "Client";
154 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
155 this.Load += new System.EventHandler(this.MainForm_Load);
156 this.ResumeLayout(false);
157 this.PerformLayout();
163 private System.Windows.Forms.Button buttonSetText;
164 private System.Windows.Forms.TextBox textBoxTop;
165 private System.Windows.Forms.TextBox textBoxBottom;
166 private System.Windows.Forms.Button buttonAlignRight;
167 private System.Windows.Forms.Button buttonAlignCenter;
168 private System.Windows.Forms.Button buttonAlignLeft;
169 private System.Windows.Forms.Button buttonSetTopText;
170 private System.Windows.Forms.Button buttonLayoutUpdate;
171 private System.Windows.Forms.Button buttonSetBitmap;
172 private System.Windows.Forms.Button buttonBitmapLayout;