ControlPaint::DrawLockedFrame Method (Graphics^, Rectangle, Boolean)
.NET Framework (current version)
Draws a locked selection frame on the screen within the specified bounds and on the specified graphics surface. Specifies whether to draw the frame with the primary selected colors.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: static void DrawLockedFrame( Graphics^ graphics, Rectangle rectangle, bool primary )
Parameters
- graphics
-
Type:
System.Drawing::Graphics^
The Graphics to draw on.
- rectangle
-
Type:
System.Drawing::Rectangle
The Rectangle that represents the dimensions of the frame.
- primary
-
Type:
System::Boolean
true to draw this frame with the colors used for the primary selection; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show: