i am running a windows application. In this application my main form is a MDI Parent form.I have a splash screen which is not a child form.It is the first form.I want after the splash screen has been loaded the main form that is the MDI Parent should appear. i tried MDIParent.Show(). but it says object reference not set to instance of an object. Please help
private void frmsplashscreen_Load(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
progressBar1.Increment(5);
if (progressBar1.Value == 100)
{
timer1.Stop();
this.Close();
}
}