06 2015 档案
wcf 双工
摘要:服务器 [ServiceContract(Namespace="http://www.artech.com/", CallbackContract = typeof(ICallback))] 服务接口加入CallbackContract //添加回调接口,用户客户端回调的实现,客户端代理会自动生成这 阅读全文
posted @ 2015-06-30 11:32 wolf12 阅读(162) 评论(0) 推荐(0)
WCF使用泛型方法的问题
摘要:public IList getModelList(string type, string SQL, List<string> list){ try { IList Mlist = new List<object>(); IDataReader dr = getDataReader(SQL, lis 阅读全文
posted @ 2015-06-10 09:31 wolf12 阅读(870) 评论(0) 推荐(0)
wpf 查找页面的所有TextBox
摘要:private void EnumVisual(Visual myVisual) { for (int i = 0; i < VisualTreeHelper.GetChildrenCount(myVisual); i++) { Visual childVisual = (Visual)Visual 阅读全文
posted @ 2015-06-02 17:01 wolf12 阅读(801) 评论(0) 推荐(0)