المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to Show GIF Image Transparent C#



C# Programming
02-20-2013, 07:11 PM
Hello Guys,

Hope you are doing good.

I am developing a Designing Application. In this application there is a feature where user can add multiple images on form(can drag here and there).

I have few GIF Images of Cartoons. I want to show them as GIF Only. But when I put image on form it shows White area in blank portion.
http://www.barakasoft.com/script/Forums/Images/smiley_confused.gif
I have used Panel and Images are set as Background Image in the Panel.

I think I have not described clearly. Here I have attached image link for more clarification.

In this image background is a Panel(pnlMain) with a Background image. And Spider man is in another panel (panel1) with Background Image in panel1. Spider man image is GIF Image with Transparent area around spider man.

Image is here in this link.http://www.evernote.com/shard/s263/sh/8afc9a41-2a22-4a46-9703-33b77bb93f11/c1ecd6fb6a2ec44f6ac324e6482c4e6e[^ (http://www.evernote.com/shard/s263/sh/8afc9a41-2a22-4a46-9703-33b77bb93f11/c1ecd6fb6a2ec44f6ac324e6482c4e6e)]

I appreciate your cooperation.

-Ishrar G.