hi,
i have 2 forms. when the application runs, 1 of them should run for 300
milliseconds and then closes. after this, the other form should open. this
works but the second form closes after that. what happened? can anyone 'fix'
my code?
here is my current code:
private void timer1_Tick(obj ect sender, EventArgs e)
{
Form1 f = new Form1();
f.ShowDialog();
f.Dispose();
}
regards,
--
Alvo von Cossel I of Germany
i have 2 forms. when the application runs, 1 of them should run for 300
milliseconds and then closes. after this, the other form should open. this
works but the second form closes after that. what happened? can anyone 'fix'
my code?
here is my current code:
private void timer1_Tick(obj ect sender, EventArgs e)
{
Form1 f = new Form1();
f.ShowDialog();
f.Dispose();
}
regards,
--
Alvo von Cossel I of Germany
Comment