2 writes to bitsPerPixel
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DisplayInformation.cs (2)
42
bitsPerPixel
= (short)Screen.PrimaryScreen.BitsPerPixel;
137
bitsPerPixel
= 0;
2 references to bitsPerPixel
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DisplayInformation.cs (2)
36
if (
bitsPerPixel
== 0) {
45
return
bitsPerPixel
;