コード例 #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);
     }
 }
コード例 #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));
            }
        }
コード例 #3
0
ファイル: DocumentSequence.cs プロジェクト: dox0/DotNet471RS3
        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));
            }
        }
コード例 #4
0
 internal void NotifyPaginationProgress(PaginationProgressEventArgs e)
 {
     OnPaginationProgress(e);
 }
コード例 #5
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));
     }
 }
コード例 #6
0
ファイル: PageCache.cs プロジェクト: JianwenSun/cc
        //------------------------------------------------------
        //
        //  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)
 {
 }
コード例 #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);
     }
 }