如何在应用程序中保存以前的设置? [英] How to save previous setting in application?
本文介绍了如何在应用程序中保存以前的设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有颜色对话框中任何选定颜色设置背面颜色的标签。
我想在关闭应用程序时将上次更改的颜色保存为默认颜色。
下次打开应用程序时,这将显示上次保存的颜色。
我该怎么办?
I have label which Back color is set by any selected color from color dialogue box.
I want to save last changed color as default color while closing the application.
When next time I will open application,this will show last saved color.
How can I do it??
推荐答案
本文解释了如何持久保存用户设置:
Windows窗体用户C#[^] 中的设置[ ^ ]
This article explains how to persist user settings:
Windows Forms User Settings in C#[^][^]
这篇关于如何在应用程序中保存以前的设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文