|
September 5, 2002 Popping Up Docking Panels Tips: September 2002
Yehuda Shiran, Ph.D.
|
|
We showed you yesterday how to create the three docking panels, topPanel, bottomPanel, and leftPanel, all confined to the container panel, basePanel. We also showed you how to create the label label1, the text box textbox1, and the button button1. We add the label to the left panel:
We add the text box to the top panel:
And the button is assigned to the bottom panel:
Finally, we need to add the base panel to the Windows form:
Suppose we call the package MultiplePanelResizeMe, and the class is MultiplePanelForm. We pop up the Windows form by calling Application.Run():
You should get the following form:
People who read this tip also read these tips: Look for similar tips by subject: |
| ||||||||||||||||||||