29,28 → 29,49 |
private void InitializeComponent() |
{ |
this.components=new System.ComponentModel.Container(); |
this.timer=new System.Windows.Forms.Timer(this.components); |
this.panel1=new System.Windows.Forms.Panel(); |
this.settingsButton=new System.Windows.Forms.Button(); |
this.timeLabel=new System.Windows.Forms.Label(); |
this.timer=new System.Windows.Forms.Timer(this.components); |
this.panel1.SuspendLayout(); |
this.SuspendLayout(); |
// |
// timer |
// |
this.timer.Interval=50; |
this.timer.Tick+=new System.EventHandler(this.timer_Tick); |
// |
// panel1 |
// |
this.panel1.Controls.Add(this.settingsButton); |
this.panel1.Location=new System.Drawing.Point(2, 2); |
this.panel1.Name="panel1"; |
this.panel1.Size=new System.Drawing.Size(289, 30); |
this.panel1.TabIndex=1; |
// |
// settingsButton |
// |
this.settingsButton.Location=new System.Drawing.Point(3, 4); |
this.settingsButton.Name="settingsButton"; |
this.settingsButton.Size=new System.Drawing.Size(75, 23); |
this.settingsButton.TabIndex=3; |
this.settingsButton.Text="Settings"; |
this.settingsButton.UseVisualStyleBackColor=true; |
this.settingsButton.Click+=new System.EventHandler(this.settingsButton_Click); |
// |
// timeLabel |
// |
this.timeLabel.Anchor=((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top|System.Windows.Forms.AnchorStyles.Bottom) |
|System.Windows.Forms.AnchorStyles.Left) |
|System.Windows.Forms.AnchorStyles.Right))); |
this.timeLabel.BackColor=System.Drawing.SystemColors.Control; |
this.timeLabel.Font=new System.Drawing.Font("Courier New", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
this.timeLabel.Location=new System.Drawing.Point(0, 0); |
this.timeLabel.Location=new System.Drawing.Point(0, 35); |
this.timeLabel.Name="timeLabel"; |
this.timeLabel.Size=new System.Drawing.Size(293, 275); |
this.timeLabel.TabIndex=0; |
this.timeLabel.Size=new System.Drawing.Size(293, 239); |
this.timeLabel.TabIndex=2; |
this.timeLabel.Paint+=new System.Windows.Forms.PaintEventHandler(this.timeLabel_Paint); |
this.timeLabel.Click+=new System.EventHandler(this.MainForm_Click); |
// |
// timer |
// |
this.timer.Interval=1000; |
this.timer.Tick+=new System.EventHandler(this.timer_Tick); |
// |
// MainForm |
// |
this.AutoScaleDimensions=new System.Drawing.SizeF(6F, 13F); |
57,12 → 78,14 |
this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font; |
this.ClientSize=new System.Drawing.Size(292, 273); |
this.Controls.Add(this.timeLabel); |
this.Controls.Add(this.panel1); |
this.KeyPreview=true; |
this.Name="MainForm"; |
this.Text="akStopWatch"; |
this.Load+=new System.EventHandler(this.MainForm_Load); |
this.FormClosed+=new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed); |
this.KeyPress+=new System.Windows.Forms.KeyPressEventHandler(this.MainForm_KeyPress); |
this.Resize+=new System.EventHandler(this.MainForm_Resize); |
this.panel1.ResumeLayout(false); |
this.ResumeLayout(false); |
|
} |
69,8 → 92,10 |
|
#endregion |
|
private System.Windows.Forms.Timer timer; |
private System.Windows.Forms.Panel panel1; |
private System.Windows.Forms.Label timeLabel; |
private System.Windows.Forms.Timer timer; |
private System.Windows.Forms.Button settingsButton; |
} |
} |
|