03 2018 档案

摘要:1.为何要用 ObservableCollection 因为,http://www.cnblogs.com/jiangyan219/articles/8305182.html ObservableCollection是 表示一个动态数据集合,在添加项、移除项或刷新整个列表时,此集合将提供通知。在更新 阅读全文
posted @ 2018-03-15 22:48 <--青青子衿--> 阅读(216) 评论(0) 推荐(0)
摘要:1 #region DataGrid 跨线程委托输出显示方法 姜彦20180315 1439 2 /// 3 /// DataGrid控件直接接受串口返回数据委托 4 /// 5 /// 6 public delegate void DataGridReceiverDelegate(TSerialP... 阅读全文
posted @ 2018-03-15 22:40 <--青青子衿--> 阅读(104) 评论(0) 推荐(0)
摘要:1. dgFormula.ScrollIntoView(_FrameContents[_FrameContents.Count - 1], dgFormula.Columns[0]);//滚动条自动跟踪 姜彦20180315 1929 阅读全文
posted @ 2018-03-15 22:38 <--青青子衿--> 阅读(165) 评论(0) 推荐(0)
摘要:1.通过WPF绑定一个属性,比如bool型的数据 <TextBox BorderBrush="Transparent" Text="{Binding Path=DataContent,Mode=OneWay,UpdateSourceTrigger=LostFocus}" HorizontalCont 阅读全文
posted @ 2018-03-15 22:36 <--青青子衿--> 阅读(2298) 评论(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);