protected virtual void Export_ProgressEx( object sender , DevExpress.XtraPrinting.ChangeEventArgs e ) { if ( e.EventName == DevExpress.XtraPrinting.SR.ProgressPositionChanged ) { int pos = ( int ) e.ValueOf( DevExpress.XtraPrinting.SR.ProgressPosition ); progressForm.SetProgressValue( pos ); } }