atsushieno
public text v1 · immutableusing System;
using System.Drawing;
using System.Windows.Forms;
public class Test : Form
{
public static void Main ()
{
Application.Run (new Test ());
}
public Test ()
{
Button b;
for (int i = 0; i < 3; i++) {
b = new Button ();
b.Dock = DockStyle.Right;
Controls.Add (b);
}
DomainUpDown n = new DomainUpDown ();
n.Dock = DockStyle.Top;
Controls.Add (n);
}
}