* ContainerControl.cs: set activeControl for parent forms up the
authorAndreia Gaita <avidigal@novell.com>
Sat, 23 Dec 2006 01:18:51 +0000 (01:18 -0000)
committerAndreia Gaita <avidigal@novell.com>
Sat, 23 Dec 2006 01:18:51 +0000 (01:18 -0000)
commit2d441175588fcbe394a166cebb1e48550d4f7dc6
tree11ee52d25af8694a72fc2c17db67df5eac826972
parent8dc0ca10ed547a3cb45f4eb18dda23c5636d2d17
* ContainerControl.cs: set activeControl for parent forms up the
tree when the new activecontrol is a container.
When validating the active control, if it is a container, also
raise up the validation for it's active control. Fixes #80280

* Control.cs: Add internal property flag and check to prevent
Focus events from getting raised when Select() is called for
a ContainerControl. There are still too many focus events being
raised at the moment though.
Cleaned up the code a bit.

2006-12-22  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=69980
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs