using System; using System.Drawing; using System.Windows.Forms; class Program : Form { TextBox textbox1; Program() { Width=800; Height=600; CenterToScreen(); textbox1 = new TextBox(); textbox1.Location = new Point(200, 200); textbox1.Multiline = true; textbox1.ScrollBars = ScrollBars.Vertical; textbox1.Dock = DockStyle.Fill; textbox1.AcceptsReturn = true; textbox1.AcceptsTab = true; textbox1.WordWrap = true; Controls.Add(textbox1); } static void Main() { Application.Run(new Program()); } }