NComboBox designer issue


Author
Message
Etienne-Louis Nicolet
Etienne-Louis Nicolet
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 1

(Using Visual Studio 2010 Professional, Nevron .Net Vision 2010.1)

 

I created a control that inherits from NComboBox ("MyNComboBox") as well as a class inheriting from NListBoxItem ("MyNListBoxItem"). MyNComboBox adds a MyNListBoxItem to its Items collection in the constructor.

Probably when building the project, the designer of the form or user control using MyNComboBox (usually but not always) adds one or more NListBoxItems (not the inherited MyNListBoxItems) to its items collection, all of them with the properties of the item I intend to add in the constructor.

How can I prevent this from happening?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search