System.ComponentModel.Design.CollectionEditor is currently a stubbed class. I prepared a patch to make it a NET_2_0 compatible stub.. Nothing spectacular. I'll try and have a more inside look into actuall implementing it assuming the proper System.Windows.Forms functionality is there.
Ta-da Shechter.
Index: class/System.Design/System.ComponentModel.Design/CollectionEditor.cs =================================================================== --- class/System.Design/System.ComponentModel.Design/CollectionEditor.cs (revision 64248) +++ class/System.Design/System.ComponentModel.Design/CollectionEditor.cs (working copy) @@ -32,6 +32,10 @@ using System.Windows.Forms.Design; using System.Drawing.Design; +#if NET_2_0 +using System.Collections; +#endif + namespace System.ComponentModel.Design { public class CollectionEditor : UITypeEditor @@ -254,5 +258,19 @@ { throw new NotImplementedException(); } + + #if NET_2_0 + [MonoTODO] + protected virtual string GetDisplayText (object value) + { + throw new NotImplementedException(); + } + + [MonoTODO] + protected virtual IList GetObjectsFromInstance (object instance) + { + throw new NotImplementedException(); + } + #endif } }
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list