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