Hello
I use
MyPic.ImageLocation = Opf.FileName or drag and drop to put an image in a picture box
the mypic.image = nothing does not clear it
also this will clear it but if another form ot message box is displayed over the picturebox it will come back (the part that was covered)
Dim g As Graphics = MyPic.CreateGraphics()
g.Clear(MyPic.BackColor)
g.Dispose()
Can anyone help me clear the picture box?
Thanks
I use
MyPic.ImageLocation = Opf.FileName or drag and drop to put an image in a picture box
the mypic.image = nothing does not clear it
also this will clear it but if another form ot message box is displayed over the picturebox it will come back (the part that was covered)
Dim g As Graphics = MyPic.CreateGraphics()
g.Clear(MyPic.BackColor)
g.Dispose()
Can anyone help me clear the picture box?
Thanks