Hi,
Im new to programming and I dont know very much about but I'm making a calculator, and i want to use a textbox that only acepts numbers and decimals, and when the user paste text from the clipboard the textbox deletes any literal characters, like the MS calc.
Please take the time to explain each part so I can learn or write it and tell me what to search.
Thanks
EDIT: I'll make it more specific:
How can I make a numeric textbox in C#? I've used the masked textbox but it wont take decimals.
I've read things about overloading the OnKeyPress method so it will correct any wrong characters but I dont know to do it.