I have windows form application written in c#. In this i have statusscript with a label and progressbar. When my code enters recurscive code, i get multiple instances of progressbar. I am using marquee style for progressbar.
Progressbar.Visible = true;
Progressbar.Style = ProgressBarStyle.Marquee
#Do something
Progressbar.visible=false