Why are controls within custom panel (C# winforms) disappearing in designer?

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2009-09-23T15:54:49Z Indexed on 2010/05/29 12:02 UTC
Read the original article Hit count: 239

Filed under:
|
|
|

I have been able to create a custom C# winforms control that is basically a panel with a fixed banner (header/footer). I want to base other user controls on this "banner panel". I've gotten past the problem with the designer here. I can successfully add controls to the inner content panel. Everything looks fine while designing. However, when I recompile, the controls I added to the content panel disappear. They are still there (in code) but aren't displayed in the designer. Is there any thing that I need to do to set the drawing order of the controls?

© Stack Overflow or respective owner

Related posts about c#

Related posts about design