当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 例DLL 文件内容如下: using Syst
 

 

    摘要: 有时你会想只运行一个程序首次运行时的实例,有些时候则可能只需要运行最新的那个实例。以下是这两种实现这两种方法的例子。 ......
    摘要: 学习 ......


装载外部DLL全攻略

例dll 文件内容如下:

using system.windows.forms; 【程序编程相关:Henry的VB.NET之旅(一)—失踪

using system; 【推荐阅读:谈谈asp.net项目中对Excel报表

 public class showaboutbox { 【扩展信息:Henry的VB.NET之旅(三)—共享

namespace arli.commonprj {

  public static void showon(form fm) {

   messagebox.show("ok");

  }

 }

}

编译后文件名叫 aboutbox.dll

主程序里调用方法如下:

//定义文件名

fileinfo aboxfile = new fileinfo(path.combine(application.startuppath,"aboutbox.dll"));


...   下一页
    摘要: by kenn scribner翻译:邹建强 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE