I have a button on a windows form application that when pressed runs two functions that are in different classes. The processing time takes 10 seconds or so and I would like to run a progress bar simply as aesthetic feedback for the user so they know something is happening. It does not need to actually progress as the work is done. The problem is it never actually starts moving ... the rest of the application works fine (ie database is loaded and results are processed) but the progress bar doesn't ever do anything. Any help someone can provide would be great! Thanks!!
private void button1_Click(object sender, EventArgs e)
{
//START PROGRESS BAR MOVEMENT
pb.Style = ProgressBarStyle.Marquee;
LoadDatabase.Groups();
ProcessResults.GroupOne();
//END PROGRESS BAR MOVEMENT
????
}