Custom constructor for management

I have a custom class that comes from SplitContainer:

namespace Builder.Components
{
    public partial class ProjectSidebar : SplitContainer
    {
        public ProjectSidebar()
        {
            InitializeComponent();
        }
    }
}

Now, when I right-click and select View Designer, I would like to see the SplitContainer and edit it, for example, with the default controls (drop the panel in it, etc.). All I see is a message to add controls and go to code view.

How to do it?

+5
source share
3 answers

, ​​ ( , ) , , ( ControlDesigner), Windows Forms , .

MSDN . , .

CodeProject . fooobar.com/questions/1027684/....

+9

Form UserControl , . SplitContainer , , . Reflector, .

, SplitContainer . Dock Fill. .

+3

.

. (.NET 1.0) MSDN . - 2003 .

+1
source

All Articles