87 lines
3.4 KiB
C#
87 lines
3.4 KiB
C#
|
namespace TestProject
|
|||
|
{
|
|||
|
partial class Form1
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.testLabel = new System.Windows.Forms.Label();
|
|||
|
this.normalButton = new System.Windows.Forms.Button();
|
|||
|
this.clearButton = new System.Windows.Forms.Button();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// testLabel
|
|||
|
//
|
|||
|
this.testLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|||
|
this.testLabel.Location = new System.Drawing.Point(12, 9);
|
|||
|
this.testLabel.Name = "testLabel";
|
|||
|
this.testLabel.Size = new System.Drawing.Size(186, 17);
|
|||
|
this.testLabel.TabIndex = 0;
|
|||
|
this.testLabel.Text = "Oh no! Please don\'t clear my text!";
|
|||
|
this.testLabel.TextAlign = System.Drawing.ContentAlignment.BottomRight;
|
|||
|
//
|
|||
|
// normalButton
|
|||
|
//
|
|||
|
this.normalButton.Location = new System.Drawing.Point(12, 29);
|
|||
|
this.normalButton.Name = "normalButton";
|
|||
|
this.normalButton.Size = new System.Drawing.Size(73, 41);
|
|||
|
this.normalButton.TabIndex = 1;
|
|||
|
this.normalButton.Text = "H&i, I\'m a button";
|
|||
|
this.normalButton.UseVisualStyleBackColor = true;
|
|||
|
this.normalButton.Click += new System.EventHandler(this.normalButton_Click);
|
|||
|
//
|
|||
|
// clearButton
|
|||
|
//
|
|||
|
this.clearButton.Location = new System.Drawing.Point(91, 29);
|
|||
|
this.clearButton.Name = "clearButton";
|
|||
|
this.clearButton.Size = new System.Drawing.Size(107, 41);
|
|||
|
this.clearButton.TabIndex = 2;
|
|||
|
this.clearButton.Text = "C&lear";
|
|||
|
this.clearButton.UseVisualStyleBackColor = true;
|
|||
|
this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(210, 84);
|
|||
|
this.Controls.Add(this.clearButton);
|
|||
|
this.Controls.Add(this.normalButton);
|
|||
|
this.Controls.Add(this.testLabel);
|
|||
|
this.Name = "Form1";
|
|||
|
this.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|||
|
this.Text = "Hello Momma";
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label testLabel;
|
|||
|
private Button normalButton;
|
|||
|
private Button clearButton;
|
|||
|
}
|
|||
|
}
|