Form not unloading after assigning a picture to an Image control
Posted on 2000-04-19
My About box's Form_Load contains the following line of code:
imgIcon.Picture = frmMain.Icon
to display main form's icon in an Image control. When I close the dialog and then close my program, the About box is not unloaded, so the program does not really end. I've commented out that line and then the program ends correctly. The same happens with PictureBox controls. Any hints?