1. 在VS中创建一个Winform项目,其默认的窗体名称为 Form1。
  2. 在VS设计界面中对 Form1 的 Opacity 属性值设置为 50%。

没错,就这样就可以了。

 方法2;            this.TransparencyKey = Color.Gold;//设置一种颜色。将其颜色都变换为透明色

相关文章:

  • 2022-02-25
  • 2021-11-06
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2022-01-15
  • 2021-05-27
  • 2021-10-18
猜你喜欢
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案