To support both of these together, use the CLabel control as shown in Listing 2.
为了支持同时拥有文本和图标,可以使用CLabel控件,如清单2中所示。
To avoid name collision, the custom control names starts with "c" (CLabel vs. Label).
为了避免命名冲突,定制控件的名称都是以“C”开始的(例如,比较CLabel与Label)。
Our shell consists of 3 sections, an image at the top left (which is a normal CLabel).
我们的shell由3个部分组成,图片在左上角(一个普通的CLabel)。
应用推荐