The control will redraw when the system colors change.
系统颜色更改时,此控件将进行重绘。
This code reuses standard system colors available through the Display class.
此代码将重用通过Display类可用的标准系统颜色。
As you can see, most of the configuration deals with setting the color scheme of the controls, and to do this, I accessed the Display's system colors, which don't need to be de-allocated after usage.
正如您所看到的那样,大多数配置都处理设置控件的颜色模式,为此,我访问了Display的系统颜色,它们在使用后不需要销毁。
应用推荐