确保maskImageBox控件显示在顶层以解决暂停字样不显示问题
This commit is contained in:
@@ -192,6 +192,8 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
this.Controls.Add(this.imageBox);
|
this.Controls.Add(this.imageBox);
|
||||||
// 再添加maskImageBox遮罩层,确保它显示在上面
|
// 再添加maskImageBox遮罩层,确保它显示在上面
|
||||||
this.Controls.Add(this.maskImageBox);
|
this.Controls.Add(this.maskImageBox);
|
||||||
|
// 确保maskImageBox显示在顶层
|
||||||
|
this.maskImageBox.BringToFront();
|
||||||
this.Name = "Camera";
|
this.Name = "Camera";
|
||||||
this.Size = new System.Drawing.Size(512, 384);
|
this.Size = new System.Drawing.Size(512, 384);
|
||||||
this.Load += new System.EventHandler(this.Camera_Load);
|
this.Load += new System.EventHandler(this.Camera_Load);
|
||||||
|
|||||||
Reference in New Issue
Block a user