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