title: Is it Possible to Make a Generic Control in .Net 3.5?
body: <p>I've got the following Generic usercontrol declared:</p>
  
  <pre><code>public partial class MessageBase&lt;T&gt; : UserControl
      {
          protected T myEntry;
          public MessageBase()
          {
              InitializeComponent();
          }
          public MessageBase(T newEntry)
          {
              InitializeComponent();
              myEntry = newEntry;
          }    
      }
  }
  </code></pre>
  
  <p>But the compiler won't allow me to do this:</p>
  
  <pre><code>public partial class MessageControl : MessageBase&lt;Post&gt;
  {
      public MessageControl()
      {
          InitializeComponent();
      }
  }
  </code></pre>
  
  <p>How do I create a generic user control in C#?</p>