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