20 references to Union
System.Drawing.Common.Tests (3)
System\Drawing\RegionTests.cs (3)
358other.Union(new Rectangle(60, 60, 30, 10)); 1733region.Union(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1799AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.Union(default(Rectangle)));
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1818region.Union(displayedItems[i].Bounds);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (7)
883parentRegionToPaint.Union(topLeftParentHorizontalPixels); 884parentRegionToPaint.Union(bottomLeftParentHorizontalPixels); 885parentRegionToPaint.Union(bottomLeftParentVerticalPixels); 886parentRegionToPaint.Union(bottomRightHorizontalPixels); 887parentRegionToPaint.Union(bottomRightVerticalPixels); 888parentRegionToPaint.Union(topRightHorizontalPixels); 889parentRegionToPaint.Union(topRightVerticalPixels);
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (1)
66_region.Union(new Rectangle(x, y, 1, 1));
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
707_dragImageRegion.Union(controlRect); 959_dragImageRegion.Union(controlRect);
System\Windows\Forms\Design\Behavior\SelectionManager.cs (5)
353toRefresh.Union(large); 354toRefresh.Union(small); 364toRefresh.Union(large); 373toRefresh.Union(smaller[k]); 385toRefresh.Union(currentSelectionBounds[i]);
System\Windows\Forms\Design\TabOrder.cs (1)
268_region?.Union(convertedRectangle);