pls i need to control my progress bar relative to the page, but i'm having problems... i tried this:
private void staffToolStripMenuItem_Click(object sender, EventArgs e)
{
progressBar1.Maximum = 1000000;
progressBar1.Step = 1;
for (int j = 0; j < 1000000; j++)
{
progressBar1.PerformStep();
}
Registration frm2 = new Registration();
frm2.Show();
this.Hide();
}
can someone help me????????????