2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Mon, 19 Jun 2006 21:22:12 +0000 (21:22 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Mon, 19 Jun 2006 21:22:12 +0000 (21:22 -0000)
commit21c7b8a1176191f5739a7c7027b4f8b3a9d1f148
tree8fdf1075f64448eb8312e44232d79db389764c53
parent6f22c02bd7de4c5b96a16cc67463c5465220ab9e
2006-06-19  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - set_Enabled: OnEnabledChanged is not called if the inherited state
    of the control is not altered, even though  we might be changing the
    internal state of the control (#78458)
  - set_Enabled: (Re)Moved the enabling/disabling of the window to
    OnEnabledChanged, to allow easy altering of any child window state
  - OnEnabledChanged: Added code to enable/disable driver window state
  - OnParentEnabledChanged: Instead of firing the event, call
    OnEnabledChanged, which will fire the event and also a) set driver
    window state and pass the enabled state to any grandchildren (#78458)

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