Click here to Skip to main content
15,897,718 members

Comments by DarkTyranno (Top 26 by date)

DarkTyranno 22-Feb-13 6:05am View    
If you add the file as a Resource, then it can always load it locally, wherever you run the app. That's what I want to accomplish. I don't install my application, so no extraction of music anywhere. I'm just creating an instant run application.
DarkTyranno 21-Feb-13 8:27am View    
That's also not the case, I already removed the white background myself in PNG format, but I have to set transparency on backgroundcolor (which is transparent).
I just want to use 1 picture, where you can just look through the lights of the car,
or use another option with 2 pictures, but good code to make it run smoothly, as it doesn't in my case.
It's not about the background, it's about the picture itself, I want to look through some parts of it. How can I manage that? (Only solutions I tried was editing outside C# and save picture with partly semi-transparent parts, or make 2 forms and set 1 forms Opacity lower to simulate that. But it gives many extra work of course... :/
DarkTyranno 21-Feb-13 5:37am View    
Here are the images I use to try to make the lights SEMI-transparent:
http://img594.imageshack.us/img594/3655/policecardesignlight.png
http://img189.imageshack.us/img189/7750/policecardesigncar.png
DarkTyranno 21-Feb-13 5:32am View    
I didn't use any pictureboxes for the car nor the lights. Both are Forms without a border set. They contain 2 pictures with a white background which is removed.
This way I could change the opacity of 1 of both forms. If this is possible with pictureboxes too, then I have to check my app again.
Remove the background of form (so no real form/border left), add 2 pictureboxes for both parts, remove borders, change background to picture, remove background from the pictures itself, change opacity for the picturebox with lights.
I don't know if this is possible, but I should try it soon.
DarkTyranno 21-Feb-13 5:18am View    
Isn't this for complete transparency as well?
I work with Opacity of the form to look through that picture, but this shouldn't work on 1 image in 1 form. The backcolor is already set to white or transparent to remove the big block of that color from around my whole application. If I chose another color from my picture, I'm sure the white returns.