c#同步时间第一种方法:借用系统接口[DllImport("user32.dll")] private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); [DllImport("Kernel32.dll")] private static extern Boolean SetSystemTime([In, Out] SystemTime st); [DllImport("Kernel32.dll")] public static extern Read More