1 write to DeviceDpiOld
System.Windows.Forms (1)
System\Windows\Forms\Rendering\DpiChangedEventArgs.cs (1)
19
DeviceDpiOld
= old;
9 references to DeviceDpiOld
System.Windows.Forms (8)
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (2)
339
if (e.DeviceDpiNew != e.
DeviceDpiOld
)
341
_scaledHeightPadding = (int)Math.Round(HEIGHTPADDING * ((float)e.DeviceDpiNew / e.
DeviceDpiOld
));
System\Windows\Forms\Form.cs (5)
4457
if (e.DeviceDpiNew != e.
DeviceDpiOld
)
4460
_oldDeviceDpi = e.
DeviceDpiOld
;
4484
if (!_dpiFormSizes.ContainsKey(e.
DeviceDpiOld
))
4486
_dpiFormSizes.Add(e.
DeviceDpiOld
, Size);
4494
ScaleContainerForDpi(e.DeviceDpiNew, e.
DeviceDpiOld
, e.SuggestedRectangle);
System\Windows\Forms\Rendering\DpiChangedEventArgs.cs (1)
31
public override string ToString() => $"was: {
DeviceDpiOld
}, now: {DeviceDpiNew}";
WinFormsControlsTest (1)
MenuStripAndCheckedListBox.cs (1)
27
float factor = (float)e.DeviceDpiNew / e.
DeviceDpiOld
;