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。