Visual Basic (Declaration) | |
---|---|
Public Event PostPaint As EventHandler(Of Medical3DPostPaintEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DContainer Dim handler As EventHandler(Of Medical3DPostPaintEventArgs) AddHandler instance.PostPaint, handler |
C# | |
---|---|
public event EventHandler<Medical3DPostPaintEventArgs> PostPaint |
C++/CLI | |
---|---|
public: event EventHandler<Medical3DPostPaintEventArgs^>^ PostPaint |
The event handler receives an argument of type Medical3DPostPaintEventArgs containing data related to this event. The following Medical3DPostPaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ClipRectangle (Inherited from System.Windows.Forms.PaintEventArgs) | Gets the rectangle in which to paint. |
Graphics (Inherited from System.Windows.Forms.PaintEventArgs) | Gets the graphics used to paint. |
Object | (Read only) Gets the object being drawn. |
ObjectIndex | (Read only) Gets the index of the object being drawn. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7