摘要: 纯理论,可能会枯燥。.net 技术群: 199281001 ,欢迎加入。1.目标对象一定是派生自DependencyObject的对象,并且目标属性必须是依赖属性,否则数据绑定操作将会失 败。绑定源对象可以不是依赖对象和依赖属性。2.定义了依赖属性时,FrameworkPropertyMetadat... 阅读全文
posted @ 2014-07-18 13:43 b̶i̶n̶g̶.̶ 阅读(1017) 评论(0) 推荐(1)
摘要: 1 public sealed class SocketData 2 { 3 private SocketData() 4 { 5 } 6 7 public static SendFileMode SendFile(... 阅读全文
posted @ 2014-07-17 18:18 b̶i̶n̶g̶.̶ 阅读(896) 评论(0) 推荐(1)
摘要: 1 long g = 1024 * 1024 * 1024; 2 long m = 1024 * 1024; 3 long k = 1024; 4 if (size = 1) 5 ... 阅读全文
posted @ 2014-07-17 17:36 b̶i̶n̶g̶.̶ 阅读(1013) 评论(0) 推荐(0)
摘要: 原文: http://www.myhack58.com/Article/sort099/sort0100/2012/35585.htm原文: http://www.myhack58.com/Article/sort099/sort0100/2014/41701.htm 阅读全文
posted @ 2014-07-16 18:55 b̶i̶n̶g̶.̶ 阅读(278) 评论(0) 推荐(0)
摘要: 1 //int a = -2; 2 //this.BringToFront(); 3 //for (int i = 0; i = -radius; j--)53 {54 ... 阅读全文
posted @ 2014-07-16 16:02 b̶i̶n̶g̶.̶ 阅读(413) 评论(0) 推荐(0)
摘要: /*进度条框*/.shangchuantishikuang { border: 7px solid #74A5BF; background-color: white; font-size: 14px; color: #666666; font-family: 'Micr... 阅读全文
posted @ 2014-07-16 11:25 b̶i̶n̶g̶.̶ 阅读(284) 评论(0) 推荐(0)
摘要: //定义数组 var _arrays = []; for (var i = 0; i < 10; i++) { _arrays.push(i); }//post $.post(href, {list: _arrays} );//get post datasv... 阅读全文
posted @ 2014-07-16 10:53 b̶i̶n̶g̶.̶ 阅读(327) 评论(0) 推荐(0)
摘要: 原文地址: http://kb.cnblogs.com/page/101437/ 阅读全文
posted @ 2014-07-15 17:23 b̶i̶n̶g̶.̶ 阅读(158) 评论(0) 推荐(0)
摘要: int offset=0; int size=4096;var maxNum=int.MaxValue; progressBar.Maximum =maxNum; progressBar.Minimum = 0; progressBar.Value = 0; offset += size; progressBar.Value = offset;//百分比PbLabel.Content = (of... 阅读全文
posted @ 2014-07-15 08:44 b̶i̶n̶g̶.̶ 阅读(395) 评论(0) 推荐(0)
摘要: 1 public static class IListUtil 2 { 3 /// 4 /// 将集合类转换成DataTable 5 /// 6 /// 集合 7 /// 8 public static DataTable AsDataTab... 阅读全文
posted @ 2014-07-14 11:24 b̶i̶n̶g̶.̶ 阅读(283) 评论(0) 推荐(0)