用Graphics在Picturebox上画的线条,为什么去读picturebox的image值,确没有图片显示.
Dim P1 As New Pen(System.Drawing.Color.Black, 10)
Dim G As Graphics = Picturebox1.CreateGraphics
G.DrawLine(P1, 30, 0, 30, 80)
pictur2.image=picture1.image
'picturbox2并无图片显示。
而且如果在用picturebox1.refresh则,画的线条都没有了。