public MultiPhaseProgressIndicator(IProgressIndicator indicator, int numberOfPhases)
		{
			_globalIndicator = indicator;
			_globalIndicator.Initialize();

			_numberOfPhases = numberOfPhases;
			_currentPhase = 0;  // must call Initialize() to increment the _currentProcess
			_currentPhasePercentComplete = 0;
		}
示例#2
0
        public MultiPhaseProgressIndicator(IProgressIndicator indicator, int numberOfPhases)
        {
            _globalIndicator = indicator;
            _globalIndicator.Initialize();

            _numberOfPhases = numberOfPhases;
            _currentPhase   = 0;            // must call Initialize() to increment the _currentProcess
            _currentPhasePercentComplete = 0;
        }