摘要: 用VS建两个项目(CustomControlSample, TestControl), 项目类型分别是类库(不是内裤!!!), Windows应用程序. 1using System.Windows.Forms; 2using System.Drawing; 3 4namespace CustomControlSample 5{ 6 public class FirstContr... 阅读全文
posted @ 2007-03-14 13:59 Louis.Lu.Sz 阅读(2433) 评论(1) 推荐(3) 编辑
摘要: 下面介绍一种只需对现有代码做较小改动的方法。 在 Visual Studio 的设计视图中,如果在 Properties 窗口中改变了程序的默认界面语言(Language),我们会注意到无论是工程还是窗体对应的 .Designer.cs 文件都会有显著的改变。比如,我们创建一个叫 MyForm 的 form,并且添加一个叫 MyButton 的按钮。 在改变窗体 Properties 中的 L... 阅读全文
posted @ 2007-03-14 10:02 Louis.Lu.Sz 阅读(4670) 评论(4) 推荐(0) 编辑
摘要: Automate the Generation of Stored Procedures for Your Database Peter W. DeBetta and J. Byer Hill ... 阅读全文
posted @ 2007-03-07 15:12 Louis.Lu.Sz 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 原以为简单的操作,搞了半天才搞定.从网上找了些资料,都不太能正常运行.把代码放出来,供需要的同学研究,我只简单的实现了从Ms Sql数据库中读取数据导出Excel,Word功能,格式方面,没有实现,呵呵,以后再补上.下载 阅读全文
posted @ 2007-03-07 14:46 Louis.Lu.Sz 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1/**//// 2/// 根据指定的信息,调用远程WebService方法 3/// 4/// WebService和Htt形式的地址 5/// 欲调用的WebService的命名空间 6/// 欲调用的WebService的类名(不包括命名空间前缀) 7/// 欲调用的WebService的方法名 8/// 参数列表 9/// WebService的执行结果10/// 11/// 如果调... 阅读全文
posted @ 2007-03-05 11:01 Louis.Lu.Sz 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 主要代码部分如下: 1using System.Text.RegularExpressions; 2 3/**//// 4/// 将Unicode转找为Character 5/// 6/// 原字符串 7/// 8private string Unicode2Character(string str) 9{10 string text = str;11 string strP... 阅读全文
posted @ 2007-02-27 17:05 Louis.Lu.Sz 阅读(2013) 评论(2) 推荐(0) 编辑
摘要: 摘要:学习如何为基于 .NET Framework 精简版的应用程序创建有效的用户界面引擎。 下载 FormStack.msi(英文)。 目录 简介 限制资源的使用 堆栈和缓存 设计 FormStack StackForm 类 FormStack 类 继承 StackForm 类 小结 简介 在进行绝大多数应用程序设计时,首先... 阅读全文
posted @ 2007-02-14 10:05 Louis.Lu.Sz 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 前言 在微软 Visual Basic 6.0 中,一条简单的 “Form2.Show” 语句就能显示项目中的第二窗体 (Form2)。然而,它在 Visaul Basic .NET 中却行不通了,因为 .NET 版在窗体处理机制上有了很大的变化。刚刚转向 .NET 版的 Visaul Basic 程序员实在难以接受这么大的变化,因为现在连“显示第二窗体”这么简单的任务都无从下手。我希望能够通过本... 阅读全文
posted @ 2007-02-14 10:03 Louis.Lu.Sz 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 演练:使用 Visual Studio Team Test 进行单元测试 发布日期: 5/24/2005 | 更新日期: 5/24/2005 Mark MichaelisItron Corporation 摘要:本演练通过测试驱动开发 (TDD) 和先测试-后编码 (test-then-code) 的方法学习单元测试。 本页内容 ... 阅读全文
posted @ 2007-01-30 14:36 Louis.Lu.Sz 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Error:Failed to generate a user instance of sql server due to failure in starting the process for the user instance.The connection will be closed. 解决方法:将"c:\Documents and Settings\[user]\Local Settin... 阅读全文
posted @ 2007-01-30 10:18 Louis.Lu.Sz 阅读(2494) 评论(0) 推荐(0) 编辑