title: sub-class of Control that combines multiple Controls
body: <p>I'm trying to extend TextBox to add a Label to the left of it and treat it as one Control so I don't have to keep track of both of their sizes, locations, etc.</p>
  
  <p>I've created a TextBoxWithLabel class that extends Control and has TextBox and Label fields, but I'm not really sure what to do for onPaint() - do I have to tell it to manually draw both items? If so, how? I'm guessing the default inherited behaviour doesn't go so far as 'check if I contain any child Controls and if I do, draw them'...</p>
  
  <p>Is this even the best way to do it? I previously had my class extend TextBox and just added the Label field, but of course that didn't get added to the Panel containing the TextBoxWithLabel and so wasn't drawn.</p>
  
  <p>Any suggestions or pokes in the right direction appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>Alex</p>