The BackgroundColor property overrides the BackColor and BackgroundImage property of the SplashPanel. To show a image as the background, place a PictureBox control on the SplashPanel.
The attached example also sets the DockStyle of the PictureBox to Fill so that the PictureBox takes up the entire SplashPanel.
Please let us know if you have any questions.
IPIvan PellyApril 16, 2003 06:29 PM UTC
Thanks. I placed a picturebox on the splashpanel, which works to display an image. However, the speed at which the image is displayed is a problem. I have a reasonably fast machine, but when I show the splashscreen (not animated - I just show it centered on the screen), first I see the border, then I see the border partially filled with gray, then the image appears. Granted, all this happens pretty quickly, but it doesn't have a particularly snappy, professional look. The image is about 300x400. Any way to speed this up, or delay displaying the panel until it's ready to display in its entirety? Thanks!
Davis Jebaraj April 17, 2003 12:23 PM UTC
We are currently working on improving the painting in the SplashPanel and the revised/improved version which addresses your concerns should be included in the next version.
Thank you for your patience.