All pastes #69720 Raw Edit

atsushieno

public text v1 · immutable
#69720 ·published 2006-06-23 10:39 UTC
rendered paste body
using 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);
        }
}