当 BackColor 设置为透明且表单的 backColor 设置为带有 A 值的颜色时,StatusStrip 的透明度高于工具条

问题描述

我有一些 toolstripsStatusStrip 并且我已经设置了

SetStyle(ControlStyles.SupportsTransparentBackColor,true);

但是当我使用 backColor 为表单设置 A value 时,例如:Color.FromArgb(170,96,72,225) 我得到 StatusStrip 是 more lighter 而不是 toolStrip . 检查这张图片:

screenshot Of StatusStrip and toolStrip

这是什么原因?

我可以将 toolStrips 和 StatusStrip 设置为相同的颜色(透明度)吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...