Jelajahi Sumber

孙浩楠-bug 1471

zhuyi 1 tahun lalu
induk
melakukan
c294073bb2

+ 8 - 0
Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFBOTABarControl.xaml.cs

@@ -469,5 +469,13 @@ namespace Compdfkit_Tools.PDFControl
                 ((CPDFSignatureListControl)currentBotaTool).LoadSignatureList();
             }
         }
+        public void LoadThumbnail()
+        {
+            UIElement currentBotaTool = GetBotaTool();
+            if (currentBotaTool is CPDFThumbnailControl)
+            {
+                ((CPDFThumbnailControl)currentBotaTool).LoadThumb();
+            }
+        }
     }
 }

+ 1 - 0
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -340,6 +340,7 @@ namespace PDFViewer
             {
                 pageEditControl.ExitPageEdit -= PageEditControl_ExitPageEdit;
                 NotDocsEditorVisible = Visibility.Visible;
+                botaBarControl.LoadThumbnail();
             }
 
             if (item.Content as string == "Viewer")