CollectionForm Designer Issue

C

Chris McKenzie

According to
http://msdn.microsoft.com/library/d...ctioneditorclasscreatecollectionformtopic.asp
I can inherit from CollectionEditor.CollectionForm. However, when I try to
inherit from the class, I get an error:
NodeCollectionEditor.vb(50):
'System.ComponentModel.Design.CollectionEditor.CollectionForm' is not
accessible in this context because it is 'Protected'.


Given the following Code, what am I missing?

Public Class NodeCollectionEditor

Inherits System.ComponentModel.Design.CollectionEditor

Protected Class NodeCollectionEditorForm

Inherits
System.ComponentModel.Design.CollectionEditor.CollectionForm

End Class

' CODE OMITTED FOR BREVITY


End Class

Thanks,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top