?
Solved

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

Posted on 2007-03-28
2
Medium Priority
?
2,058 Views
Last Modified: 2008-01-09
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?


Cheers!
0
Comment
Question by:Cyber-Drugs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 18812775
You should just need Control.BringToFront():
http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.bringtofront.aspx

   myPic.BringToFront();
0
 
LVL 4

Author Comment

by:Cyber-Drugs
ID: 18812825
That did the trick, cheers! :o)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question