fork download
  1. namespace jokes
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 設計工具所需的變數。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9.  
  10. /// <summary>
  11. /// 清除任何使用中的資源。
  12. /// </summary>
  13. /// <param name="disposing">如果應該處置 Managed 資源則為 true,否則為 false。</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22.  
  23. #region Windows Form 設計工具產生的程式碼
  24.  
  25. /// <summary>
  26. /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
  27. /// 修改這個方法的內容。
  28. /// </summary>
  29. private void InitializeComponent()
  30. {
  31. this.components = new System.ComponentModel.Container();
  32. this.textBox1 = new System.Windows.Forms.TextBox();
  33. this.button1 = new System.Windows.Forms.Button();
  34. this.button2 = new System.Windows.Forms.Button();
  35. this.button3 = new System.Windows.Forms.Button();
  36. this.checkBox1 = new System.Windows.Forms.CheckBox();
  37. this.time = new System.Windows.Forms.Timer(this.components);
  38. this.countdown = new System.Windows.Forms.Timer(this.components);
  39. this.label1 = new System.Windows.Forms.Label();
  40. this.label2 = new System.Windows.Forms.Label();
  41. this.groupBox1 = new System.Windows.Forms.GroupBox();
  42. this.button5 = new System.Windows.Forms.Button();
  43. this.button4 = new System.Windows.Forms.Button();
  44. this.label3 = new System.Windows.Forms.Label();
  45. this.webloading = new System.Windows.Forms.Timer(this.components);
  46. this.groupBox1.SuspendLayout();
  47. this.SuspendLayout();
  48. //
  49. // textBox1
  50. //
  51. this.textBox1.AcceptsReturn = true;
  52. this.textBox1.AcceptsTab = true;
  53. this.textBox1.BackColor = System.Drawing.Color.White;
  54. this.textBox1.ForeColor = System.Drawing.Color.Black;
  55. this.textBox1.Location = new System.Drawing.Point(44, 51);
  56. this.textBox1.Multiline = true;
  57. this.textBox1.Name = "textBox1";
  58. this.textBox1.ReadOnly = true;
  59. this.textBox1.Size = new System.Drawing.Size(430, 290);
  60. this.textBox1.TabIndex = 0;
  61. this.textBox1.TabStop = false;
  62. //
  63. // button1
  64. //
  65. this.button1.Location = new System.Drawing.Point(44, 377);
  66. this.button1.Name = "button1";
  67. this.button1.Size = new System.Drawing.Size(75, 23);
  68. this.button1.TabIndex = 1;
  69. this.button1.Text = "笑話1";
  70. this.button1.UseVisualStyleBackColor = true;
  71. this.button1.Click += new System.EventHandler(this.button1_Click);
  72. //
  73. // button2
  74. //
  75. this.button2.Location = new System.Drawing.Point(148, 377);
  76. this.button2.Name = "button2";
  77. this.button2.Size = new System.Drawing.Size(75, 23);
  78. this.button2.TabIndex = 2;
  79. this.button2.Text = "笑話2";
  80. this.button2.UseVisualStyleBackColor = true;
  81. this.button2.Click += new System.EventHandler(this.button2_Click);
  82. //
  83. // button3
  84. //
  85. this.button3.Location = new System.Drawing.Point(250, 377);
  86. this.button3.Name = "button3";
  87. this.button3.Size = new System.Drawing.Size(75, 23);
  88. this.button3.TabIndex = 3;
  89. this.button3.Text = "笑話3";
  90. this.button3.UseVisualStyleBackColor = true;
  91. this.button3.Click += new System.EventHandler(this.button3_Click);
  92. //
  93. // checkBox1
  94. //
  95. this.checkBox1.AutoSize = true;
  96. this.checkBox1.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  97. this.checkBox1.Location = new System.Drawing.Point(6, 26);
  98. this.checkBox1.Name = "checkBox1";
  99. this.checkBox1.Size = new System.Drawing.Size(91, 20);
  100. this.checkBox1.TabIndex = 4;
  101. this.checkBox1.Text = "自動更新";
  102. this.checkBox1.UseVisualStyleBackColor = true;
  103. this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
  104. //
  105. // time
  106. //
  107. this.time.Enabled = true;
  108. this.time.Tick += new System.EventHandler(this.time_Tick);
  109. //
  110. // countdown
  111. //
  112. this.countdown.Interval = 1000;
  113. this.countdown.Tick += new System.EventHandler(this.countdown_Tick);
  114. //
  115. // label1
  116. //
  117. this.label1.AutoSize = true;
  118. this.label1.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  119. this.label1.Location = new System.Drawing.Point(253, 558);
  120. this.label1.Name = "label1";
  121. this.label1.Size = new System.Drawing.Size(72, 13);
  122. this.label1.TabIndex = 5;
  123. this.label1.Text = "現在時間:";
  124. //
  125. // label2
  126. //
  127. this.label2.AutoSize = true;
  128. this.label2.Location = new System.Drawing.Point(101, 22);
  129. this.label2.Name = "label2";
  130. this.label2.Size = new System.Drawing.Size(0, 16);
  131. this.label2.TabIndex = 6;
  132. //
  133. // groupBox1
  134. //
  135. this.groupBox1.Controls.Add(this.button5);
  136. this.groupBox1.Controls.Add(this.checkBox1);
  137. this.groupBox1.Controls.Add(this.label2);
  138. this.groupBox1.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  139. this.groupBox1.Location = new System.Drawing.Point(44, 436);
  140. this.groupBox1.Name = "groupBox1";
  141. this.groupBox1.Size = new System.Drawing.Size(252, 108);
  142. this.groupBox1.TabIndex = 8;
  143. this.groupBox1.TabStop = false;
  144. this.groupBox1.Text = "其他功能";
  145. //
  146. // button5
  147. //
  148. this.button5.Location = new System.Drawing.Point(6, 52);
  149. this.button5.Name = "button5";
  150. this.button5.Size = new System.Drawing.Size(198, 32);
  151. this.button5.TabIndex = 7;
  152. this.button5.Text = "從小番薯下載最新笑話";
  153. this.button5.UseVisualStyleBackColor = true;
  154. this.button5.Click += new System.EventHandler(this.button5_Click);
  155. //
  156. // button4
  157. //
  158. this.button4.Location = new System.Drawing.Point(362, 377);
  159. this.button4.Name = "button4";
  160. this.button4.Size = new System.Drawing.Size(75, 23);
  161. this.button4.TabIndex = 9;
  162. this.button4.Text = "離開";
  163. this.button4.UseVisualStyleBackColor = true;
  164. this.button4.Click += new System.EventHandler(this.button4_Click);
  165. //
  166. // label3
  167. //
  168. this.label3.AutoSize = true;
  169. this.label3.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  170. this.label3.Location = new System.Drawing.Point(48, 19);
  171. this.label3.Name = "label3";
  172. this.label3.Size = new System.Drawing.Size(104, 16);
  173. this.label3.TabIndex = 10;
  174. this.label3.Text = "今天的笑話:";
  175. //
  176. // webloading
  177. //
  178. this.webloading.Interval = 5000;
  179. //
  180. // Form1
  181. //
  182. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  183. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  184. this.ClientSize = new System.Drawing.Size(503, 577);
  185. this.Controls.Add(this.label3);
  186. this.Controls.Add(this.button4);
  187. this.Controls.Add(this.groupBox1);
  188. this.Controls.Add(this.label1);
  189. this.Controls.Add(this.button3);
  190. this.Controls.Add(this.button2);
  191. this.Controls.Add(this.button1);
  192. this.Controls.Add(this.textBox1);
  193. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  194. this.MaximizeBox = false;
  195. this.Name = "Form1";
  196. this.Text = "jokes";
  197. this.Load += new System.EventHandler(this.Form1_Load);
  198. this.groupBox1.ResumeLayout(false);
  199. this.groupBox1.PerformLayout();
  200. this.ResumeLayout(false);
  201. this.PerformLayout();
  202.  
  203. }
  204.  
  205. #endregion
  206.  
  207. private System.Windows.Forms.TextBox textBox1;
  208. private System.Windows.Forms.Button button1;
  209. private System.Windows.Forms.Button button2;
  210. private System.Windows.Forms.Button button3;
  211. private System.Windows.Forms.CheckBox checkBox1;
  212. private System.Windows.Forms.Timer time;
  213. private System.Windows.Forms.Timer countdown;
  214. private System.Windows.Forms.Label label1;
  215. private System.Windows.Forms.Label label2;
  216. private System.Windows.Forms.GroupBox groupBox1;
  217. private System.Windows.Forms.Button button4;
  218. private System.Windows.Forms.Label label3;
  219. private System.Windows.Forms.Button button5;
  220. private System.Windows.Forms.Timer webloading;
  221. }
  222. }
  223.  
  224.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(207,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(208,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(209,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(210,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(211,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(212,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(213,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(214,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(215,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(216,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(217,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(218,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(219,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(220,24): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
prog.cs(14,33): error CS0115: `jokes.Form1.Dispose(bool)' is marked as an override but no suitable method found to override
Compilation failed: 15 error(s), 0 warnings
stdout
Standard output is empty