title: ‏GenericArguments[0], 'EntityGenericBase`1[TModel]' violates the constraint of type parameter 'TModel'
body: <p>Can someone help me in resolving this issue:
  I created a Generic Base "User Control" using c# Winforms as fellow:</p>
  
  <pre><code>public class EntityGenericBase&lt;TModel&gt; : UserControl
      where TModel : class, IEntityClass, new()
  {}
  </code></pre>
  
  <p>and i have created another User Control that inherits "EntityGenericBase" above as fellow:</p>
  
  <pre><code>public class DepartmentView : EntityGenericBase&lt;Department&gt;
  {
      public DepartmentView():base()
      {
          InitializeComponent();
      }
  }
  </code></pre>
  
  <p>But unluckily when i try to view the user control in design mode, i receive the following error:</p>
  
  <p>GenericArguments[0], 'Department', on 'EntityGenericBase`1[TModel]' violates the constraint of type parameter 'TModel’.</p>
  
  <h1>I can still run the application without any problem.</h1>
  
  <p>Remark: When i remove the constraint "where clause", everything works fine.</p>
  
  <h1>I use "Visual Studio Community 2017"</h1>