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.
16.
17.
18.
private
TextBox[] textBoxArray;
19.
20.
public
Form1()
21.
{
22.
InitializeComponent();
23.
controlInit();
24.
}
25.
26.
private
void
controlInit()
27.
{
28.
textBoxArray =
new
TextBox[1];
29.
30.
31.
textBoxArray[0] =
new
TextBox();
32.
33.
textBoxArray[0].Font =
new
Font(
"MS UI Gothic"
, 12F, FontStyle.Regular, GraphicsUnit.Point, ((
byte
)(128)));
34.
35.
textBoxArray[0].Location =
new
Point(208, 42);
36.
37.
textBoxArray[0].Name =
"textBox1"
;
38.
39.
textBoxArray[0].Size =
new
Size(208, 23);
40.
41.
textBoxArray[0].TabIndex = 0;
42.
43.
Controls.Add(textBoxArray[0]);
44.
45.
}
46.
}
47.
}