Wednesday, October 15

VB Helper: Index Categories
如果你是VB.Net的开发着,那这个网站还是有些用处的。
我在这里学会了如何让一个winform上的picturebox里的图片透明显示:>
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Use MakeTransparent to make red pixels transparent.
Dim bm As New Bitmap(PictureBox1.Image)
bm.MakeTransparent(Color.Transparent)

' Display the result.
PictureBox1.Image = bm
End Sub

No comments: