I'm working on an application, a webbrowser. I followed the documentation in the book "Build a program now! Visual C# 2005 express edition", Chapter 6.
The problem is that the splashscreen is viewed, but in the background you can see a part of the form, that should be visible afted the splashscreen dissapeares.
I created a splashscreen.
In the constructor of the form of my browser I wrote the following code:
Splash splashScreen = new Splash();
When the form is finished loading it throws an "Activated" event. I catch this event with the following method:
private void Browser_Activated(object sender, EventArgs e)
So the idea here is that the splashscreen is visible from the start (not the form). In the meanwhile the form is loading. When it's done loading it throws an Activated event, wich I catch in the Browser_Activated method. In this method I wait for 3 seconds, then close the splashscreen. After that the form should be visible. But the problem is that the form is directly from the start of the application half visible. You can see the borders en the three buttons in the right corner of the form (the close, minimalize and maximalize) buttons.
What am I doing wrong
Visual Studio Express Editions6