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