Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何使pictureBox透明?_C#_Windows_Forms_Controls_Transparent - Fatal编程技术网

C# 如何使pictureBox透明?

C# 如何使pictureBox透明?,c#,windows,forms,controls,transparent,C#,Windows,Forms,Controls,Transparent,你好,我想在我的项目中做两层pictureBox控件 1表示移动对象,另1表示绘制直线 但是,即使我将背景色设置为透明,上部PB也会隐藏下部PB 是否有其他方法或特殊控制来克服此问题 我在谷歌上搜索了一些答案,但没有找到我需要的。也许你可以使用设置pictureBox的不透明度。可能的副本

你好,我想在我的项目中做两层pictureBox控件

1表示移动对象,另1表示绘制直线

但是,即使我将背景色设置为透明,上部PB也会隐藏下部PB

是否有其他方法或特殊控制来克服此问题


我在谷歌上搜索了一些答案,但没有找到我需要的。

也许你可以使用设置pictureBox的不透明度。

可能的副本