07 2015 档案

摘要:using System;using System.Collections.Generic;using System.Web;using System.IO;using System.Text;using System.Web.Security;using System.Xml;public cla... 阅读全文
posted @ 2015-07-31 03:59 sekon 阅读(1736) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Data.SqlClient;using System.IO;using System.Text;using S... 阅读全文
posted @ 2015-07-29 09:55 sekon 阅读(290) 评论(0) 推荐(0) 编辑
摘要://测试网络状态 Ping p = new Ping(); string pAddr = ConfigurationManager.AppSettings["pingAddr"]; //创建Ping对象p ... 阅读全文
posted @ 2015-07-26 12:45 sekon 阅读(457) 评论(0) 推荐(0) 编辑
摘要:using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using TrustDevKit.Accident_WebService;using TrustDevKit.local... 阅读全文
posted @ 2015-07-23 22:17 sekon 阅读(308) 评论(0) 推荐(0) 编辑
摘要:string dbPath="Data Source=D:\\test.db3"; using (SQLiteConnection cnn = new SQLiteConnection(dbPath)) { ... 阅读全文
posted @ 2015-07-23 11:27 sekon 阅读(279) 评论(0) 推荐(0) 编辑
摘要:TemplateBinding是Binding的一个轻量级版本,它失去了成熟版本Binding的很多功能,比如继承内容引用(inheritence context referencing),RelativeSource引用,还有通过IValueConverter/TypeConverter机制的动态... 阅读全文
posted @ 2015-07-14 08:34 sekon 阅读(435) 评论(0) 推荐(0) 编辑
摘要:当一个Binding有明确的数据来源时可以通过为Source或ElementName赋值的办法让Binding与之关联,有的时候由于不能确定Source的对象叫什么名字,但知道它与作为Binding目标的对象在UI布局上有相对关系,比如控件自己关联自己的某个数据、关联自己某级容器的数据,就要使用Bi... 阅读全文
posted @ 2015-07-14 08:33 sekon 阅读(303) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示