24 references to HandleInternal
System.Windows.Forms (24)
winforms\Managed\System\WinForms\Application.cs (2)
4149
int id = SafeNativeMethods.GetWindowThreadProcessId(new HandleRef(this,
HandleInternal
), out lpdwProcessId);
4156
UnsafeNativeMethods.PostMessage(new HandleRef(this,
HandleInternal
), WM_CHECKDESTROY, IntPtr.Zero, IntPtr.Zero);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
76
ButtonRenderer.DrawButtonForHandle(e.Graphics, Control.ClientRectangle, false, pbState, this.Control.
HandleInternal
);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
222
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, true, Control.MouseIsOver), Control.
HandleInternal
);
230
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, false, Control.MouseIsOver), Control.
HandleInternal
);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
114
layout.checkSize = CheckBoxRenderer.GetGlyphSize(g, CheckBoxRenderer.ConvertFromButtonState(GetState(), true, Control.MouseIsOver), Control.
HandleInternal
).Width;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
188
RadioButtonRenderer.DrawRadioButton(g, new Point(check.Left, check.Top), RadioButtonRenderer.ConvertFromButtonState(style, Control.MouseIsOver), Control.
HandleInternal
);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (1)
75
layout.checkSize = RadioButtonRenderer.GetGlyphSize(g, RadioButtonRenderer.ConvertFromButtonState(GetState(), b.MouseIsOver), b.
HandleInternal
).Width;
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
682
idealCheckSize = (int)(CheckBoxRenderer.GetGlyphSize(e.Graphics, cbState,
HandleInternal
)).Width;
712
CheckBoxRenderer.DrawCheckBox(e.Graphics, new Point(box.X, box.Y), cbState,
HandleInternal
);
winforms\Managed\System\WinForms\Control.cs (4)
2868
return
HandleInternal
;
8732
deviceDpi = (int)UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this,
HandleInternal
));
13423
deviceDpi = (int)UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this,
HandleInternal
));
13450
uint dpi = UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this,
HandleInternal
));
winforms\Managed\System\WinForms\Form.cs (1)
5117
SafeNativeMethods.SetWindowPos(new HandleRef(this,
HandleInternal
), NativeMethods.NullHandleRef, e.SuggestedRectangle.X, e.SuggestedRectangle.Y, e.SuggestedRectangle.Width, e.SuggestedRectangle.Height, NativeMethods.SWP_NOZORDER | NativeMethods.SWP_NOACTIVATE);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
105
ComboBoxRenderer.DrawDropDownButtonForHandle(pevent.Graphics, dropDownButtonRect, cbState, this.
HandleInternal
);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1984
PaintOutlineWithExplorerTreeStyle(g, r, (DpiHelper.EnableDpiChangedHighDpiImprovements && GridEntryHost!=null) ? this.GridEntryHost.
HandleInternal
: IntPtr.Zero);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6104
(int) UnsafeNativeMethods.GetDpiForWindow(new HandleRef(this,
HandleInternal
));
winforms\Managed\System\WinForms\UpDownBase.cs (6)
819
vsr.DrawBackground(e.Graphics, bounds, clipLeft,
HandleInternal
);
820
vsr.DrawBackground(e.Graphics, bounds, clipTop,
HandleInternal
);
821
vsr.DrawBackground(e.Graphics, bounds, clipRight,
HandleInternal
);
822
vsr.DrawBackground(e.Graphics, bounds, clipBottom,
HandleInternal
);
1706
vsr.DrawBackground(e.Graphics, new Rectangle(0, 0, parent.defaultButtonsWidth, half_height),
HandleInternal
);
1718
vsr.DrawBackground(e.Graphics, new Rectangle(0, half_height, parent.defaultButtonsWidth, half_height),
HandleInternal
);