I have a Picture control on a dialog, now I want to display two images on this Picture control. Load the first image (Button click) then load the second as a result of a different event.
Each image need to be scaled down to fit into the Picture control.
I have set the Image property of the Picture control to the first bitmap I wish to display. But how can I change the image on display to the second image?
I have create a member variable for the picture control, but cant find any methods to select a different bitmap.
Also I cant find any methods to 'rescale to fit' the bitmap to the Picture control.
Each image need to be scaled down to fit into the Picture control.
I have set the Image property of the Picture control to the first bitmap I wish to display. But how can I change the image on display to the second image?
I have create a member variable for the picture control, but cant find any methods to select a different bitmap.
Also I cant find any methods to 'rescale to fit' the bitmap to the Picture control.