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