diff --git a/app/DD_Clipboard_Searcher/frmSettings.designer.vb b/app/DD_Clipboard_Searcher/frmSettings.designer.vb index d3c5060..3a8fabe 100644 --- a/app/DD_Clipboard_Searcher/frmSettings.designer.vb +++ b/app/DD_Clipboard_Searcher/frmSettings.designer.vb @@ -24,6 +24,9 @@ Partial Class frmSettings Private Sub InitializeComponent() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmSettings)) Me.GroupBox1 = New System.Windows.Forms.GroupBox() + Me.chkEnableDeferredPainting = New System.Windows.Forms.CheckBox() + Me.Label8 = New System.Windows.Forms.Label() + Me.cbPageDisplayMode = New System.Windows.Forms.ComboBox() Me.chkIgnoreDocumentResolution = New System.Windows.Forms.CheckBox() Me.PictureBox1 = New System.Windows.Forms.PictureBox() Me.txtZoomStep = New System.Windows.Forms.NumericUpDown() @@ -46,23 +49,18 @@ Partial Class frmSettings Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.chkEnableICM = New System.Windows.Forms.CheckBox() Me.GroupBox4 = New System.Windows.Forms.GroupBox() - Me.Label7 = New System.Windows.Forms.Label() - Me.cbPDFRenderingEngine = New System.Windows.Forms.ComboBox() Me.chkPDFVerifyDigitalCertificates = New System.Windows.Forms.CheckBox() Me.chkPDFIncreaseTextContrast = New System.Windows.Forms.CheckBox() Me.chkPDFEnableLinks = New System.Windows.Forms.CheckBox() Me.chkPDFEnableFileLinks = New System.Windows.Forms.CheckBox() Me.chkPDFDisplayFormFields = New System.Windows.Forms.CheckBox() - Me.cbPageDisplayMode = New System.Windows.Forms.ComboBox() - Me.Label8 = New System.Windows.Forms.Label() - Me.chkEnableDeferredPainting = New System.Windows.Forms.CheckBox() - Me.GroupBox1.SuspendLayout - CType(Me.PictureBox1,System.ComponentModel.ISupportInitialize).BeginInit - CType(Me.txtZoomStep,System.ComponentModel.ISupportInitialize).BeginInit - Me.GroupBox2.SuspendLayout - Me.GroupBox3.SuspendLayout - Me.GroupBox4.SuspendLayout - Me.SuspendLayout + Me.GroupBox1.SuspendLayout() + CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() + CType(Me.txtZoomStep, System.ComponentModel.ISupportInitialize).BeginInit() + Me.GroupBox2.SuspendLayout() + Me.GroupBox3.SuspendLayout() + Me.GroupBox4.SuspendLayout() + Me.SuspendLayout() ' 'GroupBox1 ' @@ -84,386 +82,328 @@ Partial Class frmSettings Me.GroupBox1.Controls.Add(Me.cbDisplayQuality) Me.GroupBox1.Controls.Add(Me.chkContinuousViewMode) Me.GroupBox1.Controls.Add(Me.Label1) - Me.GroupBox1.Location = New System.Drawing.Point(18, 18) - Me.GroupBox1.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.GroupBox1.Location = New System.Drawing.Point(12, 12) Me.GroupBox1.Name = "GroupBox1" - Me.GroupBox1.Padding = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.GroupBox1.Size = New System.Drawing.Size(436, 455) + Me.GroupBox1.Size = New System.Drawing.Size(291, 296) Me.GroupBox1.TabIndex = 1 - Me.GroupBox1.TabStop = false + Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "General options" ' + 'chkEnableDeferredPainting + ' + Me.chkEnableDeferredPainting.AutoSize = True + Me.chkEnableDeferredPainting.CheckAlign = System.Drawing.ContentAlignment.MiddleRight + Me.chkEnableDeferredPainting.Location = New System.Drawing.Point(6, 270) + Me.chkEnableDeferredPainting.Name = "chkEnableDeferredPainting" + Me.chkEnableDeferredPainting.Size = New System.Drawing.Size(141, 17) + Me.chkEnableDeferredPainting.TabIndex = 17 + Me.chkEnableDeferredPainting.Text = "Enable deferred painting" + Me.chkEnableDeferredPainting.UseVisualStyleBackColor = True + ' + 'Label8 + ' + Me.Label8.AutoSize = True + Me.Label8.Location = New System.Drawing.Point(6, 95) + Me.Label8.Name = "Label8" + Me.Label8.Size = New System.Drawing.Size(70, 13) + Me.Label8.TabIndex = 16 + Me.Label8.Text = "Display mode" + ' + 'cbPageDisplayMode + ' + Me.cbPageDisplayMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList + Me.cbPageDisplayMode.FormattingEnabled = True + Me.cbPageDisplayMode.Location = New System.Drawing.Point(116, 93) + Me.cbPageDisplayMode.Name = "cbPageDisplayMode" + Me.cbPageDisplayMode.Size = New System.Drawing.Size(130, 21) + Me.cbPageDisplayMode.TabIndex = 4 + ' 'chkIgnoreDocumentResolution ' - Me.chkIgnoreDocumentResolution.AutoSize = true + Me.chkIgnoreDocumentResolution.AutoSize = True Me.chkIgnoreDocumentResolution.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkIgnoreDocumentResolution.Location = New System.Drawing.Point(9, 382) - Me.chkIgnoreDocumentResolution.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkIgnoreDocumentResolution.Location = New System.Drawing.Point(6, 248) Me.chkIgnoreDocumentResolution.Name = "chkIgnoreDocumentResolution" - Me.chkIgnoreDocumentResolution.Size = New System.Drawing.Size(229, 24) + Me.chkIgnoreDocumentResolution.Size = New System.Drawing.Size(154, 17) Me.chkIgnoreDocumentResolution.TabIndex = 11 Me.chkIgnoreDocumentResolution.Text = "Ignore document resolution" - Me.chkIgnoreDocumentResolution.UseVisualStyleBackColor = true + Me.chkIgnoreDocumentResolution.UseVisualStyleBackColor = True ' 'PictureBox1 ' Me.PictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle - Me.PictureBox1.Location = New System.Drawing.Point(174, 305) - Me.PictureBox1.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.PictureBox1.Location = New System.Drawing.Point(116, 198) Me.PictureBox1.Name = "PictureBox1" - Me.PictureBox1.Size = New System.Drawing.Size(30, 31) + Me.PictureBox1.Size = New System.Drawing.Size(21, 21) Me.PictureBox1.TabIndex = 3 - Me.PictureBox1.TabStop = false + Me.PictureBox1.TabStop = False ' 'txtZoomStep ' - Me.txtZoomStep.Location = New System.Drawing.Point(104, 28) - Me.txtZoomStep.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.txtZoomStep.Location = New System.Drawing.Point(69, 18) Me.txtZoomStep.Maximum = New Decimal(New Integer() {1000, 0, 0, 0}) Me.txtZoomStep.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) Me.txtZoomStep.Name = "txtZoomStep" - Me.txtZoomStep.Size = New System.Drawing.Size(118, 26) + Me.txtZoomStep.Size = New System.Drawing.Size(79, 20) Me.txtZoomStep.TabIndex = 0 Me.txtZoomStep.Value = New Decimal(New Integer() {1, 0, 0, 0}) ' 'cbMouseWheelMode ' Me.cbMouseWheelMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbMouseWheelMode.FormattingEnabled = true - Me.cbMouseWheelMode.Location = New System.Drawing.Point(174, 263) - Me.cbMouseWheelMode.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.cbMouseWheelMode.FormattingEnabled = True + Me.cbMouseWheelMode.Location = New System.Drawing.Point(116, 171) Me.cbMouseWheelMode.Name = "cbMouseWheelMode" - Me.cbMouseWheelMode.Size = New System.Drawing.Size(158, 28) + Me.cbMouseWheelMode.Size = New System.Drawing.Size(107, 21) Me.cbMouseWheelMode.TabIndex = 7 ' 'cbDocumentPosition ' Me.cbDocumentPosition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbDocumentPosition.FormattingEnabled = true - Me.cbDocumentPosition.Location = New System.Drawing.Point(174, 223) - Me.cbDocumentPosition.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.cbDocumentPosition.FormattingEnabled = True + Me.cbDocumentPosition.Location = New System.Drawing.Point(116, 145) Me.cbDocumentPosition.Name = "cbDocumentPosition" - Me.cbDocumentPosition.Size = New System.Drawing.Size(158, 28) + Me.cbDocumentPosition.Size = New System.Drawing.Size(107, 21) Me.cbDocumentPosition.TabIndex = 6 ' 'cbDocumentAlignment ' Me.cbDocumentAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbDocumentAlignment.FormattingEnabled = true - Me.cbDocumentAlignment.Location = New System.Drawing.Point(174, 183) - Me.cbDocumentAlignment.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.cbDocumentAlignment.FormattingEnabled = True + Me.cbDocumentAlignment.Location = New System.Drawing.Point(116, 119) Me.cbDocumentAlignment.Name = "cbDocumentAlignment" - Me.cbDocumentAlignment.Size = New System.Drawing.Size(158, 28) + Me.cbDocumentAlignment.Size = New System.Drawing.Size(107, 21) Me.cbDocumentAlignment.TabIndex = 5 ' 'chkEnableMenu ' - Me.chkEnableMenu.AutoSize = true + Me.chkEnableMenu.AutoSize = True Me.chkEnableMenu.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkEnableMenu.Location = New System.Drawing.Point(9, 346) - Me.chkEnableMenu.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkEnableMenu.Location = New System.Drawing.Point(6, 225) Me.chkEnableMenu.Name = "chkEnableMenu" - Me.chkEnableMenu.Size = New System.Drawing.Size(206, 24) + Me.chkEnableMenu.Size = New System.Drawing.Size(140, 17) Me.chkEnableMenu.TabIndex = 10 Me.chkEnableMenu.Text = "Enable contextual menu" - Me.chkEnableMenu.UseVisualStyleBackColor = true + Me.chkEnableMenu.UseVisualStyleBackColor = True ' 'Label6 ' - Me.Label6.AutoSize = true - Me.Label6.Location = New System.Drawing.Point(9, 311) - Me.Label6.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label6.AutoSize = True + Me.Label6.Location = New System.Drawing.Point(6, 202) Me.Label6.Name = "Label6" - Me.Label6.Size = New System.Drawing.Size(133, 20) + Me.Label6.Size = New System.Drawing.Size(91, 13) Me.Label6.TabIndex = 9 Me.Label6.Text = "Background color" ' 'Label5 ' - Me.Label5.AutoSize = true - Me.Label5.Location = New System.Drawing.Point(10, 266) - Me.Label5.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label5.AutoSize = True + Me.Label5.Location = New System.Drawing.Point(7, 173) Me.Label5.Name = "Label5" - Me.Label5.Size = New System.Drawing.Size(146, 20) + Me.Label5.Size = New System.Drawing.Size(99, 13) Me.Label5.TabIndex = 8 Me.Label5.Text = "Mouse wheel mode" ' 'Label4 ' - Me.Label4.AutoSize = true - Me.Label4.Location = New System.Drawing.Point(10, 226) - Me.Label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label4.AutoSize = True + Me.Label4.Location = New System.Drawing.Point(7, 147) Me.Label4.Name = "Label4" - Me.Label4.Size = New System.Drawing.Size(142, 20) + Me.Label4.Size = New System.Drawing.Size(95, 13) Me.Label4.TabIndex = 7 Me.Label4.Text = "Document position" ' 'Label3 ' - Me.Label3.AutoSize = true - Me.Label3.Location = New System.Drawing.Point(10, 186) - Me.Label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label3.AutoSize = True + Me.Label3.Location = New System.Drawing.Point(7, 121) Me.Label3.Name = "Label3" - Me.Label3.Size = New System.Drawing.Size(156, 20) + Me.Label3.Size = New System.Drawing.Size(104, 13) Me.Label3.TabIndex = 6 Me.Label3.Text = "Document alignment" ' 'Label2 ' - Me.Label2.AutoSize = true - Me.Label2.Location = New System.Drawing.Point(9, 106) - Me.Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label2.AutoSize = True + Me.Label2.Location = New System.Drawing.Point(6, 69) Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(109, 20) + Me.Label2.Size = New System.Drawing.Size(74, 13) Me.Label2.TabIndex = 4 Me.Label2.Text = "Display quality" ' 'cbDisplayQuality ' Me.cbDisplayQuality.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbDisplayQuality.FormattingEnabled = true - Me.cbDisplayQuality.Location = New System.Drawing.Point(174, 103) - Me.cbDisplayQuality.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.cbDisplayQuality.FormattingEnabled = True + Me.cbDisplayQuality.Location = New System.Drawing.Point(116, 67) Me.cbDisplayQuality.Name = "cbDisplayQuality" - Me.cbDisplayQuality.Size = New System.Drawing.Size(158, 28) + Me.cbDisplayQuality.Size = New System.Drawing.Size(107, 21) Me.cbDisplayQuality.TabIndex = 3 ' 'chkContinuousViewMode ' - Me.chkContinuousViewMode.AutoSize = true + Me.chkContinuousViewMode.AutoSize = True Me.chkContinuousViewMode.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkContinuousViewMode.Location = New System.Drawing.Point(9, 65) - Me.chkContinuousViewMode.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkContinuousViewMode.Location = New System.Drawing.Point(6, 42) Me.chkContinuousViewMode.Name = "chkContinuousViewMode" - Me.chkContinuousViewMode.Size = New System.Drawing.Size(194, 24) + Me.chkContinuousViewMode.Size = New System.Drawing.Size(133, 17) Me.chkContinuousViewMode.TabIndex = 2 Me.chkContinuousViewMode.Text = "Continuous view mode" - Me.chkContinuousViewMode.UseVisualStyleBackColor = true + Me.chkContinuousViewMode.UseVisualStyleBackColor = True ' 'Label1 ' - Me.Label1.AutoSize = true - Me.Label1.Location = New System.Drawing.Point(9, 31) - Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) + Me.Label1.AutoSize = True + Me.Label1.Location = New System.Drawing.Point(6, 20) Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(85, 20) + Me.Label1.Size = New System.Drawing.Size(57, 13) Me.Label1.TabIndex = 1 Me.Label1.Text = "Zoom step" ' 'btnApply ' - Me.btnApply.Location = New System.Drawing.Point(793, 520) - Me.btnApply.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.btnApply.Location = New System.Drawing.Point(529, 338) Me.btnApply.Name = "btnApply" - Me.btnApply.Size = New System.Drawing.Size(112, 35) + Me.btnApply.Size = New System.Drawing.Size(75, 23) Me.btnApply.TabIndex = 99 Me.btnApply.Text = "Apply" - Me.btnApply.UseVisualStyleBackColor = true + Me.btnApply.UseVisualStyleBackColor = True ' 'GroupBox2 ' Me.GroupBox2.Controls.Add(Me.chkHQAnnotationsRendering) Me.GroupBox2.Controls.Add(Me.chkAnnotationsDropShadow) - Me.GroupBox2.Location = New System.Drawing.Point(464, 18) - Me.GroupBox2.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.GroupBox2.Location = New System.Drawing.Point(309, 12) Me.GroupBox2.Name = "GroupBox2" - Me.GroupBox2.Padding = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.GroupBox2.Size = New System.Drawing.Size(436, 128) + Me.GroupBox2.Size = New System.Drawing.Size(291, 83) Me.GroupBox2.TabIndex = 3 - Me.GroupBox2.TabStop = false + Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "Annotations options" ' 'chkHQAnnotationsRendering ' - Me.chkHQAnnotationsRendering.AutoSize = true + Me.chkHQAnnotationsRendering.AutoSize = True Me.chkHQAnnotationsRendering.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkHQAnnotationsRendering.Location = New System.Drawing.Point(9, 65) - Me.chkHQAnnotationsRendering.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkHQAnnotationsRendering.Location = New System.Drawing.Point(6, 42) Me.chkHQAnnotationsRendering.Name = "chkHQAnnotationsRendering" - Me.chkHQAnnotationsRendering.Size = New System.Drawing.Size(218, 24) + Me.chkHQAnnotationsRendering.Size = New System.Drawing.Size(147, 17) Me.chkHQAnnotationsRendering.TabIndex = 14 Me.chkHQAnnotationsRendering.Text = "HQ annotations rendering" - Me.chkHQAnnotationsRendering.UseVisualStyleBackColor = true + Me.chkHQAnnotationsRendering.UseVisualStyleBackColor = True ' 'chkAnnotationsDropShadow ' - Me.chkAnnotationsDropShadow.AutoSize = true + Me.chkAnnotationsDropShadow.AutoSize = True Me.chkAnnotationsDropShadow.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkAnnotationsDropShadow.Location = New System.Drawing.Point(9, 29) - Me.chkAnnotationsDropShadow.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkAnnotationsDropShadow.Location = New System.Drawing.Point(6, 19) Me.chkAnnotationsDropShadow.Name = "chkAnnotationsDropShadow" - Me.chkAnnotationsDropShadow.Size = New System.Drawing.Size(216, 24) + Me.chkAnnotationsDropShadow.Size = New System.Drawing.Size(146, 17) Me.chkAnnotationsDropShadow.TabIndex = 13 Me.chkAnnotationsDropShadow.Text = "Annotations drop shadow" - Me.chkAnnotationsDropShadow.UseVisualStyleBackColor = true + Me.chkAnnotationsDropShadow.UseVisualStyleBackColor = True ' 'GroupBox3 ' Me.GroupBox3.Controls.Add(Me.chkEnableICM) - Me.GroupBox3.Location = New System.Drawing.Point(18, 483) - Me.GroupBox3.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.GroupBox3.Location = New System.Drawing.Point(12, 314) Me.GroupBox3.Name = "GroupBox3" - Me.GroupBox3.Padding = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.GroupBox3.Size = New System.Drawing.Size(436, 71) + Me.GroupBox3.Size = New System.Drawing.Size(291, 46) Me.GroupBox3.TabIndex = 2 - Me.GroupBox3.TabStop = false + Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "Image viewing options" ' 'chkEnableICM ' - Me.chkEnableICM.AutoSize = true + Me.chkEnableICM.AutoSize = True Me.chkEnableICM.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkEnableICM.Location = New System.Drawing.Point(9, 29) - Me.chkEnableICM.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkEnableICM.Location = New System.Drawing.Point(6, 19) Me.chkEnableICM.Name = "chkEnableICM" - Me.chkEnableICM.Size = New System.Drawing.Size(118, 24) + Me.chkEnableICM.Size = New System.Drawing.Size(81, 17) Me.chkEnableICM.TabIndex = 12 Me.chkEnableICM.Text = "Enable ICM" - Me.chkEnableICM.UseVisualStyleBackColor = true + Me.chkEnableICM.UseVisualStyleBackColor = True ' 'GroupBox4 ' - Me.GroupBox4.Controls.Add(Me.Label7) - Me.GroupBox4.Controls.Add(Me.cbPDFRenderingEngine) Me.GroupBox4.Controls.Add(Me.chkPDFVerifyDigitalCertificates) Me.GroupBox4.Controls.Add(Me.chkPDFIncreaseTextContrast) Me.GroupBox4.Controls.Add(Me.chkPDFEnableLinks) Me.GroupBox4.Controls.Add(Me.chkPDFEnableFileLinks) Me.GroupBox4.Controls.Add(Me.chkPDFDisplayFormFields) - Me.GroupBox4.Location = New System.Drawing.Point(464, 155) - Me.GroupBox4.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.GroupBox4.Location = New System.Drawing.Point(309, 101) Me.GroupBox4.Name = "GroupBox4" - Me.GroupBox4.Padding = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.GroupBox4.Size = New System.Drawing.Size(436, 283) + Me.GroupBox4.Size = New System.Drawing.Size(291, 184) Me.GroupBox4.TabIndex = 4 - Me.GroupBox4.TabStop = false + Me.GroupBox4.TabStop = False Me.GroupBox4.Text = "PDF viewing options" ' - 'Label7 - ' - Me.Label7.AutoSize = true - Me.Label7.Location = New System.Drawing.Point(12, 188) - Me.Label7.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label7.Name = "Label7" - Me.Label7.Size = New System.Drawing.Size(163, 20) - Me.Label7.TabIndex = 6 - Me.Label7.Text = "PDF rasterizer engine" - ' - 'cbPDFRenderingEngine - ' - Me.cbPDFRenderingEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbPDFRenderingEngine.FormattingEnabled = true - Me.cbPDFRenderingEngine.Location = New System.Drawing.Point(183, 182) - Me.cbPDFRenderingEngine.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.cbPDFRenderingEngine.Name = "cbPDFRenderingEngine" - Me.cbPDFRenderingEngine.Size = New System.Drawing.Size(180, 28) - Me.cbPDFRenderingEngine.TabIndex = 19 - ' 'chkPDFVerifyDigitalCertificates ' - Me.chkPDFVerifyDigitalCertificates.AutoSize = true + Me.chkPDFVerifyDigitalCertificates.AutoSize = True Me.chkPDFVerifyDigitalCertificates.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkPDFVerifyDigitalCertificates.Location = New System.Drawing.Point(9, 225) - Me.chkPDFVerifyDigitalCertificates.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkPDFVerifyDigitalCertificates.Location = New System.Drawing.Point(6, 119) Me.chkPDFVerifyDigitalCertificates.Name = "chkPDFVerifyDigitalCertificates" - Me.chkPDFVerifyDigitalCertificates.Size = New System.Drawing.Size(201, 24) + Me.chkPDFVerifyDigitalCertificates.Size = New System.Drawing.Size(136, 17) Me.chkPDFVerifyDigitalCertificates.TabIndex = 20 Me.chkPDFVerifyDigitalCertificates.Text = "Verify digital certificates" - Me.chkPDFVerifyDigitalCertificates.UseVisualStyleBackColor = true + Me.chkPDFVerifyDigitalCertificates.UseVisualStyleBackColor = True ' 'chkPDFIncreaseTextContrast ' - Me.chkPDFIncreaseTextContrast.AutoSize = true + Me.chkPDFIncreaseTextContrast.AutoSize = True Me.chkPDFIncreaseTextContrast.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkPDFIncreaseTextContrast.Location = New System.Drawing.Point(9, 148) - Me.chkPDFIncreaseTextContrast.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkPDFIncreaseTextContrast.Location = New System.Drawing.Point(6, 96) Me.chkPDFIncreaseTextContrast.Name = "chkPDFIncreaseTextContrast" - Me.chkPDFIncreaseTextContrast.Size = New System.Drawing.Size(189, 24) + Me.chkPDFIncreaseTextContrast.Size = New System.Drawing.Size(128, 17) Me.chkPDFIncreaseTextContrast.TabIndex = 18 Me.chkPDFIncreaseTextContrast.Text = "Increase text contrast" - Me.chkPDFIncreaseTextContrast.UseVisualStyleBackColor = true + Me.chkPDFIncreaseTextContrast.UseVisualStyleBackColor = True ' 'chkPDFEnableLinks ' - Me.chkPDFEnableLinks.AutoSize = true + Me.chkPDFEnableLinks.AutoSize = True Me.chkPDFEnableLinks.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkPDFEnableLinks.Location = New System.Drawing.Point(9, 112) - Me.chkPDFEnableLinks.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkPDFEnableLinks.Location = New System.Drawing.Point(6, 73) Me.chkPDFEnableLinks.Name = "chkPDFEnableLinks" - Me.chkPDFEnableLinks.Size = New System.Drawing.Size(120, 24) + Me.chkPDFEnableLinks.Size = New System.Drawing.Size(83, 17) Me.chkPDFEnableLinks.TabIndex = 17 Me.chkPDFEnableLinks.Text = "Enable links" - Me.chkPDFEnableLinks.UseVisualStyleBackColor = true + Me.chkPDFEnableLinks.UseVisualStyleBackColor = True ' 'chkPDFEnableFileLinks ' - Me.chkPDFEnableFileLinks.AutoSize = true + Me.chkPDFEnableFileLinks.AutoSize = True Me.chkPDFEnableFileLinks.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkPDFEnableFileLinks.Location = New System.Drawing.Point(9, 77) - Me.chkPDFEnableFileLinks.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkPDFEnableFileLinks.Location = New System.Drawing.Point(6, 50) Me.chkPDFEnableFileLinks.Name = "chkPDFEnableFileLinks" - Me.chkPDFEnableFileLinks.Size = New System.Drawing.Size(144, 24) + Me.chkPDFEnableFileLinks.Size = New System.Drawing.Size(99, 17) Me.chkPDFEnableFileLinks.TabIndex = 16 Me.chkPDFEnableFileLinks.Text = "Enable file links" - Me.chkPDFEnableFileLinks.UseVisualStyleBackColor = true + Me.chkPDFEnableFileLinks.UseVisualStyleBackColor = True ' 'chkPDFDisplayFormFields ' - Me.chkPDFDisplayFormFields.AutoSize = true + Me.chkPDFDisplayFormFields.AutoSize = True Me.chkPDFDisplayFormFields.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkPDFDisplayFormFields.Location = New System.Drawing.Point(9, 42) - Me.chkPDFDisplayFormFields.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) + Me.chkPDFDisplayFormFields.Location = New System.Drawing.Point(6, 27) Me.chkPDFDisplayFormFields.Name = "chkPDFDisplayFormFields" - Me.chkPDFDisplayFormFields.Size = New System.Drawing.Size(163, 24) + Me.chkPDFDisplayFormFields.Size = New System.Drawing.Size(110, 17) Me.chkPDFDisplayFormFields.TabIndex = 15 Me.chkPDFDisplayFormFields.Text = "Display form fields" - Me.chkPDFDisplayFormFields.UseVisualStyleBackColor = true - ' - 'cbPageDisplayMode - ' - Me.cbPageDisplayMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.cbPageDisplayMode.FormattingEnabled = true - Me.cbPageDisplayMode.Location = New System.Drawing.Point(174, 143) - Me.cbPageDisplayMode.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.cbPageDisplayMode.Name = "cbPageDisplayMode" - Me.cbPageDisplayMode.Size = New System.Drawing.Size(193, 28) - Me.cbPageDisplayMode.TabIndex = 4 - ' - 'Label8 - ' - Me.Label8.AutoSize = true - Me.Label8.Location = New System.Drawing.Point(9, 146) - Me.Label8.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label8.Name = "Label8" - Me.Label8.Size = New System.Drawing.Size(104, 20) - Me.Label8.TabIndex = 16 - Me.Label8.Text = "Display mode" - ' - 'chkEnableDeferredPainting - ' - Me.chkEnableDeferredPainting.AutoSize = true - Me.chkEnableDeferredPainting.CheckAlign = System.Drawing.ContentAlignment.MiddleRight - Me.chkEnableDeferredPainting.Location = New System.Drawing.Point(9, 416) - Me.chkEnableDeferredPainting.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.chkEnableDeferredPainting.Name = "chkEnableDeferredPainting" - Me.chkEnableDeferredPainting.Size = New System.Drawing.Size(209, 24) - Me.chkEnableDeferredPainting.TabIndex = 17 - Me.chkEnableDeferredPainting.Text = "Enable deferred painting" - Me.chkEnableDeferredPainting.UseVisualStyleBackColor = true + Me.chkPDFDisplayFormFields.UseVisualStyleBackColor = True ' 'frmSettings ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(9!, 20!) + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(918, 569) + Me.ClientSize = New System.Drawing.Size(612, 370) Me.Controls.Add(Me.GroupBox4) Me.Controls.Add(Me.GroupBox3) Me.Controls.Add(Me.GroupBox2) Me.Controls.Add(Me.GroupBox1) Me.Controls.Add(Me.btnApply) - Me.Icon = CType(resources.GetObject("$this.Icon"),System.Drawing.Icon) - Me.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) - Me.MaximizeBox = false + Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) + Me.MaximizeBox = False Me.MinimizeBox = false Me.Name = "frmSettings" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent @@ -508,8 +448,6 @@ End Sub Friend WithEvents chkPDFEnableFileLinks As System.Windows.Forms.CheckBox Friend WithEvents chkPDFDisplayFormFields As System.Windows.Forms.CheckBox Friend WithEvents chkPDFVerifyDigitalCertificates As System.Windows.Forms.CheckBox - Friend WithEvents Label7 As System.Windows.Forms.Label - Friend WithEvents cbPDFRenderingEngine As System.Windows.Forms.ComboBox Friend WithEvents chkIgnoreDocumentResolution As System.Windows.Forms.CheckBox Friend WithEvents Label8 As Label Friend WithEvents cbPageDisplayMode As ComboBox diff --git a/app/DD_Clipboard_Searcher/frmSettings.vb b/app/DD_Clipboard_Searcher/frmSettings.vb index e8c2410..f61a6de 100644 --- a/app/DD_Clipboard_Searcher/frmSettings.vb +++ b/app/DD_Clipboard_Searcher/frmSettings.vb @@ -42,11 +42,6 @@ Public Class frmSettings {DisplayQuality.DisplayQualityBicubicHQ, "Bicubic HQ"}, {DisplayQuality.DisplayQualityAutomatic, "Automatic"} } - Private ReadOnly _renderingEngines As New Dictionary(Of PdfRasterizerEngine, String) From { - {PdfRasterizerEngine.PdfRasterizerEngineGdiplus, "GDI+"}, - {PdfRasterizerEngine.PdfRasterizerEngineWPF, "WPF"}, - {PdfRasterizerEngine.PdfRasterizerEngineHybrid, "Hybrid"} - } Private ReadOnly _displayPageModes As New Dictionary(Of PageDisplayMode, String) From { {PageDisplayMode.MultiplePagesView, "Multiple pages"}, {PageDisplayMode.SinglePageView, "Single page"} @@ -70,9 +65,6 @@ Public Class frmSettings For Each item In _displayQualities cbDisplayQuality.Items.Add(item.Value) Next - For Each item In _renderingEngines - cbPDFRenderingEngine.Items.Add(item.Value) - Next For Each item In _displayPageModes cbPageDisplayMode.Items.Add(item.Value) Next @@ -98,7 +90,6 @@ Public Class frmSettings chkPDFEnableFileLinks.Checked = _owner.PdfEnableFileLinks chkPDFEnableLinks.Checked = _owner.PdfEnableLinks chkPDFIncreaseTextContrast.Checked = _owner.PdfIncreaseTextContrast - cbPDFRenderingEngine.SelectedItem = _renderingEngines(_owner.PdfRasterizerEngine) chkPDFVerifyDigitalCertificates.Checked = _owner.PdfVerifyDigitalCertificates End Sub @@ -133,7 +124,6 @@ Public Class frmSettings _owner.PdfEnableFileLinks = chkPDFEnableFileLinks.Checked _owner.PdfEnableLinks = chkPDFEnableLinks.Checked _owner.PdfIncreaseTextContrast = chkPDFIncreaseTextContrast.Checked - _owner.PdfRasterizerEngine = _renderingEngines.FirstOrDefault(Function(x) x.Value.Contains(cbPDFRenderingEngine.SelectedItem.ToString())).Key _owner.PdfVerifyDigitalCertificates = chkPDFVerifyDigitalCertificates.Checked Me.Close()