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