// Token: 0x06000423 RID: 1059 RVA: 0x00027EF0 File Offset: 0x000260F0
        private static void a(Document A_0)
        {
            if (A_0 == null)
            {
                return;
            }
            PromptSelectionResult promptSelectionResult = null;

            try
            {
                promptSelectionResult = A_0.Editor.SelectImplied();
            }
            catch (Exception ex)
            {
                if (ex.ErrorStatus != 2)
                {
                    throw ex;
                }
                promptSelectionResult = null;
            }
            if (promptSelectionResult == null || promptSelectionResult.Status != 5100)
            {
                return;
            }
            AvcPalette.a(new List <ObjectId>(promptSelectionResult.Value.GetObjectIds()));
        }
 // Token: 0x06000426 RID: 1062 RVA: 0x0002807C File Offset: 0x0002627C
 private static void a(object A_0, DocumentCollectionEventArgs A_1)
 {
     try
     {
         if (!(A_1.Document == null))
         {
             using (A_1.Document.a())
             {
                 AvcPalette.a();
             }
             AvcPalette.b();
             if (AvcPalette.b)
             {
                 AvcPalette.b(A_1.Document);
             }
         }
     }
     catch (CancelException)
     {
         ah.c();
     }
     catch (WarningException ex)
     {
         ah.a(ex.Message);
     }
     catch (Exception a_)
     {
         ah.a(a_, "");
     }
 }
 // Token: 0x06000420 RID: 1056 RVA: 0x00027E1C File Offset: 0x0002601C
 private static void a(object A_0, EventArgs A_1)
 {
     try
     {
         if (A_1 == null || !(A_0 is Document))
         {
             AvcPalette.b();
         }
         else
         {
             AvcPalette.a();
             AvcPalette.b();
             AvcPalette.a(A_0 as Document);
         }
     }
     catch (CancelException)
     {
         ah.c();
     }
     catch (WarningException ex)
     {
         ah.a(ex.Message);
     }
     catch (Exception a_)
     {
         AvcPalette.b();
         ah.a(a_, "");
     }
 }