internal static extern int ChangeDisplaySettings([In] ref DisplayMode lpDevMode, int dwFlags);
internal static extern bool EnumDisplaySettings(int lpszDeviceName, int iModeNum, ref DisplayMode lpDevMode);
public static void ChangeDisplayMode(DisplayMode displayMode) { ChangeDisplaySettings(ref displayMode, 0); }