... аналогично задаются описания свойств всех элементов управления ... ... далее задаются свойства самой формы ... // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(528, 268); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.textBox2, this.label2, this.button1, this.textBox1, this.label1 }); this.Name = "Form1"; this.Text = "Приветствие"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); } #endregion Заметьте, в теге |