I want to make a user control like a panel or a textbox with 9 images as the background.
And the format of the images are Targa Image.
I use the dll in the link below to load TGA Images in the Winform.
.NET Targa Image Reader[
^]
I want the images are assigned into this format:
top left corner , top center , top right corner ,
center left , center center , center right ,
bottom left corner , bottom center , bottom right corner ,
The images in the 4 corners are fixed in size while the other 5 images will change its size with the height and width of the control. Also the position of the images will change along the size of the control. I perfer to use Graphic to make it but not picture boxes because I do not want to create 9 boxes for each control.
At least, I hope someone can show me the method and the code of how to make it with the first 3 images. Hope this will not be too difficult to make.