| 发表于:2007-02-12 15:27:1010楼 得分:3 |
private sub textbox2_keypress(byval sender as object, byval e as system.windows.forms.keypresseventargs) handles textbox2.keypress if not "0123456789. ".contains(e.keychar.tostring) then e.handled = true end if end sub | | |
|