We wish to create a WinForms Custom Control (which is derived from a .net control) and be able to drag and drop it from the tool box in the designer view. However we are unable to this whenever we have a control with generics because when the designer tries to create an instance of the class, for obvious reasons, it doesn't know what type the instance must be of.
Any one knows of a way around this ?
Thanks in advance
======edit===========
What we would like to do is have example:
public class MyDataGridView<T> : DataGridView where T : class{
...
}
by removing the generics we can see the preview in the designer as if it where a normal DataGridView but as I explained above with generics we are unable to use the designer.