title: Instantiation of User Controls dissapearing on InitalizeComponent() when modifiyng Form
body: <p>Hi everyone and thank you in advance.
  I have created a User Control named PanelOption that is a panel with a CheckBox and a TextBox, and these are inside a FlowPanelLayOut.
  It runs well and everything works perfectly.</p>
  <p>The problem comes when I modify the form where these PanelOption are. They dissapear from the InitializeComponent method as I show you below:</p>
  <pre><code>private void InitializeComponent()
      {
          this.components = new System.ComponentModel.Container();
          System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CrearMultipleForm));
          this.txtEnunciado = new System.Windows.Forms.TextBox();
          this.txtPuntaje = new System.Windows.Forms.TextBox();
          this.lblPuntaje = new System.Windows.Forms.Label();
          this.lbNumPreg = new System.Windows.Forms.Label();
          this.FlowPanelOpciones = new System.Windows.Forms.FlowLayoutPanel();
          this.panelOptionSM1 = new Custom_Components.PanelOption('A');
          this.panelOptionSM2 = new Custom_Components.PanelOption('C');
          this.panelOptionSM3 = new Custom_Components.PanelOption('B');
          this.panelOptionSM4 = new Custom_Components.PanelOption('D');
          this.panel2 = new System.Windows.Forms.Panel();
          this.botonMinus = new QuizifyIU.Controles_Personalizados.Boton();
          this.botonPlus = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnCrear = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnCancelar = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnRespAbierta = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnVF = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnMultiple = new QuizifyIU.Controles_Personalizados.Boton();
          this.flowLayoutPanel1.SuspendLayout();
          this.panel1.SuspendLayout();
          this.FlowPanelOpciones.SuspendLayout();
          this.panel2.SuspendLayout();
          this.SuspendLayout();
  </code></pre>
  <p>Here you can see the objects panelOptionSM1, panelOptionSM2... being instantiated . But as I said when I modify the form on the designer, Visual Studio removes the instantiation of the objects like this:</p>
  <pre><code>private void InitializeComponent()
      {
          this.components = new System.ComponentModel.Container();
          System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CrearMultipleForm));
          this.txtEnunciado = new System.Windows.Forms.TextBox();
          this.txtPuntaje = new System.Windows.Forms.TextBox();
          this.lblPuntaje = new System.Windows.Forms.Label();
          this.lbNumPreg = new System.Windows.Forms.Label();
          this.FlowPanelOpciones = new System.Windows.Forms.FlowLayoutPanel();
          this.panel2 = new System.Windows.Forms.Panel();
          this.botonMinus = new QuizifyIU.Controles_Personalizados.Boton();
          this.botonPlus = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnCrear = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnCancelar = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnRespAbierta = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnVF = new QuizifyIU.Controles_Personalizados.Boton();
          this.btnMultiple = new QuizifyIU.Controles_Personalizados.Boton();
          this.flowLayoutPanel1.SuspendLayout();
          this.panel1.SuspendLayout();
          this.FlowPanelOpciones.SuspendLayout();
          this.panel2.SuspendLayout();
          this.SuspendLayout();
  </code></pre>
  <p>The funny part is that the rest of the code concerning these objects remains untouched regardless of modifying the form. The rest of the code I am refereing:</p>
  <pre><code>// panelOpcionSM1
          // 
          this.panelOptionSM1.BackColor = System.Drawing.Color.Transparent;
          this.panelOptionSM1.Location = new System.Drawing.Point(3, 3);
          this.panelOptionSM1.Name = &quot;panelOpcionSM1&quot;;
          this.panelOptionSM1.Size = new System.Drawing.Size(520, 48);
          this.panelOptionSM1.TabIndex = 110;
          // 
          // panelOpcionSM4
          // 
          this.panelOptionSM4.BackColor = System.Drawing.Color.Transparent;
          this.panelOptionSM4.Location = new System.Drawing.Point(3, 57);
          this.panelOptionSM4.Name = &quot;panelOpcionSM4&quot;;
          this.panelOptionSM4.Size = new System.Drawing.Size(520, 48);
          this.panelOptionSM4.TabIndex = 112;
          // 
          // panelOpcionSM2
          // 
          this.panelOptionSM2.BackColor = System.Drawing.Color.Transparent;
          this.panelOptionSM2.Location = new System.Drawing.Point(3, 111);
          this.panelOptionSM2.Name = &quot;panelOpcionSM2&quot;;
          this.panelOptionSM2.Size = new System.Drawing.Size(520, 48);
          this.panelOptionSM2.TabIndex = 111;
          // 
          // panelOpcionSM3
          // 
          this.panelOptionSM3.BackColor = System.Drawing.Color.Transparent;
          this.panelOptionSM3.Location = new System.Drawing.Point(3, 165);
          this.panelOptionSM3.Name = &quot;panelOpcionSM3&quot;;
          this.panelOptionSM3.Size = new System.Drawing.Size(525, 48);
          this.panelOptionSM3.TabIndex = 109;
  </code></pre>
  <p>And also:</p>
  <pre><code>private Custom_Components.PanelOption panelOptionSM3;
      private Custom_Components.PanelOption panelOptionSM1;
      private Custom_Components.PanelOption panelOptionSM4;
      private Custom_Components.PanelOption panelOptionSM2;
  </code></pre>
  <p>This only happens when I modify the form, not when I rebuild the solution or change the code of the form.</p>