title: Numeric TextBox
body: <p>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.</p>
  
  <p>Please take the time to explain each part so I can learn or write it and tell me what to search.</p>
  
  <p>Thanks</p>
  
  <p>EDIT: I'll make it more specific:</p>
  
  <p>How can I make a numeric textbox in C#? I've used the masked textbox but it wont take decimals.</p>
  
  <p>I've read things about overloading the OnKeyPress method so it will correct any wrong characters but I dont know to do it.</p>