摘要: x实际上就是xaml的首字母,x名称空间里面的成员,比如x:Class、x:Name....是用来引导xaml编译器把xaml代码变异成CLR代码,实际上这些个名称,就是专门给xaml编译器看的; 与C#语言一样,xaml也有自己的编译器,xaml语言会被解析并编译,最终形成微软中间语言存储在程序集 阅读全文
posted @ 2019-07-14 16:39 <--青青子衿--> 阅读(215) 评论(0) 推荐(0) 编辑
// /**/ // 在页脚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);