Assuming this is Windows Forms, and there's no physical keyboard:
private void NumberButtons_Click(object sender, EventArgs e)
{
textBox1.AppendText((sender as Button).Text);
}
The assumption here is that you have a set of Buttons whose Text values are from #1~9 and #0, and they all use the same Click EventHandler. Of course, we don't know here exactly what you mean by "numbers:" are you allowing decimal-point, commas, negative numbers, culture-specific numeric encoding, etc. ? Will also have a back-space button ? If you wish the user to have some way to move the insertion point around in the TextBox, that'll take a bit more work (using virtual arrow-key buttons ?).
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.