AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 StackTrace: 在 System.Windows.Forms.UnsafeNativeMethods.IntCreateDC(String lpszDriver, String lpszDeviceName, String lpszOutput, HandleRef devMode) 在 System.Windows.Forms.UnsafeNativeMethods.CreateDC(String lpszDriver) 在 System.Windows.Forms.Screen..ctor(IntPtr monitor, IntPtr hdc) 在 System.Windows.Forms.Screen.MonitorEnumCallback.Callback(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lparam)