text input

I want to build a text box by visual studio, then it can can be used in VC, to accept numbers.