Author: jpobst
Date: 2008-02-08 16:48:24 -0500 (Fri, 08 Feb 2008)
New Revision: 95306

Modified:
   trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs
Log:
use Show, and ShowInTaskbar = false

Modified: 
trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs 
2008-02-08 21:46:07 UTC (rev 95305)
+++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs 
2008-02-08 21:48:24 UTC (rev 95306)
@@ -2845,6 +2845,7 @@
 
 #if NET_2_0
                        a = new AutoScaleForm (true);
+                       a.Show ();
                        Assert.AreEqual (new Size (184, 104), a.ClientSize, 
"B0");
                        Assert.AreEqual (new Rectangle (  4, 92, 114, 16), new 
Rectangle (a.hScrollBar1.Location, a.hScrollBar1.ClientSize), "B1");
                        Assert.AreEqual (new Rectangle (130, 64,  50, 36), new 
Rectangle (a.treeView1.Location, a.treeView1.ClientSize), "B2");
@@ -2909,6 +2910,8 @@
 
                public AutoScaleForm (bool use_new_auto_scale)
                {
+                       ShowInTaskbar = false;
+                       
                        SuspendLayout ();
 
                        listBox1.IntegralHeight = false;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to