hello_zhangh

博客园 首页 新随笔 联系 订阅 管理

2010年7月26日 #

摘要: 运行rundll32 netplwiz.dll,UsersRunDll 阅读全文
posted @ 2010-07-26 13:37 弓二 阅读(197) 评论(0) 推荐(0) 编辑

2010年6月21日 #

摘要: C#[DllImport("user32.dll", EntryPoint = "FindWindow")] public static extern int FindWindow( string lpClassName, string lpWindowName );[DllImport("user32.dll", EntryPoint = "SendMessage")] public stati... 阅读全文
posted @ 2010-06-21 16:49 弓二 阅读(466) 评论(0) 推荐(0) 编辑

2010年6月9日 #

摘要: 转自 http://www.cnblogs.com/sharezone/archive/2009/05/15/1457644.html1、生鱼片blog的坚持学习系列,这个是我看得最多的了,感觉挺对我的学习思路. http://www.cnblogs.com/carysun/archive/2008/10/21/1209612.html 2、笑煞天的WF学习笔记系列,知识点很细,每个你想要学习的W... 阅读全文
posted @ 2010-06-09 09:54 弓二 阅读(172) 评论(0) 推荐(0) 编辑

2010年3月30日 #

摘要: /// <summary> /// C#获得汉字拼音首字幕以及全拼(不支持繁体) /// </summary> public class ChineseCode { protected string cnTxt; protected string enTxt; /// <summary> /// 要获取字母的汉字 /// </summary> pub... 阅读全文
posted @ 2010-03-30 18:13 弓二 阅读(1178) 评论(0) 推荐(1) 编辑

2010年3月2日 #

摘要: Apperarance 属性:Faltbuttons SizeMode属性:Fixed 各个TabPage的Text :空 ItemSize : Width=0;Height=1; 阅读全文
posted @ 2010-03-02 17:57 弓二 阅读(900) 评论(0) 推荐(0) 编辑

2010年2月7日 #

摘要: C#实现所有经典排序算法1、选择排序选择排序class SelectionSorter { private int min; public void Sort(int[] arr) { for (int i = 0; i < arr.Length - 1; ++i) { min = i; for (int j = i + 1; j < arr.Length; ++j) ... 阅读全文
posted @ 2010-02-07 11:01 弓二 阅读(269) 评论(0) 推荐(0) 编辑

2010年1月30日 #

摘要: 通常我们在程序中需要调用WebService时,都是通过“添加Web引用”,让VS.NET环境来为我们生成服务代理,然后调用对应的Web服务。这样是使工作简单了,但是却和提供Web服务的URL、方法名、参数绑定在一起了,这是VS.NET自动为我们生成Web服务代理的限制。如果哪一天发布Web服务的URL改变了,则我们需要重新让VS.NET生成代理,并重新编译。在某些情况下,... 阅读全文
posted @ 2010-01-30 17:20 弓二 阅读(233) 评论(0) 推荐(0) 编辑

2009年12月17日 #

摘要: 转自:http://www.cnblogs.com/xiaof2000/archive/2009/12/16/1625198.html初用.net 2008,想写个数据库设置工作设置数据库连接,在另一程序中读取设置信息。本来简单的事结果……。 有人说的.net 的bug,有人用.net 1.0的办法……找了许多资料,也不会用settings.set... 阅读全文
posted @ 2009-12-17 10:06 弓二 阅读(165) 评论(0) 推荐(0) 编辑