[英]Saving Data On C# Wpf
How can I save my added buttons when closing the program ? 关闭程序时如何保存添加的按钮? Each time I hit an add button I'm creating a new title which type is button.And each title have it's own specific words.So I must save the words in buttons at the same time. 每次我按下添加按钮时,我都会创建一个新的标题,其类型为button。每个标题都有其自己的特定单词,因此我必须同时将这些单词保存在button中。
Its all up to you. 这一切都取决于你。 :) :)
An easy solution might be using XmlSerializer
, which is documented here . 一个简单的解决方案可能是使用XmlSerializer
, 在此处进行了介绍 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.