3 writes to _oldDeviceDpi
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (2)
313_deviceDpi = _oldDeviceDpi = ScaleHelper.InitialSystemDpi; 11458_oldDeviceDpi = _deviceDpi;
System\Windows\Forms\Form.cs (1)
4460_oldDeviceDpi = e.DeviceDpiOld;
4 references to _oldDeviceDpi
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (4)
5316if (_oldDeviceDpi != _deviceDpi && OsVersion.IsWindows10_1703OrGreater()) 5318AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, _oldDeviceDpi); 11469if (_oldDeviceDpi == newDeviceDpi) 11512RescaleConstantsForDpi(_oldDeviceDpi, _deviceDpi);