For a digital clock which may change the hour and minute manually. In the example, how can I draw a single digit on the imagebuttons? The digits are images (in the ImageList)
I'm trying with imagelib library, but my brain says stop...
Thank you
What for?
you don't need special libs to just show an image from an image list...
For a digital clock which may change the hour and minute manually. In the example, how can I draw a single digit on the imagebuttons? The digits are images (in the ImageList)
I've attached an old example which demonstrates how to draw part of an image.
You will need something like that to draw the right part on the right image.
It doesn't work well yet. I get a outofmemoryexception at the device. It seems imagelib objets doesn't free memory when they are reused.
Also the background image of imagebuttons doesn't appear.
There is a refresh problem in windows. At device clock works ok (except for the memory problem)
I need imagebuttons because in my app I can stop de clock and manually change hours and minutes by pressing the buttons (increase and decrease).
May be I should do it whith images and capture the click events. It is more ugly but if it works....
Thank you