NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StatusBarDrawItemEventArgs Constructor

Initializes a new instance of the StatusBarDrawItemEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal g As Graphics, _
   ByVal font As Font, _
   ByVal r As Rectangle, _
   ByVal itemId As Integer, _
   ByVal itemState As DrawItemState, _
   ByVal panel As StatusBarPanel _
)
[C#]
public StatusBarDrawItemEventArgs(
   Graphics g,
   Font font,
   Rectangle r,
   int itemId,
   DrawItemState itemState,
   StatusBarPanel panel
);
[C++]
public: StatusBarDrawItemEventArgs(
   Graphics* g,
   Font* font,
   Rectangle r,
   int itemId,
   DrawItemState itemState,
   StatusBarPanel* panel
);
[JScript]
public function StatusBarDrawItemEventArgs(
   g : Graphics,
   font : Font,
   r : Rectangle,
   itemId : int,
   itemState : DrawItemState,
   panel : StatusBarPanel
);

Parameters

g
The Graphics object used to draw the panel.
font
The Font used to render the text.
r
The Rectangle object in which to draw the panel.
itemId
The zero-based index of the panel.
itemState
One of the DrawItemState values.
panel
The StatusBarPanel to draw.

See Also

StatusBarDrawItemEventArgs Class | StatusBarDrawItemEventArgs Members | System.WinForms Namespace | DrawItemState | Font | Graphics | Rectangle | StatusBarPanel