2 references to FromHdc
System.Drawing.Common.Tests (2)
System\Drawing\FontTests.cs (2)
461
AssertExtensions.Throws<ArgumentException>(null, () => Font.
FromHdc
(IntPtr.Zero));
472
AssertExtensions.Throws<ArgumentException>(null, () => Font.
FromHdc
(hdc));