Hi! I think the following code will help you. All you need to do is to use a
ProgressBar and Timer.
private void timer1_Tick(object sender, EventArgs e)
{
progressbar1_Loading.Value += 2;
if (progressbar1_Loading.Value == 100)
{
Form2 form = new Form2();
form.Show();
this.Visible = false;
timer1.Stop();
}
}
private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
}
So, when progressbar value will be 100 the form2 will load automatically.