In .:
commit57d361cf405a9300046a9efde1dce746f5f768e6
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 29 Dec 2006 06:07:22 +0000 (29 06:07 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 29 Dec 2006 06:07:22 +0000 (29 06:07 +0000)
treeac0a889a0c7b0bbe5263d4f4f1852098c75237ca
parente0ac3f1af060954f6ff000b7ca739ae8b312f159
In .:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add DefaultLayoutTest and
remove DockingTests.

In Test/System.Windows.Forms:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* ControlTest.cs: add a test to check whether parent.PerformLayout
is called from OnResized (it isn't).

* DefaultLayoutTest.cs: new file, add a bunch of anchor tests,
including the (not working) test case in bug #80336.  Move the
docking/undocking tests here.

In System.Windows.Forms:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* Control.cs: contrary to what the comment said, Control.Dock does
not supercede Control.Anchor - the last one you assign to decides
the layout behavior.  so we need to keep track of which was the
last set.  Also, fix some of the affected property arguments in
PerformLayout calls, and remove an redundant parent.PerformLayout
call in OnResized.

Add a VisibleInternal property, which returns is_visible.  We
can/should get rid of all the usage of this field elsewhere.

In System.Windows.Forms.Layout:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* DefaultLayout.cs: split out the various parts (docking,
anchoring) into separate methods.  make use of the
Control.ControlLayoutType property, as well as
Control.VisibleInternal (and fix a couple of unit tests which were
broken due to use of Visible here.)

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@70194 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/Managed.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
class/Managed.Windows.Forms/System.Windows.Forms_test.dll.sources
class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlTest.cs
class/Managed.Windows.Forms/Test/System.Windows.Forms/DefaultLayoutTest.cs [moved from class/Managed.Windows.Forms/Test/System.Windows.Forms/DockingTests.cs with 54% similarity]