Generic controls

R

Romain TAILLANDIER

Hi group

I have created a generic control (winform) which is like a ComboBox,
displaying a ListView instead of a ListBox, and allow to select a
strongly type item. All the items are of the same type, and the
datasource is a List<> of that type.

public class Selector<E> : Control where E : class
{
public List<E> Datasource {get;set;}
public E SelectedItem {get;set;}

}


it is work very fine !
BUT it always crush the designer, which seems to never know what to do
with this control.

How can i integrate it in the designer ?

thank you
 
G

guyWITHproblem

How can i integrate it in the designer ?
That is I think beyond your scope, what disgner or how it work only
boys from msft knows.
 

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

Top