| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal type As String, _ ByVal shapecolor As Color _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim type As String Dim shapecolor As Color Dim instance As New ShapeEventArgs(type, shapecolor)  | |
| C# | |
|---|---|
public ShapeEventArgs( string type, Color shapecolor )  | |
Parameters
- type
 - Shape type
 - shapecolor
 - Shape color
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8