I have the same question as this gentleman does
here , I will just copy and paste it here since he is articulating the issue better than I can.
I created a generic base class for a WinForm UserControl
public partial class BaseUserControl<T> : UserControl
public virtual void MyMethod<T>()
// some base stuff here
And a UserControl based on that:
public partial class MyControl : BaseUserControl<SomeClass>
public override void MyMethod<SomeClass>()
// some specific stuff here
It works fine, but MyControl cannot be edited in the VisualStudio Designer, because it says it cannot load the base class. I tried to define another class BaseUserControl, non generic, hoping it would load it, but the trick doesn't seem to work.
I already have a workaround: define an interface, IMyInterface<T>, and then create m
View Complete Post