During this period of time, I have been working on the interface. At the beginning, it was a simple texture operation. Later, I felt that it was not universal and the code was not reusable, you also need to do a lot of basic work (you need to add images on the interface and set the order of stacked images ). Later, it was encapsulated into a class, and the code reusability was improved. However, you had to add multiple controls on the interface. In addition, you had to add a lot of code when the form was changed and scaled down. Later, I suddenly thought that VB could realize the automatic addition of controls. After a try, it really worked well. Later, some events were integrated into the class.
Currently, the class is encapsulated into a control, which is easier to use. You only need one command to complete interface skin replacement and multi-language version.
Private Sub Form_Load ()
YFSkin1.SkinInit Me only requires this line of code
End Sub
This is some of the interfaces I have designed (skin and language files can be customized and can be expanded infinitely)
Controls use source code: http://www.bjjr.com.cn/yefan/yfskins.rar