Graphics.DrawIcon Method (Icon, Int32, Int32)
Draws the image represented by the specified Icon at the specified coordinates.
Assembly: System.Drawing (in System.Drawing.dll)
Creates an icon from a standard Windows icon file SampIcon.ico in the example folder.
Creates the coordinates of the upper-left corner at which to draw the icon.
Draws the icon to the screen.
The drawn icon is unscaled.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.