Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Dim bmp As Bitmap = Bitmap.FromFile("C:\Users\james\Desktop\1.bmp")
- bmp.MakeTransparent(Color.White) ' white in bitmap will be transparent
- PictureBox1.Image = bmp
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment