private void ShowProgressForm(string progressText, int?maximumOrNullForMarquee) { UpdateProgressInfo(progressText); UpdateProgressMaximumOrMarqueeAndReset(maximumOrNullForMarquee); frm.Show(); System.Windows.Forms.Application.DoEvents(); }