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!

ControlPaint.DrawLockedFrame

Draws a locked selection frame around the given rectangle.

[Visual Basic]
Public Shared Sub DrawLockedFrame( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal primary As Boolean _
)
[C#]
public static void DrawLockedFrame(
   Graphics graphics,
   Rectangle rect,
   bool primary
);
[C++]
public: static void DrawLockedFrame(
   Graphics* graphics,
   Rectangle rect,
   bool primary
);
[JScript]
public static function DrawLockedFrame(
   graphics : Graphics,
   rect : Rectangle,
   primary : Boolean
);

Parameters

graphics
The graphics object to draw to.
rect
The coordiniates of the glyph.
primary
true to draw this frame with the primary selected colors.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace