摘要: 它用于把方法标记在外部的dll中定义。而不在任何的装配件中定义。 [DllImport("User32.dll")] public extern static int MessageBox(int iParent,string Message,string Caption,int Type); 使用: MessageBox(0,"Hello","Message",0); 可以弹出... 阅读全文
posted @ 2004-12-31 14:43 jhtchina 阅读(697) 评论(0) 推荐(0) 编辑