private
[DllImport("user32.dll", EntryPoint = "MessageBoxA")]
static extern int MsgBox(int hWnd, string msg, string caption, int type);
private void Demo()
{
MsgBox(0, "这就是用DllImport调用DLL弹出的提示框哦!", "提示", 0x30);
}
每天进步一点点...
posted @
2008-08-19 15:32
亦心
阅读(
1260)
评论()
编辑
收藏
举报