随笔 - 850  文章 - 37  评论 - 173  阅读 - 287万
01 2017 档案
winform 记录全局异常捕获
摘要:/// /// 应用程序的主入口点。 /// public static ApplicationContext context; [STAThread] private static void Main() { try { ... 阅读全文
posted @ 2017-01-28 19:52 武胜-阿伟 阅读(376) 评论(0) 推荐(0) 编辑
判断是否连接网络
摘要:private bool IsInternetAvailable() { try { Dns.GetHostEntry("www.google.com"); //using System.Net; return true; } catch (SocketException ex) { return false; } ... 阅读全文
posted @ 2017-01-18 20:11 武胜-阿伟 阅读(253) 评论(0) 推荐(0) 编辑
DevExpress Winform 通用控件打印方法(允许可自定义边距) z
摘要:DevExpress Winform 通用控件打印方法,包括gridcontrol,treelist,pivotGridControl,ChartControl,LayoutControl...(所有支持打印功能的控件) ,同时允许用户自定义报表标题,报表纸张类型(A4,A3...),报表边距 阅读全文
posted @ 2017-01-11 22:02 武胜-阿伟 阅读(5014) 评论(0) 推荐(0) 编辑
DevExpress TreeList 全选和反选 z
摘要:/// /// 全选树 /// /// 树控件 /// 节点集合 public virtual void SelectTreeListAll(DevExpress.XtraTreeList.TreeList tree,TreeListNodes nodes=null) { nodes = ... 阅读全文
posted @ 2017-01-04 19:39 武胜-阿伟 阅读(729) 评论(0) 推荐(0) 编辑
GridLookUpEdit多列模糊查询最简单方式 z
摘要:GridLookUpEdit的知识库是RepositoryItemGridLookUpEdit,切确的说GridLookUpEdit只是RepositoryItemGridLookUpEdit的一个壳而已, 这也就是在GridControl的GridView中,对列绑定的是RepositoryIte 阅读全文
posted @ 2017-01-04 19:36 武胜-阿伟 阅读(1161) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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