转载:
Pane和Panel的含义是不一样的:
Pane,窗格
Panel,面板
但是这两个词一直被abuse(滥用)和misuse(误用)
下面是关于这两个词的解释:
A pane is a (usually) independently scrollable subsection of a window. It's what you get, for example, if you drag the splitter bar in a Word window.
A panel is an object that is used to group controls and other objects. It is often but not always dragable, occasionally resizable or
scrollable. Most toolbars, for example, consist of a panel with buttons. Panels may or may not have a visible border.
A panel is an object that is used to group controls and other objects. It is often but not always dragable, occasionally resizable or
scrollable. Most toolbars, for example, consist of a panel with buttons. Panels may or may not have a visible border.
Pane指窗口中可以独立滚动的子部分,如果你在Word中使用屏幕分割的功能,那么分割出的两个独立部分就是Pane。
而Panel是用来分组控件和其它对象的,典型的例子是工具条中用来分组按钮的区域(我用红色方框圈起来的部分,当然,下图中不只有一个Panel)。