public void DrawIconUnstretched (Icon icon, Rectangle targetRect) { if (icon == null) throw new ArgumentNullException ("icon"); DrawImageUnscaled (icon.GetInternalBitmap (), targetRect); }
public void DrawIcon (Icon icon, int x, int y) { if (icon == null) throw new ArgumentNullException ("icon"); DrawImage (icon.GetInternalBitmap (), x, y); }