Using WeifenLuo DockPanel Suite

后端 未结 2 1534
遇见更好的自我
遇见更好的自我 2021-01-02 15:29

I have just downloaded the WeifenLuo(Dock Panel Suite) and trying to work with that but I couldn\'t find a specific documentation on how to use it.

And I have gone t

2条回答
  •  星月不相逢
    2021-01-02 15:49

    Q1 How to adjust the size of the toolbox.

    The DockPanel container has a DockLeftPortion property (Right, Bottom and Top too). This specifies the width of the left area as either pixels or a proportion of the available area. I haven't seen anything that allows it to take on the size of the docked controls.

    Q2 If I have form2 with the dock panel how do I show in the form1

    If you have two top level application forms each with a dock panel, you pass the appropriate dockpanel control as the first parameter to the Show() method.

    Is this what you meant by Q2?

提交回复
热议问题