All pastes #540328 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-05 15:54 UTC
rendered paste body
		[Test]
		public void AutoSizeGrowOnly ()
		{
			Form f = new Form ();
			f.ShowInTaskbar = false;
			f.AutoSize = true;

			Button b = new Button ();
			b.Size = new Size (200, 200);
			b.Location = new Point (200, 200);
			f.Controls.Add (b);

			f.Show ();

			Assert.AreEqual (new Size (403, 403), f.ClientSize, "A1");
		}