-
August 30th, 2005, 03:31 PM
#1
imagelist to picturebox: simple task, strange error
Hello. I am making a card game and i have the whole deck in an imagelist, added through the designer.
First of all, when i pass the images to the picturebox, the size of the images is reduced, even after i manually change the size in the imagelist constructor, and second, it shows many cards at the same time, even though they are all separated in the imagelist. I dont understand why this happens, any hints?
-
August 30th, 2005, 07:31 PM
#2
Re: imagelist to picturebox: simple task, strange error
Code? What size are your images and what size is the PictureBox? What is the value of the SizeMode property of the PictureBox?
-
August 31st, 2005, 02:01 AM
#3
Re: imagelist to picturebox: simple task, strange error
As for your first problem:
Try
PictureBox.SizeMode = SizeMode.StretchImage
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|