link如何保存并且恢复程序里面所有的窗体控件的值?link怎么做?
foreach (Control ctrl in Controls)遍历窗体,然后写入配置文件。在Form_Load中读取配置文件并恢复。