0

Hey Guys. I am having this simple line of code:

Image1.Image = vImage.Image

Image1 is a picture box in child window and vImage is a picture box in parent window. When I open the child window for the first time, I see a complete blank picture in Image1 while at the same time vImage is having a picture on it. When I Hide and reopen it again It has the picture on it. What is the problem and how can I fix it in my Code?

Thank you

Faulty Orc
  • 955
  • 4
  • 13
  • 24

1 Answers1

0

Add Me.Refresh() after that statement. This will call the Paint-events (so does hiding and showing your Form.

Koen
  • 2,501
  • 1
  • 32
  • 43