zhuyi 9 месяцев назад
Родитель
Сommit
f4e5dce7cf

+ 0 - 1
Demo/Examples/Compdfkit_Tools/Common/PasswordControl/PasswordWindow.xaml.cs

@@ -3,7 +3,6 @@ using System;
 using System.Windows;
 using System.Windows.Input;
 using Compdfkit_Tools.Helper;
-using ComPDFKit.PDFDocument;
 
 namespace Compdfkit_Tools.Common
 {

+ 8 - 8
Demo/Examples/Compdfkit_Tools/PDFView/PDFViewControl/PDFViewControl.xaml.cs

@@ -368,7 +368,7 @@ namespace Compdfkit_Tools.PDFControl
             fitWidthMenu.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetFitMode(FitMode.FitWidth);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(fitWidthMenu);
             
@@ -377,7 +377,7 @@ namespace Compdfkit_Tools.PDFControl
             fitSizeMenu.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetFitMode(FitMode.FitOriginal);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(fitSizeMenu);
             
@@ -388,7 +388,7 @@ namespace Compdfkit_Tools.PDFControl
                 FocusPDFViewTool?.GetCPDFViewer()?.SetFitMode(FitMode.FitZoom);
                 double zoom = FocusPDFViewTool?.GetCPDFViewer()?.GetZoom() ?? 1;
                 FocusPDFViewTool?.GetCPDFViewer()?.SetZoom(CheckZoomLevel(zoom, true));
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(zoomInMenu);
             
@@ -399,7 +399,7 @@ namespace Compdfkit_Tools.PDFControl
                 FocusPDFViewTool?.GetCPDFViewer()?.SetFitMode(FitMode.FitZoom);
                 double zoom = FocusPDFViewTool?.GetCPDFViewer()?.GetZoom() ?? 1;
                 FocusPDFViewTool?.GetCPDFViewer()?.SetZoom(CheckZoomLevel(zoom, false));
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(zoomOutMenu);
             
@@ -410,7 +410,7 @@ namespace Compdfkit_Tools.PDFControl
             singleView.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetViewMode(ViewMode.Single);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(singleView);
             
@@ -419,7 +419,7 @@ namespace Compdfkit_Tools.PDFControl
             singleContinuousView.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetViewMode(ViewMode.SingleContinuous);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(singleContinuousView);
             
@@ -428,7 +428,7 @@ namespace Compdfkit_Tools.PDFControl
             doubleView.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetViewMode(ViewMode.Double);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(doubleView);
             
@@ -437,7 +437,7 @@ namespace Compdfkit_Tools.PDFControl
             doubleContinuousView.Click += (o, p) =>
             {
                 FocusPDFViewTool?.GetCPDFViewer()?.SetViewMode(ViewMode.DoubleContinuous);
-                FocusPDFViewTool?.GetCPDFViewer()?.UpDateRenderFrame();
+                FocusPDFViewTool?.GetCPDFViewer()?.UpdateRenderFrame();
             };
             contextMenu.Items.Add(doubleContinuousView);
             contextMenu.Items.Add(new Separator());