Picture box On Picture Box
NickName:user1391293 Ask DateTime:2012-05-13T00:40:59

Picture box On Picture Box

This is in regards to C# coding, im quite new to this programming language, and do not know much about any other as well, but what i would like to achieve is to have a picture box as the background, and have another picture box over lapping it but the transparent part has to show the picture box behind. I have been able to have a transparent picture box, but the thing is it only shows the form's back color rather than the picture box behind it. can anyone help with this?

IN other words a picture box over a picture box, but able to see through the first picture box where it is clear, and see the picture box behind.

Thanks in advance.

Copyright Notice:Content Author:「user1391293」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/10565562/picture-box-on-picture-box

Answers
theUser 2012-05-12T16:54:59

Go to Project -> Add user control. \nGive that User Control the BackGroundImage.\nDrag your picturebox onto the the usercontrol. Make the PictureBox's Backcolor transparent.\nBuild the project. \n\nIn the designer, you should be able to drag your new usercontrol onto the form. \nThis will do what you want.",


More about “Picture box On Picture Box” related questions

Picture box On Picture Box

This is in regards to C# coding, im quite new to this programming language, and do not know much about any other as well, but what i would like to achieve is to have a picture box as the background...

Show Detail

Placing a Picture Box Over Another Picture Box

I am quite new at c#, and do not know much about the Microsoft Forms. Is there any way to place a picture box over another picture box? I am currently working on a TCP Chess project, so when i type...

Show Detail

Is it possible for a picture box to detect colour in another picture box and avoid it?

I am currently attempting to make a visual route planner interface for a local town. The GUI is a map lacking in detail simply showing a green background with grey lines for the roads. Is it possib...

Show Detail

Change picture box picture

I added picture box to my form and import 2 pictures, from properties under image property i choose the first picture when the application starting and inside my start button event i want to change...

Show Detail

How to generate picture according to the size of picture box

i generate picture according to the size of picture box and set the picture to picture box whose size mode is normal but full image is not showing rather few area of picture is cutting off. i want to

Show Detail

Picture Box and Form Transparency

Maybe I am missing something, but is it the case that when you set a pictureboxes background to transparent, all it really does is set it to the same color as the forms background? What I am tryin...

Show Detail

can we place a picture in a picture box in differrent place?

i am using vb.net i just wanna ask if we can place a picture in a picture box in different places... for example, we place a picture in the center of a picture box then we place another picture ...

Show Detail

How to remove Picture Box background after picture box?

How to remove that picturebox background after picture box? I want to make when a mouse hover some picturebox slot, it will show tooltip text. But it was very disturbing picture box slot and must b...

Show Detail

auto sizable picture box

I have a form which contains picture box. How can I make the picture box grow relatively when the form is getting bigger or smaller? and will not stay in absolute size? I want the size of the pic...

Show Detail

C# Drag and Drop one picture box into another picture box

I'm trying to drag and drop one picture box into another picture box. please help me! thanks Best Regards

Show Detail