124 lines
4.5 KiB
C#
124 lines
4.5 KiB
C#
namespace _15_1
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.textboxC = new System.Windows.Forms.TextBox();
|
||
this.textboxF = new System.Windows.Forms.TextBox();
|
||
this.CtoF = new System.Windows.Forms.Button();
|
||
this.FtoC = new System.Windows.Forms.Button();
|
||
this.SuspendLayout();
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(33, 36);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(80, 18);
|
||
this.label1.TabIndex = 0;
|
||
this.label1.Text = "摄氏温度";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(352, 36);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(80, 18);
|
||
this.label2.TabIndex = 1;
|
||
this.label2.Text = "华氏温度";
|
||
//
|
||
// textboxC
|
||
//
|
||
this.textboxC.Location = new System.Drawing.Point(36, 68);
|
||
this.textboxC.Name = "textboxC";
|
||
this.textboxC.Size = new System.Drawing.Size(162, 28);
|
||
this.textboxC.TabIndex = 2;
|
||
//
|
||
// textboxF
|
||
//
|
||
this.textboxF.Location = new System.Drawing.Point(355, 68);
|
||
this.textboxF.Name = "textboxF";
|
||
this.textboxF.Size = new System.Drawing.Size(187, 28);
|
||
this.textboxF.TabIndex = 3;
|
||
//
|
||
// CtoF
|
||
//
|
||
this.CtoF.Location = new System.Drawing.Point(217, 46);
|
||
this.CtoF.Name = "CtoF";
|
||
this.CtoF.Size = new System.Drawing.Size(114, 29);
|
||
this.CtoF.TabIndex = 4;
|
||
this.CtoF.Text = "==>";
|
||
this.CtoF.UseVisualStyleBackColor = true;
|
||
this.CtoF.Click += new System.EventHandler(this.CtoF_Click);
|
||
//
|
||
// FtoC
|
||
//
|
||
this.FtoC.Location = new System.Drawing.Point(217, 90);
|
||
this.FtoC.Name = "FtoC";
|
||
this.FtoC.Size = new System.Drawing.Size(114, 31);
|
||
this.FtoC.TabIndex = 5;
|
||
this.FtoC.Text = "<==";
|
||
this.FtoC.UseVisualStyleBackColor = true;
|
||
this.FtoC.Click += new System.EventHandler(this.FtoC_Click);
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(562, 160);
|
||
this.Controls.Add(this.FtoC);
|
||
this.Controls.Add(this.CtoF);
|
||
this.Controls.Add(this.textboxF);
|
||
this.Controls.Add(this.textboxC);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.label1);
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "Form1";
|
||
this.ShowIcon = false;
|
||
this.ShowInTaskbar = false;
|
||
this.Text = "温标转换";
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.Button CtoF;
|
||
private System.Windows.Forms.Button FtoC;
|
||
public System.Windows.Forms.TextBox textboxC;
|
||
public System.Windows.Forms.TextBox textboxF;
|
||
}
|
||
}
|
||
|