I'm stumped. This should be the easiest thing to do in the world, and yet there is no obvious choice here. I want a simple textbox that automatically formats itself for money with a $ and 2 numbers after the decimal. I've tried the new maskedTextbox and am not impressed, that is really not what I'm looking for. So far all tries at using the .ToString method, the .String.Format method have failed. They generally just don't work. Any ideas would be appreciated. I tried overriding a textbox and taking over the OnPaint method. However, it appears that the OnPaint isn't used! WTF?!? Why is it even there?
↧