gpt4 book ai didi

c# - 是否可以有两个带有透明图像的重叠 PictureBox 控件?

转载 作者:可可西里 更新时间:2023-11-01 07:45:01 25 4
gpt4 key购买 nike

<分区>

有两个重叠 PictureBox controls ,我试图让图片框的透明区域让下面的控件(在 z 顺序中)可见。

甚至在 trying what Microsoft suggests 之后, 我得不到想要的结果。

这是我目前拥有的:

enter image description here

这就是我想要的:

enter image description here

所以我的问题是:

有什么方法可以使用两个相互重叠的 PictureBox 控件(或另一种方法)来实现我想要的结果,让透明区域透过?

更新:

其实我是用this answer解决的SO 问题“Transparent images with C# WinForms”。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com