摘要: 1、使用应用程序状态:写入: Windows.ApplicationModel.Core.CoreApplication.Properties["key1"] = txt1.Text;读取: //必须先判断Key是否存在,否则在取值过程中会引用发异常 //在读取"key1"值的时候,如果没有执行赋值语句,则会引发异常:KeyNotFoundException //The given key was not present in the dictionary.给定的键不存在于字典。 bool f = Windows.ApplicationModel.Cor 阅读全文
posted @ 2012-11-08 16:14 lhfly 阅读(508) 评论(0) 推荐(0) 编辑