Example #1
0
        internal void ResetSettings(ProgressSettings progSettings)
        {
            if (progSettings == null)
            {
                return;
            }

            ProgressIsFinite  = progSettings.ProgressIsFinite;
            ProgressIsVisible = progSettings.ProgressIsVisible;
            ProgressMaximum   = progSettings.ProgressMaximum;
            ProgressMinimum   = progSettings.ProgressMinimum;
            ProgressText      = progSettings.ProgressText;
            ProgressValue     = progSettings.ProgressValue;
        }
Example #2
0
 /// <summary>
 /// Class constructor
 /// </summary>
 public ProgressViewModel(ProgressSettings progSettings)
     : this()
 {
     ResetSettings(progSettings);
 }