摘要:
1、首先通过异常提示信息来定义验证信息 /// /// 异常验证 /// public class SimpleCustomer { public SimpleCustomer() { } private string m_strName; public string Name ... 阅读全文
摘要:
属性更改时,可以触发相应的事件,该类必须继承INotifyPropertyChanged接口,编写相应的的事件,代码如下: public class Person : INotifyPropertyChanged { public Person() { } public Person(string p_strName) {... 阅读全文