Simplifying client construction.
Fixing our borders and sorting out our color issues.
Adding inverse colors options.
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();
42 this.buttonSetText.Location = new System.Drawing.Point(13, 132);
43 this.buttonSetText.Name = "buttonSetText";
44 this.buttonSetText.Size = new System.Drawing.Size(75, 23);
45 this.buttonSetText.TabIndex = 0;
46 this.buttonSetText.Text = "Set Text";
47 this.buttonSetText.UseVisualStyleBackColor = true;
48 this.buttonSetText.Click += new System.EventHandler(this.buttonSetText_Click);
52 this.textBoxTop.Location = new System.Drawing.Point(12, 31);
53 this.textBoxTop.Name = "textBoxTop";
54 this.textBoxTop.Size = new System.Drawing.Size(419, 20);
55 this.textBoxTop.TabIndex = 1;
59 this.textBoxBottom.Location = new System.Drawing.Point(12, 57);
60 this.textBoxBottom.Name = "textBoxBottom";
61 this.textBoxBottom.Size = new System.Drawing.Size(419, 20);
62 this.textBoxBottom.TabIndex = 2;
66 this.buttonAlignRight.Location = new System.Drawing.Point(176, 160);
67 this.buttonAlignRight.Name = "buttonAlignRight";
68 this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
69 this.buttonAlignRight.TabIndex = 23;
70 this.buttonAlignRight.Text = "Align Right";
71 this.buttonAlignRight.UseVisualStyleBackColor = true;
72 this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
76 this.buttonAlignCenter.Location = new System.Drawing.Point(94, 161);
77 this.buttonAlignCenter.Name = "buttonAlignCenter";
78 this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
79 this.buttonAlignCenter.TabIndex = 22;
80 this.buttonAlignCenter.Text = "Align Center";
81 this.buttonAlignCenter.UseVisualStyleBackColor = true;
82 this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
86 this.buttonAlignLeft.Location = new System.Drawing.Point(12, 161);
87 this.buttonAlignLeft.Name = "buttonAlignLeft";
88 this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
89 this.buttonAlignLeft.TabIndex = 21;
90 this.buttonAlignLeft.Text = "Align Left";
91 this.buttonAlignLeft.UseVisualStyleBackColor = true;
92 this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
96 this.buttonSetTopText.Location = new System.Drawing.Point(94, 132);
97 this.buttonSetTopText.Name = "buttonSetTopText";
98 this.buttonSetTopText.Size = new System.Drawing.Size(75, 23);
99 this.buttonSetTopText.TabIndex = 24;
100 this.buttonSetTopText.Text = "Set Top Text";
101 this.buttonSetTopText.UseVisualStyleBackColor = true;
102 this.buttonSetTopText.Click += new System.EventHandler(this.buttonSetTopText_Click);
106 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
107 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
108 this.ClientSize = new System.Drawing.Size(443, 252);
109 this.Controls.Add(this.buttonSetTopText);
110 this.Controls.Add(this.buttonAlignRight);
111 this.Controls.Add(this.buttonAlignCenter);
112 this.Controls.Add(this.buttonAlignLeft);
113 this.Controls.Add(this.textBoxBottom);
114 this.Controls.Add(this.textBoxTop);
115 this.Controls.Add(this.buttonSetText);
116 this.Name = "MainForm";
117 this.Text = "Client";
118 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
119 this.Load += new System.EventHandler(this.MainForm_Load);
120 this.ResumeLayout(false);
121 this.PerformLayout();
127 private System.Windows.Forms.Button buttonSetText;
128 private System.Windows.Forms.TextBox textBoxTop;
129 private System.Windows.Forms.TextBox textBoxBottom;
130 private System.Windows.Forms.Button buttonAlignRight;
131 private System.Windows.Forms.Button buttonAlignCenter;
132 private System.Windows.Forms.Button buttonAlignLeft;
133 private System.Windows.Forms.Button buttonSetTopText;