Component designer generated code in code behind
<p>I have inherited an ASP.NET/C# project written way back in .NET 1.0.  I started programming in .NET 2.0, so some of the antiquated concepts are foreign.  I noticed that 80% of the pages have the following snippet or something similar:</p>

<pre><code>  #region Component Designer generated code

  //Required by the Web Services Designer 
  private IContainer components = null;

  /// &lt;summary&gt;
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  /// &lt;/summary&gt;
  private void InitializeComponent()
  {
   connSQL = new System.Data.SqlClient.SqlConnection();
   connSQL.ConnectionString = Inventory.Properties.Settings.Default.connectionString;
  }

  /// &lt;summary&gt;
  /// Clean up any resources being used.
  /// &lt;/summary&gt;
  protected override void Dispose( bool disposing )
  {
   if(disposing &amp;&amp; components != null)
   {
    components.Dispose();
   }
   base.Dispose(disposing);  
  }

  #endregion
</code></pre>

<p>Although this area is hit in the page load process, commenting it out has no obvious effects on the web page.  I can guess that if the connSQL object is used and not initialized elsewhere, then problems can come up, this just hasn't been the case.  So, my question is where does this designer generated code come from?  I've never seen in it the code behind.  Is this another .net 1.0 thing?</p>
