📄 formtimer.designer.cs
字号:
namespace TimerExample
{
partial class FormTimer
{
/// <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.components = new System.ComponentModel.Container();
this.labelDisplay = new System.Windows.Forms.Label();
this.buttonOK = new System.Windows.Forms.Button();
this.timerMy = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// labelDisplay
//
this.labelDisplay.AutoSize = true;
this.labelDisplay.Location = new System.Drawing.Point(83, 41);
this.labelDisplay.Name = "labelDisplay";
this.labelDisplay.Size = new System.Drawing.Size(101, 12);
this.labelDisplay.TabIndex = 0;
this.labelDisplay.Text = "这里显示当前时间";
//
// buttonOK
//
this.buttonOK.Location = new System.Drawing.Point(111, 134);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(72, 25);
this.buttonOK.TabIndex = 1;
this.buttonOK.Text = "开始";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
//
// timerMy
//
this.timerMy.Interval = 1000;
this.timerMy.Tick += new System.EventHandler(this.timerMy_Tick);
//
// FormTimer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.buttonOK);
this.Controls.Add(this.labelDisplay);
this.Name = "FormTimer";
this.Text = "时钟显示窗体";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label labelDisplay;
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.Timer timerMy;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -