private void m_txt_nam_KeyPress(object sender, KeyPressEventArgs e) { try { if(!Char.IsDigit(e.KeyChar) && !Char.IsControl(e.KeyChar)) { e.Handled = true; } } catch(Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }