日期:2014-05-18 浏览次数:20986 次
[DllImport("user32.dll")] public static extern bool InvalidateRect(IntPtr hwnd,IntPtr lpRect,bool bErase); private void button1_Click(object sender, System.EventArgs e) { InvalidateRect(IntPtr.Zero ,IntPtr.Zero ,true); }