摘要
在应用程序中,需要要使用一些类型相同,功能相似的控件,基于此目的,解决的方法是将这些同一类型的控件定义为一个控件数组。通过在游戏开发过程中控件数组的使用,得出在VB中使用控件数组添加控件所消耗的资源币直接向窗口添加多个相同的控件消耗的资源要少。且在编写代码的过程中可以共享代码,很大程度上节省工作强度的结论。
In the application, using some of the same type is needed, and the function is similar with that of the control based on this purpose, the solution is the same type of control is defined as a control array. In this paper, through the control array used in the process of game development, it is concluded that using control array add in VB controls the money directly to the window of resources consumed in the same controls add multiple less consumption of resources. And in the process of writing code to share code, largely saves the work intensity of the conclusion.
出处
《电脑开发与应用》
2013年第11期61-62,69,共3页
Computer Development & Applications
关键词
VB
控件数组
属性
VB, control array, property