ControlPaint.DrawLockedFrame(Graphics, Rectangle, Boolean) 方法

定义

在指定边界内和指定图形图面的屏幕上绘制锁定的选择框。 指定是否绘制具有主要选定颜色的框架。

public:
 static void DrawLockedFrame(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, bool primary);
public static void DrawLockedFrame(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary);
static member DrawLockedFrame : System.Drawing.Graphics * System.Drawing.Rectangle * bool -> unit
Public Shared Sub DrawLockedFrame (graphics As Graphics, rectangle As Rectangle, primary As Boolean)

参数

graphics
Graphics

Graphics 绘制的。

rectangle
Rectangle

表示 Rectangle 框架的尺寸。

primary
Boolean

true 使用用于主要选择的颜色绘制此框架;否则,为 false.

适用于