本文介绍了控制布局保存/加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嗨 有没有办法将控件的布局(位置,大小,可见性, 外观等)保存到文件中(xml ?)并且还能够从 文件加载布局?这个想法是这些文件扫描作为可能有不同偏好的不同 客户的模板。 有人使用过这个并且可以发布一些代码那么 将受到高度赞赏。 谢谢 问候 Hi Is there a way to save the layout of controls (position, size, visibility,appearance etc.) to a file (xml?) and also be able to load the layout from afile? The idea being that these file scan serve as templates for differentclients who may have different preferences. Is someone has worked with this and can post some code examples then thatwould be highly appreciated. Thanks Regards推荐答案 这篇关于控制布局保存/加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-30 03:39