26 references to Exclude
System.Drawing.Common.Tests (6)
System\Drawing\RegionTests.cs (6)
837region.Exclude(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 903AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.Exclude(default(Rectangle))); 1304infiniteExclude.Exclude(new Rectangle(387, 292, 189, 133)); 1305infiniteExclude.Exclude(new Rectangle(387, 66, 189, 133)); 1356infiniteExclude.Exclude(new Rectangle(387, 292, 189, 133)); 1357infiniteExclude.Exclude(new Rectangle(387, 66, 189, 133));
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1223region.Exclude(_lastClipRect.Value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
31region.Exclude(bounds);
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
801invalidRegion.Exclude(newImageRect);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
388newRegion.Exclude(Rectangle.Inflate(borderRect, -BorderSize, -BorderSize)); 854newRegion.Exclude(Rectangle.Inflate(newBorderRect, -BorderSize, -BorderSize)); 863oldRegion.Exclude(Rectangle.Inflate(oldBorderRect, -BorderSize, -BorderSize));
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
333invalidRegion.Exclude(newRectangle);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2124nonClient.Exclude(clientAreaScreenBounds);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
1791newRegion.Exclude(Rectangle.Inflate(frameRect, -frameWidth, -frameWidth)); 1983newRegion.Exclude(Rectangle.Inflate(frameRect, -frameWidth, -frameWidth)); 1999oldRegion.Exclude(Rectangle.Inflate(oldFrameRect, -frameWidth, -frameWidth));
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
334_region.Exclude(_innerRect);
System\Windows\Forms\Design\TabOrder.cs (1)
209_region.Exclude(ctlInner);
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (3)
464invalidateRegion.Exclude(invalidateBounds); 470itemRegion.Exclude(invalidateBounds); 500invalidateRegion.Exclude(invalidateBounds);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
86rgn.Exclude(bounds);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1184invalidatingRegion.Exclude(dropDown.Bounds); 1921regionToInvalidate.Exclude(MenuItem.DropDown.Bounds);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
841rgn.Exclude(invalidateBounds);