vb.net - icon as an image -


Is it possible to use the visible file as an image in the view basics as an image?

F.E.

btnIcon1 = my.resources.ICO1

/ P>

btnIcon2 = my.resources.ICO2

< / Div>

The most basic method to do this:

  myButton.Image = Me.Icon. ToBitmap  

You can also use it:

  myButton .image = My.Resources.myIcon.ToBitmap  
< P> Both of these methods have to remove and use 32x32 icons from .x files.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -