By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,673 Members | 1,302 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,673 IT Pros & Developers. It's quick & easy.

Image Resource

P: n/a
Hi,
I have a picture box control in my form and I have 2 .GIF (animated GIF
image). And I want to display those GIF image in my picture-box (at first, I
want the control to show the first image and a few seconds later, I want the
control to present the second image).
The following are some ways I have try to deal with this task:
- Insert two picture-box control into my form and each control shows only
one image; and then, I will toggle the Visible property of them.
This is not a good solution if I want to display 10 or 100 images
- I make use of ImageList to keep my images. Through it's a very good idea,
my animated GIF image stop animating. It's become static image.
- Using the Image.FromFile to load image. But I don't want to reveal the
images to the user so that they can open,edit them and change my
application.

Is there better solution ?

I have used Visual C++. Using images in C++ is very easy: just insert them
into the resource file and display them with. Is there any easy way to use
resource in C# ?

Thanks
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.