A strange minor problem in moving a picture from a box to another
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 a开发者_如何学编程nd how can I fix it in my Code?
Thank you
Add Me.Refresh()
after that statement.
This will call the Paint-events (so does hiding and showing your Form.
精彩评论