private void Element_KeyPress(object sender, KeyPressEventArgs
e)
{
//isAlphaDotandComma Method Is Define In
The RagexClass
if
(!RegexClass.isAlphaDotandComma(e.KeyChar.ToString()))
{
e.Handled = true;
}
}
No comments:
Post a Comment