Order of controls

K

ketaki

Hello,
I am working with Winforms (C#). I have created 2 user controls. 1
control (control1) is a big image and the other (control 2) is a small
image. I am placing the control2 (small image) on control1(big image).
When I invalidate the control the control2 gets hidden behind the
control1. I want the control 2 to be seen continously on control 1
even after the controls are invalidated (i.e the small image should be
seen over the big image even after invalidation). Please help.
 
M

Marc Gravell

Are you usign the designer, or doing it manually? Either way, "bring
to top" should do the job...
 
P

Peter Duniho

[...]
When I invalidate the control the control2 gets hidden behind the
control1. I want the control 2 to be seen continously on control 1
even after the controls are invalidated (i.e the small image should be
seen over the big image even after invalidation). Please help.

Why are you posting this question again? If the answers given in the
thread in which you previously asked the question weren't sufficient, you
should have followed up there, with whatever clarification was necessary.

Especially since I specifically pointed out in that thread that your
question really needs a concise-but-complete sample of code in order to be
answered in a useful way.

Pete
 
P

PvdG42

Peter Duniho said:
[...]
When I invalidate the control the control2 gets hidden behind the
control1. I want the control 2 to be seen continously on control 1
even after the controls are invalidated (i.e the small image should be
seen over the big image even after invalidation). Please help.

Why are you posting this question again? If the answers given in the
thread in which you previously asked the question weren't sufficient, you
should have followed up there, with whatever clarification was necessary.

Especially since I specifically pointed out in that thread that your
question really needs a concise-but-complete sample of code in order to be
answered in a useful way.

Pete


It's called the "baby bird" syndrome, Pete :)
Symptoms include, but are not limited to, a complete refusal to expend any
effort to help get an answer. Much easier to repost the question, hoping to
be "fed". I get it from students all the time. Far easier to just ask the
prof. than to (heaven forbid) look it up in the book, use the index or
search for an answer using Help or the web.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top