有一个Label,一个pictureBox。Label在PictureBox 上;
在C# VB.NET 中 如果给标签设一个透明的PNG图片,然后设 Label 的Parent为pictureBox
哪么Label 背景透明了!没问题!
在VC.net 中,也这样的话哪什么 Label 就不显示了,请为这是为什么?

解决方案 »

  1.   

    要是label变成透明,this.label1.BackColor = Color.Transparent;
      

  2.   

    如果label 下没有 pictureBox 楼上的方法应该可行,但如果label 下有 pictureBox 
    this.label1.BackColor = Color.Transparent; 这个是不行的!
      

  3.   

    到自动生成的代码里面看看 label 放在哪个容器里面的。应该放在 picturebox 里面,默认好像是form里面  
      

  4.   

    VC.NET没用过,应该是可以的。搜索一下看什么问题。