title: Code left behind in Form1.Designer.vb
body: <p>I have a strange intermittent issue. </p>
  
  <p>Occasionally after removing controls from a VB form, some code gets left behind in the <code>Form1.Designer.vb</code> file and is visible in the solution explorer as well. All the textboxes in the screenshot were deleted from the form by highlighting them and deleting them. There is no other related code left behind .. just this. </p>
  
  <p>I haven't been able to find the conditions when this happens either.</p>
  
  <p>Does anyone have any idea why? I guess it isn't a big issue, but I don't know if there are any significant implications.</p>
  
  <p><a href="https://i.stack.imgur.com/p0Egh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p0Egh.png" alt="enter image description here"></a></p>