2010-04-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Fri, 16 Apr 2010 20:10:25 +0000 (20:10 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Fri, 16 Apr 2010 20:10:25 +0000 (20:10 -0000)
commit6987055b1360741ded97e9dc7a2f63b9ae3bb83e
tree1b728385e8ad05003f0198c8f53a7358ca94e8ba
parent16ddfc8986565f913d716b8e6d8dafcb5998c2b2
2010-04-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNodeCollection.cs: When adding/inserting/setting a new node call
TreeView.Sort if needed, and update/recalculate this entire
collection in that case.
* TreeView.cs: Make 'sorted' internal, instead of directly using
Sorted, as this one could trigger a complete Sort() operation.

svn path=/trunk/mcs/; revision=155655
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNodeCollection.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs