摘要: 验证方式, 通过继承IDataErrorInfo接口 和DataAnnotations 解释标记语言而实现, 为了能在WPF上通用,所了也要继承属性更改通知接口INotifyPropertyChanged实际INotifyPropertyChanged接口 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.ComponentModel; 6 7 namespace ClassLibrary1 8 { 9 p... 阅读全文
posted @ 2013-07-08 15:58 一个小小程序员 阅读(848) 评论(1) 推荐(0) 编辑