3 references to FromHrgn
System.Drawing.Common.Tests (2)
System\Drawing\RegionTests.cs (2)
917
Region newRegion = Region.
FromHrgn
(handle1);
930
AssertExtensions.Throws<ArgumentException>(null, () => Region.
FromHrgn
(IntPtr.Zero));
System.Windows.Forms.Primitives (1)
System\Drawing\RegionExtensions.cs (1)
8
public static Region ToRegion(this RegionScope scope) => Region.
FromHrgn
(scope.Region);