Ejemplo n.º 1
0
 /// <summary>
 /// Override for subclasses that wish to add logic when this event is fired.
 /// </summary>
 /// <param name="e">Event arguments for the PaginationProgress event.</param>
 protected virtual void OnPaginationProgress(PaginationProgressEventArgs e)
 {
     if (this.PaginationProgress != null)
     {
         this.PaginationProgress(this, e);
     }
 }
Ejemplo n.º 2
0
        // Token: 0x06002B90 RID: 11152 RVA: 0x000C6D88 File Offset: 0x000C4F88
        private void _OnChildPaginationProgress(object sender, PaginationProgressEventArgs args)
        {
            int start;

            if (this._SynthesizeGlobalPageNumber((DynamicDocumentPaginator)sender, args.Start, out start))
            {
                this._paginator.NotifyPaginationProgress(new PaginationProgressEventArgs(start, args.Count));
            }
        }
Ejemplo n.º 3
0
        private void _OnChildPaginationProgress(object sender, PaginationProgressEventArgs args)
        {
            DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("_OnChildPaginationProgress"));
            int pageNumber;

            if (_SynthesizeGlobalPageNumber((DynamicDocumentPaginator)sender, args.Start, out pageNumber))
            {
                _paginator.NotifyPaginationProgress(new PaginationProgressEventArgs(pageNumber, args.Count));
            }
        }
Ejemplo n.º 4
0
 internal void NotifyPaginationProgress(PaginationProgressEventArgs e)
 {
     OnPaginationProgress(e);
 }
 private void _OnChildPaginationProgress(object sender, PaginationProgressEventArgs args)
 {
     DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("_OnChildPaginationProgress"));
     int pageNumber;
     if (_SynthesizeGlobalPageNumber((DynamicDocumentPaginator)sender, args.Start, out pageNumber))
     {
         _paginator.NotifyPaginationProgress(new PaginationProgressEventArgs(pageNumber, args.Count));
     }
 }
Ejemplo n.º 6
0
        //------------------------------------------------------
        //
        //  Private Methods
        //
        //------------------------------------------------------		

        #region Private Methods        
        
        /// <summary>
        /// Handler for the OnPaginationProgress event fired by the DocumentPaginator.         
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        private void OnPaginationProgress(object sender, PaginationProgressEventArgs args)
        {
            //Since handling the PaginationProgress event entails a bit of work, we'll
            //have our dispatcher call the PaginationProgress event at Normal priority.
            Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal,
                   new DispatcherOperationCallback(PaginationProgressDelegate), args);
        }
 protected virtual new void OnPaginationProgress(PaginationProgressEventArgs e)
 {
 }
 protected virtual new void OnPaginationProgress(PaginationProgressEventArgs e)
 {
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Override for subclasses that wish to add logic when this event is fired.
 /// </summary>
 /// <param name="e">Event arguments for the PaginationProgress event.</param>
 protected virtual void OnPaginationProgress(PaginationProgressEventArgs e)
 {
     if (this.PaginationProgress != null)
     {
         this.PaginationProgress(this, e);
     }
 }