|
Actualy so for as i know there is no builtin functionality in .Net to change display settings. To change settings u will have to use PInvokea dll i think user32.dll. import that dll in ur program and use its functions
BOOL EnumDisplaySettings(
LPCTSTR lpszDeviceName, // display device
DWORD iModeNum, // graphics mode
LPDEVMODE lpDevMode // graphics mode settings
)
for display and to change display LONG ChangeDisplaySettings(
LPDEVMODE lpDevMode, // graphics mode
DWORD dwflags // graphics mode options
);
for more info on these functions and how to use seach these function in MSDN disabling all the search Filters
Hope this help.
|