title: Inherited control will not display in designer
body: <p>Trying to create a simple custom control in C# Winforms that inherits from Panel, but as soon as I change it to inherit from "Panel" instead of "UserControl" I get this error:</p>
  
  <p><img src="https://i.stack.imgur.com/06tTG.png" alt="enter image description here"></p>
  
  <p>Here's the code for the entire class:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Drawing;
  using System.Data;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace SETPaint
  {
      public partial class Canvas : Panel
      {
          public Canvas()
          {
          InitializeComponent();
          }
  
          private void Canvas_Load(object sender, EventArgs e)
          {
  
          }
      }
  }
  </code></pre>