add new option ViewOnly to DocumentViewer
This commit is contained in:
33
Controls.DocumentViewer/DocumentViewer.Designer.vb
generated
33
Controls.DocumentViewer/DocumentViewer.Designer.vb
generated
@@ -1,9 +1,9 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||
Partial Class DocumentViewer
|
||||
Inherits System.Windows.Forms.UserControl
|
||||
|
||||
'UserControl überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
<System.Diagnostics.DebuggerNonUserCode()>
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
@@ -20,13 +20,12 @@ Partial Class DocumentViewer
|
||||
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
<System.Diagnostics.DebuggerStepThrough()>
|
||||
Private Sub InitializeComponent()
|
||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(DocumentViewer))
|
||||
Me.GdViewer = New GdPicture14.GdViewer()
|
||||
Me.mainToolStrip = New System.Windows.Forms.ToolStrip()
|
||||
Me.btnPrint = New System.Windows.Forms.ToolStripButton()
|
||||
Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.btnFitWidth = New System.Windows.Forms.ToolStripButton()
|
||||
Me.btnFitPage = New System.Windows.Forms.ToolStripButton()
|
||||
Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
||||
@@ -55,7 +54,7 @@ Partial Class DocumentViewer
|
||||
Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator()
|
||||
Me.btnSettings = New System.Windows.Forms.ToolStripButton()
|
||||
Me.statusbar = New System.Windows.Forms.StatusStrip()
|
||||
Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel()
|
||||
Me.infoLabel = New System.Windows.Forms.ToolStripStatusLabel()
|
||||
Me.statusLabel = New System.Windows.Forms.ToolStripStatusLabel()
|
||||
Me.OpenFileDialog = New System.Windows.Forms.OpenFileDialog()
|
||||
Me.RichEditControl1 = New DevExpress.XtraRichEdit.RichEditControl()
|
||||
@@ -139,7 +138,7 @@ Partial Class DocumentViewer
|
||||
Me.mainToolStrip.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.mainToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden
|
||||
Me.mainToolStrip.ImageScalingSize = New System.Drawing.Size(24, 24)
|
||||
Me.mainToolStrip.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.btnPrint, Me.ToolStripSeparator3, Me.btnFitWidth, Me.btnFitPage, Me.ToolStripSeparator2, Me.btnMouseMode, Me.ToolStripSeparator6, Me.btnFirstPage, Me.btnPreviousPage, Me.tbCurrentPage, Me.lblPageCount, Me.btnNextPage, Me.btnLastPage, Me.ToolStripSeparator1, Me.btnZoomOut, Me.cbZoom, Me.btnZoomIn, Me.ToolStripSeparator5, Me.btnRotateLeft, Me.btnRotateRight, Me.btnFlipX, Me.btnFlipY, Me.ToolStripSeparator4, Me.btnSettings})
|
||||
Me.mainToolStrip.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.btnPrint, Me.btnFitWidth, Me.btnFitPage, Me.ToolStripSeparator2, Me.btnMouseMode, Me.ToolStripSeparator6, Me.btnFirstPage, Me.btnPreviousPage, Me.tbCurrentPage, Me.lblPageCount, Me.btnNextPage, Me.btnLastPage, Me.ToolStripSeparator1, Me.btnZoomOut, Me.cbZoom, Me.btnZoomIn, Me.ToolStripSeparator5, Me.btnRotateLeft, Me.btnRotateRight, Me.btnFlipX, Me.btnFlipY, Me.ToolStripSeparator4, Me.btnSettings})
|
||||
Me.mainToolStrip.Location = New System.Drawing.Point(0, 0)
|
||||
Me.mainToolStrip.Name = "mainToolStrip"
|
||||
Me.mainToolStrip.Size = New System.Drawing.Size(1015, 31)
|
||||
@@ -156,12 +155,6 @@ Partial Class DocumentViewer
|
||||
Me.btnPrint.Size = New System.Drawing.Size(28, 28)
|
||||
Me.btnPrint.Text = "Print document"
|
||||
'
|
||||
'ToolStripSeparator3
|
||||
'
|
||||
Me.ToolStripSeparator3.Margin = New System.Windows.Forms.Padding(10, 0, 10, 0)
|
||||
Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
|
||||
Me.ToolStripSeparator3.Size = New System.Drawing.Size(6, 31)
|
||||
'
|
||||
'btnFitWidth
|
||||
'
|
||||
Me.btnFitWidth.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
@@ -391,7 +384,7 @@ Partial Class DocumentViewer
|
||||
'
|
||||
'statusbar
|
||||
'
|
||||
Me.statusbar.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripStatusLabel1, Me.statusLabel})
|
||||
Me.statusbar.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.infoLabel, Me.statusLabel})
|
||||
Me.statusbar.Location = New System.Drawing.Point(0, 568)
|
||||
Me.statusbar.Name = "statusbar"
|
||||
Me.statusbar.Size = New System.Drawing.Size(1015, 22)
|
||||
@@ -399,15 +392,17 @@ Partial Class DocumentViewer
|
||||
Me.statusbar.TabIndex = 7
|
||||
Me.statusbar.Text = "StatusStrip1"
|
||||
'
|
||||
'ToolStripStatusLabel1
|
||||
'infoLabel
|
||||
'
|
||||
Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1"
|
||||
Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(0, 17)
|
||||
Me.infoLabel.Name = "infoLabel"
|
||||
Me.infoLabel.Size = New System.Drawing.Size(56, 17)
|
||||
Me.infoLabel.Text = "infoLabel"
|
||||
'
|
||||
'statusLabel
|
||||
'
|
||||
Me.statusLabel.Name = "statusLabel"
|
||||
Me.statusLabel.Size = New System.Drawing.Size(0, 17)
|
||||
Me.statusLabel.Size = New System.Drawing.Size(66, 17)
|
||||
Me.statusLabel.Text = "statusLabel"
|
||||
'
|
||||
'OpenFileDialog
|
||||
'
|
||||
@@ -423,6 +418,7 @@ Partial Class DocumentViewer
|
||||
Me.RichEditControl1.Size = New System.Drawing.Size(249, 225)
|
||||
Me.RichEditControl1.TabIndex = 8
|
||||
Me.RichEditControl1.Text = "RichEditControl1"
|
||||
Me.RichEditControl1.Visible = False
|
||||
'
|
||||
'DocumentViewer
|
||||
'
|
||||
@@ -446,7 +442,6 @@ Partial Class DocumentViewer
|
||||
Friend WithEvents GdViewer As GdPicture14.GdViewer
|
||||
Friend WithEvents mainToolStrip As ToolStrip
|
||||
Friend WithEvents btnPrint As ToolStripButton
|
||||
Friend WithEvents ToolStripSeparator3 As ToolStripSeparator
|
||||
Friend WithEvents btnFitWidth As ToolStripButton
|
||||
Friend WithEvents btnFitPage As ToolStripButton
|
||||
Friend WithEvents ToolStripSeparator2 As ToolStripSeparator
|
||||
@@ -475,7 +470,7 @@ Partial Class DocumentViewer
|
||||
Friend WithEvents ToolStripSeparator4 As ToolStripSeparator
|
||||
Friend WithEvents btnSettings As ToolStripButton
|
||||
Friend WithEvents statusbar As StatusStrip
|
||||
Friend WithEvents ToolStripStatusLabel1 As ToolStripStatusLabel
|
||||
Friend WithEvents infoLabel As ToolStripStatusLabel
|
||||
Friend WithEvents statusLabel As ToolStripStatusLabel
|
||||
Friend WithEvents OpenFileDialog As OpenFileDialog
|
||||
Friend WithEvents RichEditControl1 As DevExpress.XtraRichEdit.RichEditControl
|
||||
|
||||
Reference in New Issue
Block a user