• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2175
  • Last Modified:

C# - Z-Index of Picturebox to great than Panel

Hi guys 'n gals,

I need some help with C#, not sure if what I want to do is even possible, so if it's not, that is also an acceptable answer. Basically, I want to change the Z-Index of a PictureBox so that it is above that of a Panel component.

Is this possible?

- If yes, then what code is needed?

1 Solution
Mike TomlinsonMiddle School Assistant TeacherCommented:
You should just need Control.BringToFront():

Cyber-DrugsAuthor Commented:
That did the trick, cheers! :o)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now