vb.net - turning visible of my gif image off vb net -



vb.net - turning visible of my gif image off vb net -

i have gif image drew on code , animated image using code:

imports scheme imports system.drawing imports system.windows.forms public class animatingimage inherits form 'create bitmpap object. private animatedimage new bitmap("e:\data laptop\atom project\atom project etc\gambar2\sprites fix\run\m\m_run_fixed\l\larikanan.gif") private currentlyanimating boolean = false 'this method begins animation. public sub animateimage() if not currentlyanimating 'begin animation once. imageanimator.animate(animatedimage, new eventhandler(addressof me.onframechanged)) currentlyanimating = true end if end sub private sub onframechanged(byval o object, byval e eventargs) 'force phone call paint event handler. me.invalidate() end sub protected overrides sub onpaint(byval e painteventargs) 'begin animation. animateimage() 'get next frame ready rendering. imageanimator.updateframes() 'draw next frame in animation. e.graphics.drawimage(me.animatedimage, new point(300, 300)) end sub public shared sub main() application.run(new animatingimage) end sub

now, how turn image visibility false? mean, hide image.

vb.net image gif

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -