9 references to DrawImage
System.Drawing.Common.Tests (2)
mono\System.Drawing\GraphicsTests.cs (2)
2591Assert.Throws<ArgumentNullException>(() => g.DrawImage(null, default(Rectangle), default, GraphicsUnit.Display)); 2599g.DrawImage(bmp, r, r, unit);
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
840g.DrawImage(bmFlipXPThemes, backgroundBounds, new Rectangle(bmFlipXPThemes.Width - backgroundBounds.Width, 0, backgroundBounds.Width, backgroundBounds.Height), GraphicsUnit.Pixel);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
703graphics.DrawImage(
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
769e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
797e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
377_graphics.DrawImage(_backgroundImage, invalidRect, invalidRect, GraphicsUnit.Pixel); 397_graphics.DrawImage(_backgroundImage, invalidRect, invalidRect, GraphicsUnit.Pixel);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1039g.DrawImage(_dragComponents[i].dragImage, controlRect,