如何使Settings.settings数据持久化
我有一个 Windows 窗体应用程序,我使用 Settings.settings 类来存储用户的配置(电子邮件首选项、主题等),我没有意识到用户关闭应用程序后,设置就消失了!
这个应用程序即将发布到生产环境,所以我必须尽快提供解决方案。
I have a Windows Forms application and I'm using the Settings.settings class to store user's configuration (email preferences, theme, etc) I didn't realize that after the user closes the app, the settings are gone!!
This app is about to be released to production, so I have to provide a solution ASAP.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

设置后您必须保存它们。你有没有尝试过:
You do have to save them after you set them. Have you tried: