當Picture shaped
窗體出現時,以下代碼不起作用。圖片不能正常工作
Dim Img As New System.Drawing.Bitmap(My.Resources.imgpng)'ImgPng is a resource Image
' The color at Pixel(1,1) is rendered as transparent for the complete background.
Img.MakeTransparent(Img.GetPixel(1, 1))
Me.BackgroundImage = Img
Me.TransparencyKey = Img.GetPixel(1, 1)
任何人都可以幫助我更加接近嗎?
你爲什麼選擇這個作爲我的答案?好吧... – U1199880 2013-03-04 19:50:26