Background Constructor(Color,Color)
Initializes a new instance of the Background object with gradient colors drawn left to right.
Syntax
'Declaration Public Function New( _ ByVal myColor As Color, _ ByVal secondColor As Color _ )
'Usage Dim myColor As Color Dim secondColor As Color Dim instance As New Background(myColor, secondColor)
public Background( Color myColor, Color secondColor )
Parameters
- myColor
- First color.
- secondColor
- Second color
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also