Form1.Designer.cs 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. namespace WindowsFormsTimer
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. this.label1 = new System.Windows.Forms.Label();
  30. this.textBox1 = new System.Windows.Forms.TextBox();
  31. this.button1 = new System.Windows.Forms.Button();
  32. this.timer1 = new System.Windows.Forms.Timer(this.components);
  33. this.SuspendLayout();
  34. //
  35. // label1
  36. //
  37. this.label1.AutoSize = true;
  38. this.label1.Location = new System.Drawing.Point(41, 13);
  39. this.label1.Name = "label1";
  40. this.label1.Size = new System.Drawing.Size(127, 15);
  41. this.label1.TabIndex = 0;
  42. this.label1.Text = "获取当前的时间:";
  43. //
  44. // textBox1
  45. //
  46. this.textBox1.Location = new System.Drawing.Point(44, 58);
  47. this.textBox1.Name = "textBox1";
  48. this.textBox1.Size = new System.Drawing.Size(274, 25);
  49. this.textBox1.TabIndex = 1;
  50. //
  51. // button1
  52. //
  53. this.button1.Location = new System.Drawing.Point(143, 115);
  54. this.button1.Name = "button1";
  55. this.button1.Size = new System.Drawing.Size(75, 30);
  56. this.button1.TabIndex = 2;
  57. this.button1.Text = "开始";
  58. this.button1.UseVisualStyleBackColor = true;
  59. this.button1.Click += new System.EventHandler(this.button1_Click);
  60. //
  61. // timer1
  62. //
  63. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  64. //
  65. // Form1
  66. //
  67. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  68. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  69. this.ClientSize = new System.Drawing.Size(349, 188);
  70. this.Controls.Add(this.button1);
  71. this.Controls.Add(this.textBox1);
  72. this.Controls.Add(this.label1);
  73. this.Name = "Form1";
  74. this.Text = "Form1";
  75. this.Load += new System.EventHandler(this.Form1_Load);
  76. this.ResumeLayout(false);
  77. this.PerformLayout();
  78. }
  79. #endregion
  80. private System.Windows.Forms.Label label1;
  81. private System.Windows.Forms.TextBox textBox1;
  82. private System.Windows.Forms.Button button1;
  83. private System.Windows.Forms.Timer timer1;
  84. }
  85. }