137 lines
4.7 KiB
C#
137 lines
4.7 KiB
C#
|
namespace CSS_Solution.Forms
|
|||
|
{
|
|||
|
partial class Countdown
|
|||
|
{
|
|||
|
/// <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 组件设计器生成的代码
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 设计器支持所需的方法 - 不要修改
|
|||
|
/// 使用代码编辑器修改此方法的内容。
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
components = new System.ComponentModel.Container();
|
|||
|
Title = new Label();
|
|||
|
Delta_Time = new Label();
|
|||
|
millisecond = new Label();
|
|||
|
inaccuracies = new Label();
|
|||
|
info2 = new Label();
|
|||
|
info1 = new Label();
|
|||
|
refresh = new System.Windows.Forms.Timer(components);
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// Title
|
|||
|
//
|
|||
|
Title.AutoSize = true;
|
|||
|
Title.Font = new Font("Microsoft YaHei UI", 28F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|||
|
Title.ForeColor = Color.White;
|
|||
|
Title.Location = new Point(0, 0);
|
|||
|
Title.Name = "Title";
|
|||
|
Title.Size = new Size(163, 75);
|
|||
|
Title.TabIndex = 12;
|
|||
|
Title.Text = "Time";
|
|||
|
//
|
|||
|
// Delta_Time
|
|||
|
//
|
|||
|
Delta_Time.Font = new Font("Microsoft YaHei UI", 42F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|||
|
Delta_Time.ForeColor = Color.White;
|
|||
|
Delta_Time.Location = new Point(-8, 54);
|
|||
|
Delta_Time.Name = "Delta_Time";
|
|||
|
Delta_Time.Size = new Size(430, 110);
|
|||
|
Delta_Time.TabIndex = 13;
|
|||
|
Delta_Time.Text = "00:00:00";
|
|||
|
//
|
|||
|
// millisecond
|
|||
|
//
|
|||
|
millisecond.AutoSize = true;
|
|||
|
millisecond.ForeColor = Color.White;
|
|||
|
millisecond.Location = new Point(348, 122);
|
|||
|
millisecond.Name = "millisecond";
|
|||
|
millisecond.Size = new Size(32, 24);
|
|||
|
millisecond.TabIndex = 14;
|
|||
|
millisecond.Text = "00";
|
|||
|
//
|
|||
|
// inaccuracies
|
|||
|
//
|
|||
|
inaccuracies.AutoSize = true;
|
|||
|
inaccuracies.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|||
|
inaccuracies.ForeColor = Color.White;
|
|||
|
inaccuracies.Location = new Point(343, 67);
|
|||
|
inaccuracies.Name = "inaccuracies";
|
|||
|
inaccuracies.Size = new Size(42, 31);
|
|||
|
inaccuracies.TabIndex = 15;
|
|||
|
inaccuracies.Text = "+-";
|
|||
|
//
|
|||
|
// info2
|
|||
|
//
|
|||
|
info2.AutoSize = true;
|
|||
|
info2.ForeColor = Color.White;
|
|||
|
info2.Location = new Point(11, 191);
|
|||
|
info2.Name = "info2";
|
|||
|
info2.Size = new Size(273, 24);
|
|||
|
info2.TabIndex = 16;
|
|||
|
info2.Text = "START OF COURSE SELECTION";
|
|||
|
//
|
|||
|
// info1
|
|||
|
//
|
|||
|
info1.AutoSize = true;
|
|||
|
info1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|||
|
info1.ForeColor = Color.White;
|
|||
|
info1.Location = new Point(8, 155);
|
|||
|
info1.Name = "info1";
|
|||
|
info1.Size = new Size(131, 31);
|
|||
|
info1.TabIndex = 17;
|
|||
|
info1.Text = "EXPECTED";
|
|||
|
//
|
|||
|
// refresh
|
|||
|
//
|
|||
|
refresh.Interval = 10;
|
|||
|
refresh.Tick += refresh_Tick;
|
|||
|
//
|
|||
|
// Countdown
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
BackColor = Color.FromArgb(25, 25, 25);
|
|||
|
Controls.Add(Title);
|
|||
|
Controls.Add(info1);
|
|||
|
Controls.Add(info2);
|
|||
|
Controls.Add(millisecond);
|
|||
|
Controls.Add(inaccuracies);
|
|||
|
Controls.Add(Delta_Time);
|
|||
|
Name = "Countdown";
|
|||
|
Size = new Size(390, 226);
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label Title;
|
|||
|
private Label Delta_Time;
|
|||
|
private Label millisecond;
|
|||
|
private Label inaccuracies;
|
|||
|
private Label info2;
|
|||
|
private Label info1;
|
|||
|
private System.Windows.Forms.Timer refresh;
|
|||
|
}
|
|||
|
}
|