上一页 1 ··· 13 14 15 16 17

2009年7月4日

Event and Delegate

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace EventDelegate { class CatShoutEventArgs:EventArgs { private string name; public string Name { get{return nam... 阅读全文

posted @ 2009-07-04 19:23 Acor 阅读(165) 评论(0) 推荐(0) 编辑

Singleton 模式

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace SingletonB{ //class SingletonB //{ // private static SingletonB instance; // private SingletonB() // { // } ... 阅读全文

posted @ 2009-07-04 14:42 Acor 阅读(147) 评论(0) 推荐(0) 编辑

2009年7月3日

Lambda 表达式 问题

摘要: 1、Lambda表达式可以应用于任何匿名方法可以应用的场合。 好处在于:简化编程,更节省编码时间。2、Predicate<T> 类型,(泛型委托)(它用于包装) 任何 输入参数类型为T 且 返回值为bool值的方法。如:Predicate<int> callback = new Predicate<int> (IsEvenNumber);staticbool I... 阅读全文

posted @ 2009-07-03 18:02 Acor 阅读(251) 评论(0) 推荐(0) 编辑

2009年6月24日

outlook2007阻止附件的问题 http://hi.baidu.com/simplejoy/blog/item/53693897bd16046554fb9631.html

摘要: 破解方案如下:1. 单击 Windows 开始按钮,然后单击运行。2. 在打开框中,键入 regedit,然后单击确定。3. 浏览到下列注册表项:HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security4. 单击编辑菜单,单击新建,然后单击字符串值。5. 为新值键入下面的名称:Level1Remove6. 按 ENTER 键... 阅读全文

posted @ 2009-06-24 17:31 Acor 阅读(325) 评论(0) 推荐(0) 编辑

error LNK2001: unresolved external symbol

摘要: http://bbs.chinaitlab.com/thread-300639-1-1.htmlhttp://msdn.microsoft.com/zh-cn/bb773584(en-us,VS.85).aspx添加导入库.lib文件(link) 阅读全文

posted @ 2009-06-24 13:31 Acor 阅读(147) 评论(0) 推荐(0) 编辑

2009年6月23日

Lnk1202 http://www.codeguru.com/forum/archive/index.php/t-386908.html

摘要: Lnk1202http://www.codeguru.com/forum/archive/index.php/t-386908.html重编依赖库 阅读全文

posted @ 2009-06-23 18:08 Acor 阅读(351) 评论(0) 推荐(0) 编辑

2009年6月3日

COM Interop 简介

摘要: http://msdn.microsoft.com/zh-cn/magazine/cc163494.aspx 如何:使用 C++ Interop 封送回调和委托 http://msdn.microsoft.com/zh-cn/library/367eeye0(VS.80).aspx 阅读全文

posted @ 2009-06-03 16:16 Acor 阅读(158) 评论(0) 推荐(0) 编辑

2009年6月2日

Delegate 示例

摘要: //Program.cs using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace DelegateIsAll{ class program { public static void CarNeedWash(object sender, CarE... 阅读全文

posted @ 2009-06-02 12:25 Acor 阅读(269) 评论(0) 推荐(0) 编辑

ThreadPool 示例

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading; namespace ThreadIsAll{ class Program { public class PrintNumbers { ... 阅读全文

posted @ 2009-06-02 12:19 Acor 阅读(458) 评论(0) 推荐(0) 编辑

上一页 1 ··· 13 14 15 16 17

导航