Author: jackson
Date: 2005-06-13 11:02:01 -0400 (Mon, 13 Jun 2005)
New Revision: 45878

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
Log:

        * TreeView.cs: Remove some TODOS.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-06-13 14:50:48 UTC (rev 45877)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-06-13 15:02:01 UTC (rev 45878)
@@ -1,5 +1,9 @@
 2005-06-13  Jackson Harper  <[EMAIL PROTECTED]>
 
+       * TreeView.cs: Remove some TODOS.
+
+2005-06-13  Jackson Harper  <[EMAIL PROTECTED]>
+
        * Form.cs: Hook into the mdi framework.
        * MdiClient.cs: Use the base control collections add method so
        parents get setup correctly. Set the default back colour and dock

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs      
2005-06-13 14:50:48 UTC (rev 45877)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs      
2005-06-13 15:02:01 UTC (rev 45878)
@@ -204,15 +204,20 @@
                                        throw new ArgumentException ("'" + 
value + "' is not a valid value for 'value'. " +
                                                "'value' must be greater than 
or equal to 0.");
                                }
+                               if (image_index == value)
+                                       return;
                                image_index = value;
+                               Refresh ();
                        }
                }
 
-               [MonoTODO ("Anything special need to be done here?")]
                [DefaultValue(null)]
                public ImageList ImageList {
                        get { return image_list; }
-                       set { image_list = value; }
+                       set {
+                               image_list = value;
+                               Refresh ();
+                       }
                }
 
                [Localizable(true)]
@@ -394,7 +399,6 @@
                #endregion      // Public Instance Properties
 
                #region Protected Instance Properties
-               [MonoTODO ("Anything extra needed here?")]
                protected override CreateParams CreateParams {
                        get {
                                CreateParams cp = base.CreateParams;
@@ -474,7 +478,6 @@
                        base.Dispose (disposing);
                }
 
-               [MonoTODO ("What does the state effect?")]
                protected OwnerDrawPropertyBag GetItemRenderStyles (TreeNode 
node, int state) {
                        return node.prop_bag;
                }

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

Reply via email to