Пример #1
0
 protected void UpdateProgressMaximumOrMarqueeAndReset(int?maximumOrNull)
 {
     if (maximumOrNull == null)
     {
         frm.SetProgressBarStyle(System.Windows.Forms.ProgressBarStyle.Marquee);
     }
     else
     {
         frm.SetProgressBarStyle(System.Windows.Forms.ProgressBarStyle.Blocks);
         frm.SetProgressBarMaximum(maximumOrNull.Value);
     }
 }