Public feed #722217

Stuff

public text v1 · immutable
Raw Edit
·published 2007-10-01 21:00 UTC
rendered paste body
using System;
using System.Windows.Forms;

class a
{
	static void Main ()
	{
		using (Form f = new Form ()) {
			TextBox t = new TextBox ();
			t.Text = "aiIj";
			//t.Padding = new Padding (4);
			t.BorderStyle = BorderStyle.None;
			t.TextAlign = HorizontalAlignment.Right;
			f.Controls.Add (t);
			
			TextBox t2 = new TextBox ();
			t2.Text = "aiIj";
			t2.Top = 25;
			t2.TextAlign = HorizontalAlignment.Right;
			f.Controls.Add (t2);
			
			TextBox t3 = new TextBox ();
			t3.Text = "aiIj";
			t3.Top = 50;
			t3.BorderStyle = BorderStyle.FixedSingle;
			t3.TextAlign = HorizontalAlignment.Right;
			f.Controls.Add (t3);
			
			f.ShowDialog ();
		}
	}
}