From 5a602aa6057236a7ffe46709981efd8fcc1dcb39 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 30 Dec 2014 20:58:55 +0000 Subject: [PATCH] renamed elements --- unlock.Designer.cs | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/unlock.Designer.cs b/unlock.Designer.cs index 1c695da..acc5500 100644 --- a/unlock.Designer.cs +++ b/unlock.Designer.cs @@ -28,20 +28,20 @@ /// private void InitializeComponent() { - this.textBox1 = new System.Windows.Forms.TextBox(); + this.licenceInput = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); + this.unlockButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // - // textBox1 + // licenceInput // - this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox1.Location = new System.Drawing.Point(137, 111); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(283, 27); - this.textBox1.TabIndex = 0; + this.licenceInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.licenceInput.Location = new System.Drawing.Point(137, 111); + this.licenceInput.Name = "licenceInput"; + this.licenceInput.Size = new System.Drawing.Size(283, 27); + this.licenceInput.TabIndex = 0; // // label1 // @@ -76,32 +76,33 @@ this.label2.TabIndex = 3; this.label2.Text = "Licence Key:"; // - // button1 + // unlockButton // - this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.Location = new System.Drawing.Point(12, 144); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(408, 30); - this.button1.TabIndex = 4; - this.button1.Text = "Unlock"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + this.unlockButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.unlockButton.Location = new System.Drawing.Point(12, 144); + this.unlockButton.Name = "unlockButton"; + this.unlockButton.Size = new System.Drawing.Size(408, 30); + this.unlockButton.TabIndex = 4; + this.unlockButton.Text = "Unlock"; + this.unlockButton.UseVisualStyleBackColor = true; + this.unlockButton.Click += new System.EventHandler(this.button1_Click); // // unlock // - this.AcceptButton = this.button1; + this.AcceptButton = this.unlockButton; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(430, 186); - this.Controls.Add(this.button1); + this.Controls.Add(this.unlockButton); this.Controls.Add(this.label2); this.Controls.Add(this.textBox2); this.Controls.Add(this.label1); - this.Controls.Add(this.textBox1); + this.Controls.Add(this.licenceInput); this.MaximizeBox = false; this.Name = "unlock"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Pithos - Unlock"; + this.Load += new System.EventHandler(this.unlock_Load); this.ResumeLayout(false); this.PerformLayout(); @@ -109,11 +110,11 @@ #endregion - private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox licenceInput; private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label label2; - private System.Windows.Forms.Button button1; + public System.Windows.Forms.Button unlockButton; } }