title: C# Form Application not closing the panel's User control
body: <p>I have created one main form(MainImagincup) with two panels(panel,panel2).
  And an usercontrol to show in the panel2.
  I have used this code to show :</p>
  
  <p>Number_Eng_Ban jk = new Number_Eng_Ban();</p>
  
  <pre><code>        jk.Show();
          panel2.Controls.Add(jk); 
  </code></pre>
  
  <p>And this code to remove:</p>
  
  <pre><code>            MainImaginCp pk = new MainImaginCp();
              Number_Eng_Ban jk = new Number_Eng_Ban();
              pk.panel2.Controls.Clear();
              pk.panel2.Controls.Remove(jk);
  </code></pre>
  
  <p>But it is not removing from the main form . What I can do ? </p>