示例#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;
        }
示例#2
0
 /// <summary>
 /// Class constructor
 /// </summary>
 public ProgressViewModel(ProgressSettings progSettings)
     : this()
 {
     ResetSettings(progSettings);
 }