10 2005 档案

使用c#调用API函数CreateProcess来运行外部程序
摘要:c#调用CreateProcess函数比较麻烦的地方就是该函数的那些参数用c#的语法如何定义,CreateProcess函数位于Kernel32.dll中,原形如下:BOOL CreateProcess( LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, L... 阅读全文

posted @ 2005-10-27 10:40 DoNet鸟 阅读(10972) 评论(10) 推荐(0)

如何定义事件
摘要:做了个小例子来说明如何定义事件和触发事件 1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using System.Data; 7 8 namespace WA_Te... 阅读全文

posted @ 2005-10-13 21:02 DoNet鸟 阅读(1573) 评论(0) 推荐(0)

导航