FormFuni.cs (1544B)
1 using System; 2 using System.Windows.Forms; 3 using System.Threading; 4 using System.Resources; 5 using Funi; 6 7 namespace Funi 8 { 9 public class FormFuni : Form 10 { 11 public FormFuni() 12 { 13 InitializeComponent(); 14 } 15 16 private static System.Resources.ResourceManager res = new System.Resources.ResourceManager("funigui.Resources", typeof(FormFuni).Assembly); 17 18 private void InitializeComponent() 19 { 20 this.text1 = new System.Windows.Forms.Label(); 21 this.SuspendLayout(); 22 string greeting = res.GetString("greeting"); 23 // text1 24 this.text1.Dock = System.Windows.Forms.DockStyle.Top; 25 this.text1.Location = new System.Drawing.Point(0, 0); 26 this.text1.Name = "text1"; 27 this.text1.Text = greeting + Func.func3(4).ToString(); 28 this.text1.Size = new System.Drawing.Size(289, 369); 29 this.text1.TabIndex = 0; 30 /// text1 31 // FormFuni 32 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 33 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 34 this.ClientSize = new System.Drawing.Size(200, 200); 35 this.Controls.Add(this.text1); 36 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 37 this.Name = "FormFuni"; 38 this.Text = greeting; 39 /// FormFuni 40 this.ResumeLayout(false); 41 42 } 43 44 private System.Windows.Forms.Label text1; 45 } 46 }