上一页 1 ··· 8 9 10 11 12
摘要: c#代理的使用主要在:需要将一个方法当做参数传递到另一个方法时。比如启动一个线程执行任务,而这个线程要执行的方法可以通过代理传递过来。代理包括一个方法或者多个方法的地址和C++的函数指针很相似,但它是类型安全的。1.声明代理delegate void IntMethodInvoker(int x);... 阅读全文
posted @ 2015-11-03 17:40 beautifulday 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: data结构体类型 public struct datas { public string test1; public string test2; }//socket服务器端public void SocketServer() { Socket listener = new Socket(Addre... 阅读全文
posted @ 2015-10-29 17:06 beautifulday 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: From a distant view, the service offers an endpoint that is described by a contract, a binding, and anaddress. The contract defi nes the operat... 阅读全文
posted @ 2015-10-22 16:33 beautifulday 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 有两个页面page1和page2。page1中有两个按钮 <asp:Button ID="Button1" runat="server" Text="Submit page to itself" OnClick="Button1_Click" /> <asp:Button ID="Button2" 阅读全文
posted @ 2015-10-20 14:02 beautifulday 阅读(266) 评论(0) 推荐(0) 编辑
摘要: ASP.NET 4.5页面加载各个事件触发步骤。 ASP.NET 4.5 added the following events:➤InitComplete : Indicates the initialization of the page is completed➤LoadComplete : I 阅读全文
posted @ 2015-10-20 11:24 beautifulday 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 如何用js调用服务器端方法。首先服务器端方法的格式如下 [System.Web.Services.WebMethod] public static void serverMethod(string url) { WebClient wc = new WebClient(); StringBuilde... 阅读全文
posted @ 2015-10-19 15:46 beautifulday 阅读(462) 评论(1) 推荐(1) 编辑
摘要: 是html5中引入的新标签可以实现正向反向列表排序功能使用以前的html4进行列表排序,可以使用下列形式Top Three Teams Third Place Runner Up Top Team其网页显示形式如下然而使用html5的article标签进行排序将变得更加方便灵活,源码如下Top ... 阅读全文
posted @ 2015-10-08 09:52 beautifulday 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 各种在jquery基础上实现的弹出窗口,有详细的开发说明文档。在项目中快速实现网页中弹出窗口的需求。基本能满足各种弹出窗口的需求 其官方网址如下http://jquery.iceburg.net/jqModal/ 阅读全文
posted @ 2015-09-21 14:33 beautifulday 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-09-18 16:15 beautifulday 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12