@@ -123,7 +123,6 @@ namespace Compdfkit_Tools.PDFControl
public CPDFPageEditControl()
{
InitializeComponent();
- SetLangText();
}
public void PageEdit(string PageEditString)
@@ -194,11 +193,6 @@ namespace Compdfkit_Tools.PDFControl
- private void SetLangText()
- {
-
- }
private void Timer_Tick(object sender, EventArgs e)
AlertBorder.Visibility = Visibility.Collapsed;
@@ -2156,7 +2150,6 @@ namespace Compdfkit_Tools.PDFControl
private void UserControl_SizeChanged(object sender, SizeChangedEventArgs e)
- DoSelectItems();
ItemsInViewHitTest();
@@ -40,7 +40,7 @@ namespace PDFViewer
private CPDFPageEditControl pageEditControl = null;
private FromPropertyControl pdfFormControl = new FromPropertyControl();
private PDFImageEditControl imageEditControl = null;
- private CPDFDisplaySettingsControl displayPanel = null;
+ private CPDFDisplaySettingsControl displayPanel = new CPDFDisplaySettingsControl();
private double[] zoomLevelList = { 1f, 8f, 12f, 25, 33f, 50, 66f, 75, 100, 125, 150, 200, 300, 400, 600, 800, 1000 };
public bool CanSave
@@ -1159,8 +1159,7 @@ namespace PDFViewer
if (ViewSettingBtn != null)
if (ViewSettingBtn.IsChecked == true)
- displayPanel = new CPDFDisplaySettingsControl();
+ {
displayPanel.InitWithPDFViewer(pdfViewControl.PDFView);
PropertyContainer.Child = displayPanel;
PropertyContainer.Visibility = Visibility.Visible;