5 references to FromHwndInternal
System.Drawing.Common (1)
System\Drawing\Graphics.cs (1)
110
public static Graphics FromHwnd(IntPtr hwnd) =>
FromHwndInternal
(hwnd);
System.Drawing.Common.Tests (1)
System\Drawing\GraphicsTests.cs (1)
130
Assert.Throws<ExternalException>(() => Graphics.
FromHwndInternal
(10));
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
4552
return Graphics.
FromHwndInternal
(Handle);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3443
using Graphics g = Graphics.
FromHwndInternal
(Handle);
System\Windows\Forms\Form.cs (1)
3784
using Graphics graphics = Graphics.
FromHwndInternal
(0);