摘要:
来自:http://www.czj.name/archives/256.so 阅读全文
摘要:
函数声明:[DllImport("user32.dll")]public static extern int MessageBoxTimeoutA(IntPtr hwnd, string txt, string caption, int wtype, int wlange, int dwtimeout);记得前面引用命名空间:using System.Runtime.InteropServices;调用的时候:MessageBoxTimeoutA(this.Handle ,"要关闭哦","提示",64 ,0,3000);参数值说明:v 阅读全文