title: How to format a Windows Forms Textbox with thousand separator and decimal separtor for numeric input
body: <p>I'm new to Windows Forms and try to do something. I'm using C#.</p>
  <p>I'm using Windows Forms and I've put eight textboxes on my form, and all are numeric with decimal value.</p>
  <p>I like to achieve the results below. My decimal separator is a comma and thousand separator is a dot.
  I've ever seen something like ##.###,## or whatever, but don't remember....  How can i achieve the below approach?</p>
  <p>So the idea is when I type 1234 and leave the focus from the textbox it should format and when I get in the textbox back again the thousand separator should not format only the decimal separator.</p>
  <p>I think I've to use some events like LostFocus.</p>
  <p><strong>Input                 Result</strong></p>
  <p>1234                1.234,00</p>
  <p>12.34                    12,34</p>
  <p>12,34                    12,34</p>
  <p>1234567     1.234.567,00</p>
  <p>12,34                    12,34</p>
  <p>12345,67     12.345,67</p>