L
Lloyd Dupont
I have a dialog where I stack multiple panels.
Depending on some flags I bring one them to front.
Problem is, as long as the dialog has not been displayed, I cannot reorder
my panels !
So when I show it (with ShowDialog()) it's alway the first panel in front of
the other!
Even though I call
aPanel.BringToFront();
or Controls.SetChildIndex(aPanel, 0)
what could I do?
I think, just after initialize component I will remove all panel and add
them on demand.
but I wonder if there is any better solution...
Any tips?
Depending on some flags I bring one them to front.
Problem is, as long as the dialog has not been displayed, I cannot reorder
my panels !
So when I show it (with ShowDialog()) it's alway the first panel in front of
the other!
Even though I call
aPanel.BringToFront();
or Controls.SetChildIndex(aPanel, 0)
what could I do?
I think, just after initialize component I will remove all panel and add
them on demand.
but I wonder if there is any better solution...
Any tips?