摘要: https://msdn.microsoft.com/zh-cn/library/ms668604(VS.95).aspx 表示一个动态数据集合,在添加项、移除项或刷新整个列表时,此集合将提供通知。 继承层次结构 System.Object System.Collections.ObjectMode 阅读全文
posted @ 2018-01-17 19:49 <--青青子衿--> 阅读(297) 评论(0) 推荐(0)
摘要: 接上一篇…… (在MVVM架构中,界面View的数据源来自ViewModel,如果想实现 从ViewModel到View 和 从View到ViewModel的双向交互,这里有一种基于MVVM框架下的方式,即使用RaisePropertyChanged,当然还有一种基于INotifyPropertyC 阅读全文
posted @ 2018-01-17 19:30 <--青青子衿--> 阅读(216) 评论(0) 推荐(0)
摘要: 在MVVM架构中,界面View的数据源来自ViewModel,如果想实现 从ViewModel到View 和 从View到ViewModel的双向交互,这里有一种基于MVVM框架下的方式,即使用RaisePropertyChanged,当然还有一种基于INotifyPropertyChanged接口 阅读全文
posted @ 2018-01-17 19:04 <--青青子衿--> 阅读(8235) 评论(0) 推荐(4)
// /**/ // 在页脚Html代码 引入 // function btn_donateClick() { var DivPopup = document.getElementById('Div_popup'); var DivMasklayer = document.getElementById('div_masklayer'); DivMasklayer.style.display = 'block'; DivPopup.style.display = 'block'; var h = Div_popup.clientHeight; with (Div_popup.style) { marginTop = -h / 2 + 'px'; } } function MasklayerClick() { var masklayer = document.getElementById('div_masklayer'); var divImg = document.getElementById("Div_popup"); masklayer.style.display = "none"; divImg.style.display = "none"; } setTimeout( function () { document.getElementById('div_masklayer').onclick = MasklayerClick; document.getElementById('btn_donate').onclick = btn_donateClick; var a_gzw = document.getElementById("guanzhuwo"); a_gzw.href = "javascript:void(0);"; $("#guanzhuwo").attr("onclick","follow('33513f9f-ba13-e011-ac81-842b2b196315');"); }, 900);