Author: jackson
Date: 2005-02-27 19:11:58 -0500 (Sun, 27 Feb 2005)
New Revision: 41271
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
Log:
* CurrencyManager.cs: Add PositionChanged stuff.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-02-27 23:56:08 UTC (rev 41270)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-02-28 00:11:58 UTC (rev 41271)
@@ -1,3 +1,7 @@
+2005-02-27 Jackson Harper <[EMAIL PROTECTED]>
+
+ * CurrencyManager.cs: Add PositionChanged stuff.
+
2005-02-27 Peter Bartok <[EMAIL PROTECTED]>
* XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
2005-02-27 23:56:08 UTC (rev 41270)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
2005-02-28 00:11:58 UTC (rev 41271)
@@ -79,6 +79,7 @@
return;
listposition = value;
OnCurrentChanged (EventArgs.Empty);
+ OnPositionChanged (EventArgs.Empty);
}
}
@@ -149,6 +150,13 @@
ItemChanged (this, e);
}
+ protected virtual void OnPositionChanged (EventArgs e)
+ {
+ if (onPositionChangedHandler == null)
+ return;
+ onPositionChangedHandler (this, e);
+ }
+
protected internal override string GetListName (ArrayList
accessors)
{
if (list is ITypedList) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches