hello
what i do some times is to read true / false address then the picture changes according to it
something like (ImageDisplayByValue) one image is jpg and one is animated gif
the way i do it is i put picturebox , basiclable and timer then add the pictures i need in the project resources
after i put the basiclabel values and properties
i go to the timer code
and write this
if basiclabel.value = true then
picturebox.image = Global.MfgControl.AdvancedHMI.My.Resources.Resources.imageOff
else
picturebox.image = Global.MfgControl.AdvancedHMI.My.Resources.Resources.imageOn
end if
now to my question
can i make my own class to do all the above
the reason i do this is that ImageDisplayByValue does not support animated ( gif) images and treats them all as jpg
with thanks