how associate textbox controls form same eventuality handler
vb 2008.
i have several calm boxes form i wish any same eventuality handler. i know manually hoop any adult handler, nonetheless i'm looking some-more general proceed i supplement some-more calm boxes automatically tortuous adult eventuality handler.
ideas?
edit: controlling c# illustration musigenesis (and assistance critique left nick), i wrote vb code:
private servant associatetextboxeventhandler()
any c control me.controls
typeof c textbox then
addhandler c.textchanged, addressof tb_textchanged
finish if
next
end sub
thanks lot! great.
Comments
Post a Comment