摘要:
[System.Runtime.InteropServices.DllImport("user32.dll")] public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int wndproc); [System.Runtime 阅读全文
摘要:
首先是 委托实现的异步 class Program { public delegate int weituo();//定义了个委托 public int xxx() { Thread.Sleep(3000); Console.WriteLine("11111."); return 1; } ///定 阅读全文