title: c# format textboxes to currency when they lose focus
body: <p>I have several lists of text boxes on a form each representing a column of a database. I want to update the form each time the user exits one of the boxes for price. the name of this list is priceBox[]. I am aware of the lostFocus event but I cant seem to figure a way to get it to work for a collection and this list can grow so I cant have a fixed number. I dont have any code for this yet. if it helps the text box controls are contained in a panel named panel1.</p>
  
  <p>I have tried searching and cant find anything on this. only for singular instances, like updating 1 text box. </p>
  
  <p>sorry if this is a duplicate but I did try to search. also I am new to c#.</p>
  
  <p>thanks. </p>