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