2010年1月24日

摘要: 本实例说明了在 .NET 下利于 UDP 协议发送和接受消息。实现这个目的,主要是利用 UDPClient 类的 Send 方法和 Receive 方法。 以下程序包括一个接受消息的过程和发送消息的过程。由于是同步接受,所以在对方消息没发送过来之前,接受过程将会一直阻塞程序的执行。 因此,为接受过程... 阅读全文
posted @ 2010-01-24 19:45 zsepy 阅读(209) 评论(0) 推荐(0) 编辑
 
摘要: 1.最小化WindowState=FormWindowState.Minimized;//最小化时隐藏窗体this.Visible=false;2.最大化WindowState==FormWindowState.Maximized;3.还原为正常WindowState==FormWindowStat... 阅读全文
posted @ 2010-01-24 19:44 zsepy 阅读(356) 评论(0) 推荐(0) 编辑
 
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//添加启动项/// summary> /// 开机随系统启动 /// summary> public... 阅读全文
posted @ 2010-01-24 19:42 zsepy 阅读(879) 评论(0) 推荐(0) 编辑
 
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public long DownloadFile(string FileURL, string F... 阅读全文
posted @ 2010-01-24 19:39 zsepy 阅读(153) 评论(0) 推荐(0) 编辑
 
摘要: 想做一个有着漂亮皮肤的界面,以下介绍的换肤控件(排名不分先后)基本上都是要花钱注册的,委实郁闷,可以考虑自己贴图实现。1.东日IrisSkinIrisSkin共有两个版本,一个是IrisSkin.dll用于.NetFramework1.0/1.1和IrisSkin2.dll用于.NetFramewo... 阅读全文
posted @ 2010-01-24 19:37 zsepy 阅读(301) 评论(0) 推荐(0) 编辑
 
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 兄弟前些日子做项目,第一次使用vb.net,碰上不少问题,相信很多初学者多多少少都会遇到这些... 阅读全文
posted @ 2010-01-24 19:35 zsepy 阅读(383) 评论(0) 推荐(0) 编辑
 
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--Public strCustomerID As String Public Property CustomerID() As String Get CustomerID = strCustomerID... 阅读全文
posted @ 2010-01-24 19:32 zsepy 阅读(151) 评论(0) 推荐(0) 编辑
 
摘要: 这些并不是我总结的,感觉不错,都是平时应用比较多的小技巧,应该对大家有所帮助,所以在此贴出来。 1. 如何创建一个可改变大小没有标题栏的窗体? Code highlighting produced by Actipro CodeHighlighter (freeware)http://www... 阅读全文
posted @ 2010-01-24 19:31 zsepy 阅读(169) 评论(0) 推荐(0) 编辑
 
摘要: 先来看一段代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->For Each c As Control In Me.ControlsMes... 阅读全文
posted @ 2010-01-24 15:04 zsepy 阅读(3950) 评论(0) 推荐(1) 编辑