01.
using
System;
02.
using
System.Collections.Generic;
03.
using
System.ComponentModel;
04.
using
System.Data;
05.
using
System.Drawing;
06.
using
System.Linq;
07.
using
System.Text;
08.
using
System.Threading.Tasks;
09.
using
System.Windows.Forms;
10.
11.
namespace
BuildField
12.
{
13.
public
partial
class
Form1 : Form
14.
{
15.
private
TextBox textBox1;
16.
17.
public
Form1()
18.
{
19.
InitializeComponent();
20.
controlInit();
21.
}
22.
23.
private
void
controlInit()
24.
{
25.
26.
textBox1 =
new
TextBox();
27.
28.
textBox1.Font =
new
Font(
"MS UI Gothic"
, 12F, FontStyle.Regular, GraphicsUnit.Point, ((
byte
)(128)));
29.
30.
textBox1.Location =
new
Point(208, 42);
31.
32.
textBox1.Name =
"textBox1"
;
33.
34.
textBox1.Size =
new
Size(208, 23);
35.
36.
textBox1.TabIndex = 0;
37.
38.
Controls.Add(
this
.textBox1);
39.
40.
}
41.
}
42.
}