title: function or sub that clears the text box when it gets focus
body: <p>I want to create a function or sub that clears the text box when it gets focus. for example:</p>
  
  <p><code>textbox1</code> contains: <em>"Your name here."</em></p>
  
  <p>and when the user clicks it. the <em>"Your name here."</em> would disappear. I've done it by placing <code>textbox1.clear</code> in the <code>GotFocus</code> event of a <code>textbox</code>. </p>
  
  <p>Now I'm planning to put some more codes in it. but the thing is coding would be repetitive and long because I'm planning to do this in many text boxes. I want to minimize the coding so I want to create a function that clears textboxes when they got focused, so that I'll just call the function in <code>GotFocus</code> event and reduce the coding somehow.</p>
  
  <p>I don't have an idea how to do that right now so If anyone has then I'm really thankful for the advice you can give me.</p>
  
  <p>I'm using visual studio 2010, and creating a windows form application project.</p>