public bool UpdateExtentFromCurrentView()
        {
            Editor arg_10_0 = this.ParentDataset.ParentDocument.Editor;
            Extent ext;

            return(DocUtil.GetActiveViewportExtents(this.ParentDataset.ParentDocument, out ext) && this.UpdateExtentLimit(ext));
        }
 protected void UpdateIfNeeded()
 {
     try
     {
         Editor arg_10_0 = this.ParentDataset.ParentDocument.Editor;
         if (this.ParentDataset.ParentDocument.IsActive)
         {
             if (!this.ParentDataset.ParentDocument.IsDisposed)
             {
                 if (this.Dynamic)
                 {
                     if (this.DrawnViewInfo != null)
                     {
                         Extent extent = new Extent();
                         if (DocUtil.GetActiveViewportExtents(this.ParentDataset.ParentDocument, out extent))
                         {
                             if (!extent.Equals(this.DrawnViewInfo))
                             {
                                 if (this.OutstandingRequestInfo == null || !this.OutstandingRequestInfo.Equals(extent))
                                 {
                                     if (this.RequestUpdate(extent))
                                     {
                                         this.OutstandingRequestInfo = extent;
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
     catch
     {
     }
 }