Author: jackson
Date: 2005-04-27 14:09:45 -0400 (Wed, 27 Apr 2005)
New Revision: 43673

Modified:
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingManagerBase.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
Log:
        * BindingManagerBase.cs: Attach the current/position changed
        handlers to their respective events.



Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingManagerBase.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingManagerBase.cs
    2005-04-27 18:01:09 UTC (rev 43672)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingManagerBase.cs
    2005-04-27 18:09:45 UTC (rev 43673)
@@ -139,8 +139,15 @@
                }
 
                #region Events
-               public event EventHandler CurrentChanged;
-               public event EventHandler PositionChanged;
+               public event EventHandler CurrentChanged {
+                       add { onCurrentChangedHandler += value; }
+                       remove { onCurrentChangedHandler -= value; }
+               }
+
+               public event EventHandler PositionChanged {
+                       add { onPositionChangedHandler += value; }
+                       remove { onPositionChangedHandler -= value; }
+               }
                #endregion      // Events
        }
 }

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-27 18:01:09 UTC (rev 43672)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-27 18:09:45 UTC (rev 43673)
@@ -1,5 +1,10 @@
 2005-04-27  Jackson Harper  <[EMAIL PROTECTED]>
 
+       * BindingManagerBase.cs: Attach the current/position changed
+       handlers to their respective events.
+
+2005-04-27  Jackson Harper  <[EMAIL PROTECTED]>
+
        * Control.cs: Make sure that the first WM_PAINT does a full draw,
        not just a blit.
        * ThemeWin32Classic.cs: Don't fill the background for picture

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

Reply via email to