progressbar to be updated on selected index changed of a combo box
- by joy
hi,
i am developing a windows application using C#.net and i am having a combobox with some list items .on selected index changed event of the combo box i need to have the progess bar to be visible and should disappear after retrieving some data.
i am trying inthe way:
for (int i = progressBar1.Minimum; i <= progressBar1.Maximum; i++)
{
progressBar1.PerformStep();
}
panel1.Visible = false;
where my progress bar is placed in panel1.
but i am getting the progess bar when i first run my application after that when ever combobox item is changed the progress abr is not visible.
i need the solution asap...
Thanks in advance!