Hi,
lets try this
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Timer
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
Form2 f2= new Form2();
private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
if (progressBar2.Value < 100)
{
progressBar2.Value += 2;
}
else
{
timer1.Stop();
f2.ShowDialog();
}
}
}
}
i hope this will helps to you.