随笔分类 -  WinForm

摘要:Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e AsSystem.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound If e.Row.Cells(0).Text.Equals("267-41-2394"... 阅读全文
posted @ 2007-10-16 12:52 么么茶.NET 阅读(763) 评论(2) 推荐(0)
摘要:使用C#开发一个简单的P2P应用 By oraige 发表于 2005-12-25 12:18:00 尽管有许多P2P网络不需要索引服务器或中央服务器,各客户机之间可以互相直接通讯,但下面的图1还是显示了P2P网络的基本工作原理,一般来说,P2P概念中包含一台中央索引服务器,这台服务器并不存储有任何文件,它只存储有登录到该网络上的所有用户的信息、客户端的IP地址以及用户提供的供共享的文... 阅读全文
posted @ 2006-01-24 21:26 么么茶.NET 阅读(455) 评论(0) 推荐(0)
摘要:在应用程序运行的时候,他会检查当前程序运行的目录有无所需要的dll文件,如果找不到,他就会查找APP.Config配置文件中所配置的目录,具体配置文件的写法如下: 阅读全文
posted @ 2005-12-24 23:34 么么茶.NET 阅读(1243) 评论(4) 推荐(0)
摘要:Composite UI Application Block is a reusable, source code–based component based on the Microsoft .NET Framework 2.0. It provides proven practices to build complex smart client user interfaces based on... 阅读全文
posted @ 2005-12-16 13:20 么么茶.NET 阅读(605) 评论(0) 推荐(0)
摘要:Visual C# 3.0 新特性概览 在发布Visual Studio 2005和C#2.0之后,微软公司又马不停蹄的展示了人们所期望的C#的下一代版本:C# 3.0。尽管C# 3.0并没有标准化,微软还是在PDC(专业程序员会议)发布了一个预览版本,因此心急的程序员可以看到一些所期望的特性,这也是本文所讨论的主要内容: ·隐式类型本地变量 ·匿名变量 ·扩展方法 ·对象和Col... 阅读全文
posted @ 2005-12-04 14:45 么么茶.NET 阅读(250) 评论(0) 推荐(0)
摘要:using System;using System.Runtime.InteropServices; class shoutdown{ [StructLayout(LayoutKind.Sequential, Pack=1)] internal struct TokPriv1Luid { public int Count; public long Luid;... 阅读全文
posted @ 2005-12-01 09:36 么么茶.NET 阅读(242) 评论(0) 推荐(0)
摘要:Indigo 简介:初探http://www.microsoft.com/china/MSDN/library/windev/longhorn/introindigov1.mspx用 Indigo 开发和运行连接系统的指南http://www.microsoft.com/china/MSDN/library/windev/longhorn/MAissues0401Indigo.mspx 阅读全文
posted @ 2005-09-06 23:12 么么茶.NET 阅读(256) 评论(0) 推荐(0)
摘要:http://www.microsoft.com/china/community/Column/59.mspx 阅读全文
posted @ 2005-09-06 11:05 么么茶.NET 阅读(180) 评论(0) 推荐(0)
摘要:I posted my compression helper class before and realised almost instantly that it suffered from 'legacy lag' - so it'd been changed so much over the months that it was really bad! Anyway, presented be... 阅读全文
posted @ 2005-08-23 09:56 么么茶.NET 阅读(342) 评论(0) 推荐(0)
摘要:使用.Net编写Windows程序,对于窗体控制常见项目 1、让窗体在启动时在指定位置出现 form1.StartPosition Manual CenterScreen WindowsDefaultLocation (default) WindowsDefaultBounds CenterParent 只有在窗体启动前设置才有效。 2、设置窗体的图标 form1.Icon 3、设置该窗体成为多个... 阅读全文
posted @ 2005-07-27 17:28 么么茶.NET 阅读(483) 评论(0) 推荐(0)