- Transparence partielle et bords irréguliers en .net
- Visual Basic / VB.NET : Form avec bords irreguliers a partir d'une image - CodeS SourceS
- Delphi / Pascal : Form aux bords irreguliers en fonction d'une image,(decoupage, transparence, regio
- Transparence Label sous VB.Net
- Visual Basic / VB.NET : Fenêtres transparentes w2k+ - CodeS SourceS
26 janv. 2004 à 13:23
J'ai trouvé un truc plus simple:
créé une image dont le pixel(0, 0) est la couleur transparente (cette couleur rendra tout le formuleur transparent)
Me.PictureBox1.Top = 0
Me.PictureBox1.Left = 0
Me.Width = Me.PictureBox1.Width
Me.Height = Me.PictureBox1.Height
Dim tmp As System.Drawing.Bitmap
tmp = Me.PictureBox1.Image
Me.BackColor = tmp.GetPixel(0, 0)
Me.TransparencyKey = Me.BackColor
Me.FormBorderStyle = FormBorderStyle.None
1 août 2003 à 16:50