规则14:隐藏组件(Hide Components) 我经常听见那些面向对象编程的狂热追求者抱怨Delphi窗体中包含一些在published部分声明的组件,这是和面向对象思想的封装性原理...
基于24个网页-相关网页
Hide and Show Components 隐藏和显示零部件
You can change the look and feel, customize menus, change the code to give you the information that you feel is more relevant, and hide components.
可以修改外观、定制菜单、隐藏组件,以及通过修改代码显示相关的信息。
You can hide the complexity of many access control roles to individual components and expose them as few simplified application level roles with well-understood and easy to use names.
您可以对各个组件隐藏许多访问控制角色的复杂性,并使用易于理解和方便使用的名称将它们公开为少数几个简单的应用程序级别角色。
At the same time, accessors increase the robustness of classes and components because they help to hide the implementation details of your classes.
同时,由于读写方法帮助隐藏了类的实现细节,因而增强了类和组件的健壮性。
应用推荐