上一页 1 ··· 7 8 9 10 11
摘要: Demo的界面我利用事件委托事件,仿http://www.cnblogs.com/huyong/写的公共分页用户控件C#代码 #region版权信息 /*---------------------------------------------------------------------* //项目名称:《Winform分页控件》 //文件名:Pager.cs //描述:分页控件 //作者:kwonyan *----------------------------------------------------------------------*/#endregion usingSyst 阅读全文
posted @ 2011-12-22 17:27 Ruiky 阅读(26425) 评论(9) 推荐(1) 编辑
摘要: Func,Action 的介绍及其用法Func是一种委托,这是在3.5里面新增的,2.0里面我们使用委托是用Delegate,Func位于System.Core命名空间下,使用委托可以提升效率,例如在反射中使用就可以弥补反射所损失的性能。Action<T>和Func<T,TResult>的功能是一样的,只是Action<T>没有返类型,Func<T,T,Result>:有参数,有返回类型Action,则既没有返回也没有参数,Func<T,TResult> 的表现形式分为以下几种:1。Func<T,TResult>2。Fun 阅读全文
posted @ 2011-12-22 10:34 Ruiky 阅读(697) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.IO;usingSystem.Threading;usingSystem.Text.RegularExpressions;namespaceYyc.Net{///<summary> ///获取网站异步源码类 ///</summary> publicclassPageSnatch{ #regionfield privateW 阅读全文
posted @ 2011-12-22 10:16 Ruiky 阅读(8479) 评论(9) 推荐(1) 编辑
上一页 1 ··· 7 8 9 10 11