103 lines
3.8 KiB
C#
103 lines
3.8 KiB
C#
namespace _15_4
|
||
{
|
||
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.components = new System.ComponentModel.Container();
|
||
this.Timer = new System.Windows.Forms.Label();
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.button2 = new System.Windows.Forms.Button();
|
||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||
this.SuspendLayout();
|
||
//
|
||
// Timer
|
||
//
|
||
this.Timer.AutoSize = true;
|
||
this.Timer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||
this.Timer.Font = new System.Drawing.Font("宋体", 28F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.Timer.Location = new System.Drawing.Point(24, 22);
|
||
this.Timer.Name = "Timer";
|
||
this.Timer.Size = new System.Drawing.Size(345, 58);
|
||
this.Timer.TabIndex = 0;
|
||
this.Timer.Text = "00:00:00:00";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(24, 117);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(152, 55);
|
||
this.button1.TabIndex = 1;
|
||
this.button1.Text = "开始";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// button2
|
||
//
|
||
this.button2.Location = new System.Drawing.Point(205, 117);
|
||
this.button2.Name = "button2";
|
||
this.button2.Size = new System.Drawing.Size(152, 55);
|
||
this.button2.TabIndex = 2;
|
||
this.button2.Text = "停止";
|
||
this.button2.UseVisualStyleBackColor = true;
|
||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||
//
|
||
// timer1
|
||
//
|
||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(398, 200);
|
||
this.Controls.Add(this.button2);
|
||
this.Controls.Add(this.button1);
|
||
this.Controls.Add(this.Timer);
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "Form1";
|
||
this.ShowIcon = false;
|
||
this.ShowInTaskbar = false;
|
||
this.Text = "计时器";
|
||
this.TopMost = true;
|
||
this.Load += new System.EventHandler(this.Form1_Load);
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Label Timer;
|
||
private System.Windows.Forms.Button button1;
|
||
private System.Windows.Forms.Button button2;
|
||
private System.Windows.Forms.Timer timer1;
|
||
}
|
||
}
|
||
|