Author: toshok
Date: 2006-11-07 14:31:15 -0500 (Tue, 07 Nov 2006)
New Revision: 67484
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyManager.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RelatedPropertyManager.cs
Log:
* RelatedPropertyManager.cs: set property_name in our ctor. fixes
PropertyManager unit tests.
* PropertyManager.cs: make property_name internal.
2006-11-07 Chris Toshok <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-07 19:12:57 UTC (rev 67483)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-07 19:31:15 UTC (rev 67484)
@@ -1,5 +1,12 @@
2006-11-07 Chris Toshok <[EMAIL PROTECTED]>
+ * RelatedPropertyManager.cs: set property_name in our ctor. fixes
+ PropertyManager unit tests.
+
+ * PropertyManager.cs: make property_name internal.
+
+2006-11-07 Chris Toshok <[EMAIL PROTECTED]>
+
* ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
pass a unit test. Also, don't set image_index to anything in
response to setting the ImageList property.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyManager.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyManager.cs
2006-11-07 19:12:57 UTC (rev 67483)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyManager.cs
2006-11-07 19:31:15 UTC (rev 67484)
@@ -30,7 +30,7 @@
public class PropertyManager : BindingManagerBase {
- private string property_name;
+ internal string property_name;
private PropertyDescriptor prop_desc;
private object data_source;
private EventDescriptor changed_event;
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RelatedPropertyManager.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RelatedPropertyManager.cs
2006-11-07 19:12:57 UTC (rev 67483)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RelatedPropertyManager.cs
2006-11-07 19:31:15 UTC (rev 67484)
@@ -35,6 +35,8 @@
public RelatedPropertyManager (BindingManagerBase parent,
string property_name)
{
this.parent = parent;
+ this.property_name = property_name;
+
if (parent.Position != -1)
SetDataSource (parent.Current);
parent.PositionChanged += new EventHandler
(parent_PositionChanged);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches