05 2016 档案

摘要:Person p=teacher as person; If (p!=null ) dostring (); 使用这样的方法效率高 使用 is时 进行两次判断效率低 阅读全文
posted @ 2016-05-31 22:21 huihuang88515 阅读(154) 评论(0) 推荐(0)
摘要:1,UserControl 页面级样式: UserControl.Resources style setter Property value。 TargetType为应用的类型 使用方法: style staticresource x:key 2, 应用程序级样式: 在App中设置Resource 阅读全文
posted @ 2016-05-27 20:36 huihuang88515 阅读(254) 评论(0) 推荐(0)