fork download
  1. namespace WindowsFormsApplication2
  2.  
  3. {
  4.  
  5. partial class Form1
  6.  
  7. {
  8.  
  9. /// <summary>
  10.  
  11. /// 設計工具所需的變數。
  12.  
  13. /// </summary>
  14.  
  15. private System.ComponentModel.IContainer components = null;
  16.  
  17.  
  18.  
  19. /// <summary>
  20.  
  21. /// 清除任何使用中的資源。
  22.  
  23. /// </summary>
  24.  
  25. /// <param name="disposing">如果應該處置 Managed 資源則為 true,否則為 false。</param>
  26.  
  27. protected override void Dispose(bool disposing)
  28.  
  29. {
  30.  
  31. if (disposing && (components != null))
  32.  
  33. {
  34.  
  35. components.Dispose();
  36.  
  37. }
  38.  
  39. base.Dispose(disposing);
  40.  
  41. }
  42.  
  43.  
  44.  
  45. #region Windows Form 設計工具產生的程式碼
  46.  
  47.  
  48.  
  49. /// <summary>
  50.  
  51. /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器
  52.  
  53. /// 修改這個方法的內容。
  54.  
  55. /// </summary>
  56.  
  57. private void InitializeComponent()
  58.  
  59. {
  60.  
  61. this.panel1 = new System.Windows.Forms.Panel();
  62.  
  63. this.label1 = new System.Windows.Forms.Label();
  64.  
  65. this.button1 = new System.Windows.Forms.Button();
  66.  
  67. this.panel2 = new System.Windows.Forms.Panel();
  68.  
  69. this.label2 = new System.Windows.Forms.Label();
  70.  
  71. this.panel3 = new System.Windows.Forms.Panel();
  72.  
  73. this.label3 = new System.Windows.Forms.Label();
  74.  
  75. this.panel1.SuspendLayout();
  76.  
  77. this.panel2.SuspendLayout();
  78.  
  79. this.panel3.SuspendLayout();
  80.  
  81. this.SuspendLayout();
  82.  
  83. //
  84.  
  85. // panel1
  86.  
  87. //
  88.  
  89. this.panel1.Controls.Add(this.panel2);
  90.  
  91. this.panel1.Controls.Add(this.button1);
  92.  
  93. this.panel1.Controls.Add(this.label1);
  94.  
  95. this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
  96.  
  97. this.panel1.Location = new System.Drawing.Point(0, 0);
  98.  
  99. this.panel1.Name = "panel1";
  100.  
  101. this.panel1.Size = new System.Drawing.Size(580, 433);
  102.  
  103. this.panel1.TabIndex = 0;
  104.  
  105. this.panel1.Visible = false;
  106.  
  107. //
  108.  
  109. // label1
  110.  
  111. //
  112.  
  113. this.label1.AutoSize = true;
  114.  
  115. this.label1.Location = new System.Drawing.Point(57, 105);
  116.  
  117. this.label1.Name = "label1";
  118.  
  119. this.label1.Size = new System.Drawing.Size(33, 12);
  120.  
  121. this.label1.TabIndex = 0;
  122.  
  123. this.label1.Text = "label1";
  124.  
  125. //
  126.  
  127. // button1
  128.  
  129. //
  130.  
  131. this.button1.Location = new System.Drawing.Point(180, 255);
  132.  
  133. this.button1.Name = "button1";
  134.  
  135. this.button1.Size = new System.Drawing.Size(313, 114);
  136.  
  137. this.button1.TabIndex = 1;
  138.  
  139. this.button1.Text = "button1";
  140.  
  141. this.button1.UseVisualStyleBackColor = true;
  142.  
  143. this.button1.Click += new System.EventHandler(this.button1_Click_1);
  144.  
  145. //
  146.  
  147. // panel2
  148.  
  149. //
  150.  
  151. this.panel2.Controls.Add(this.panel3);
  152.  
  153. this.panel2.Controls.Add(this.label2);
  154.  
  155. this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
  156.  
  157. this.panel2.Location = new System.Drawing.Point(0, 0);
  158.  
  159. this.panel2.Name = "panel2";
  160.  
  161. this.panel2.Size = new System.Drawing.Size(580, 433);
  162.  
  163. this.panel2.TabIndex = 2;
  164.  
  165. this.panel2.Visible = false;
  166.  
  167. //
  168.  
  169. // label2
  170.  
  171. //
  172.  
  173. this.label2.AutoSize = true;
  174.  
  175. this.label2.Location = new System.Drawing.Point(111, 131);
  176.  
  177. this.label2.Name = "label2";
  178.  
  179. this.label2.Size = new System.Drawing.Size(33, 12);
  180.  
  181. this.label2.TabIndex = 0;
  182.  
  183. this.label2.Text = "label2";
  184.  
  185. //
  186.  
  187. // panel3
  188.  
  189. //
  190.  
  191. this.panel3.Controls.Add(this.label3);
  192.  
  193. this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
  194.  
  195. this.panel3.Location = new System.Drawing.Point(0, 0);
  196.  
  197. this.panel3.Name = "panel3";
  198.  
  199. this.panel3.Size = new System.Drawing.Size(580, 433);
  200.  
  201. this.panel3.TabIndex = 1;
  202.  
  203. this.panel3.Visible = false;
  204.  
  205. //
  206.  
  207. // label3
  208.  
  209. //
  210.  
  211. this.label3.AutoSize = true;
  212.  
  213. this.label3.Location = new System.Drawing.Point(123, 141);
  214.  
  215. this.label3.Name = "label3";
  216.  
  217. this.label3.Size = new System.Drawing.Size(33, 12);
  218.  
  219. this.label3.TabIndex = 0;
  220.  
  221. this.label3.Text = "label3";
  222.  
  223. //
  224.  
  225. // Form1
  226.  
  227. //
  228.  
  229. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  230.  
  231. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  232.  
  233. this.ClientSize = new System.Drawing.Size(580, 433);
  234.  
  235. this.Controls.Add(this.panel1);
  236.  
  237. this.Name = "Form1";
  238.  
  239. this.Text = "Form1";
  240.  
  241. this.panel1.ResumeLayout(false);
  242.  
  243. this.panel1.PerformLayout();
  244.  
  245. this.panel2.ResumeLayout(false);
  246.  
  247. this.panel2.PerformLayout();
  248.  
  249. this.panel3.ResumeLayout(false);
  250.  
  251. this.panel3.PerformLayout();
  252.  
  253. this.ResumeLayout(false);
  254.  
  255.  
  256.  
  257. }
  258.  
  259.  
  260.  
  261. #endregion
  262.  
  263.  
  264.  
  265. private System.Windows.Forms.Panel panel1;
  266.  
  267. private System.Windows.Forms.Button button1;
  268.  
  269. private System.Windows.Forms.Label label1;
  270.  
  271. private System.Windows.Forms.Panel panel2;
  272.  
  273. private System.Windows.For
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
namespace WindowsFormsApplication2
^
Main.java:27: error: <identifier> expected
        protected override void Dispose(bool disposing)
                          ^
Main.java:27: error: invalid method declaration; return type required
        protected override void Dispose(bool disposing)
                                ^
Main.java:45: error: illegal character: \35
        #region Windows Form ??????????
        ^
Main.java:45: error: ';' expected
        #region Windows Form ??????????
                            ^
Main.java:45: error: <identifier> expected
        #region Windows Form ??????????
                                       ^
Main.java:261: error: illegal character: \35
        #endregion
        ^
Main.java:273: error: reached end of file while parsing
        private System.Windows.For
                                  ^
8 errors
stdout
Standard output is empty