Alberto,
You can't do this with the TextBox now. However, .NET 2.0 will
introduce a MaskedTextBox control which you can use.
For .NET 1.1, you will have to create a textbox and hook into the change
events to determine whether or not the text matches the mask.
Hope this helps.