18 references to EnableDpiChangedMessageHandling
System.Windows.Forms (18)
misc\DpiHelper.cs (1)
300
return
EnableDpiChangedMessageHandling
&& // we will receive DpiChanged Messages,
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
83
if (DpiHelper.
EnableDpiChangedMessageHandling
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
119
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
5927
if ((!isScalingInitialized && DpiHelper.IsScalingRequired) || DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\ContainerControl.cs (1)
323
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\Control.cs (5)
2242
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
7758
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
8730
if (DpiHelper.
EnableDpiChangedMessageHandling
&& !(typeof(Form).IsAssignableFrom(this.GetType()))) {
14327
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
14333
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\Form.cs (2)
7624
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
7632
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\SystemInformation.cs (5)
187
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
213
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
254
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
374
return GetMenuFontHelper((uint)dpi, DpiHelper.
EnableDpiChangedMessageHandling
);
520
if (DpiHelper.
EnableDpiChangedMessageHandling
) {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
755
if (DpiHelper.
EnableDpiChangedMessageHandling
&& (IntPtr.Zero != hWnd)) {