ControlPaint.DrawLockedFrame(Graphics, Rectangle, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定边界内和指定图形图面的屏幕上绘制锁定的选择框。 指定是否绘制具有主要选定颜色的框架。
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)
参数
- primary
- Boolean
true 使用用于主要选择的颜色绘制此框架;否则,为 false.