Verbesserungen an Viewer-Logik und UI-Anpassungen
Die Größe und Position mehrerer UI-Elemente wurden angepasst, darunter `barDockControlTop`, `barDockControlLeft`, `barDockControlRight`, `MyGDPViewer` und `lbFileNotLoaded`. Ein neuer SVG-Button (`btnSearch2.ImageOptions.SvgImage`) wurde hinzugefügt, während ein alter entfernt wurde. Die Methode `LoadFile_FromStream` setzt nun den Zustand des Viewers zurück, und die Logik in `SetViewerMode` wurde korrigiert, um `.CSV`-Dateien korrekt zu behandeln. Der Viewer-Modus (`_ViewerMode`) wurde optimiert, insbesondere für Richtext- und Excel-Dateien. Die Assembly-Version wurde von `2.7.2.0` auf `2.7.3.0` aktualisiert.
This commit is contained in:
14
DocumentViewer.Designer.vb
generated
14
DocumentViewer.Designer.vb
generated
@@ -279,7 +279,7 @@ Partial Class DocumentViewer
|
||||
Me.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top
|
||||
Me.barDockControlTop.Location = New System.Drawing.Point(0, 0)
|
||||
Me.barDockControlTop.Manager = Me.BarManager1
|
||||
Me.barDockControlTop.Size = New System.Drawing.Size(634, 33)
|
||||
Me.barDockControlTop.Size = New System.Drawing.Size(634, 36)
|
||||
'
|
||||
'barDockControlBottom
|
||||
'
|
||||
@@ -293,17 +293,17 @@ Partial Class DocumentViewer
|
||||
'
|
||||
Me.barDockControlLeft.CausesValidation = False
|
||||
Me.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
||||
Me.barDockControlLeft.Location = New System.Drawing.Point(0, 33)
|
||||
Me.barDockControlLeft.Location = New System.Drawing.Point(0, 36)
|
||||
Me.barDockControlLeft.Manager = Me.BarManager1
|
||||
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 522)
|
||||
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 519)
|
||||
'
|
||||
'barDockControlRight
|
||||
'
|
||||
Me.barDockControlRight.CausesValidation = False
|
||||
Me.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right
|
||||
Me.barDockControlRight.Location = New System.Drawing.Point(634, 33)
|
||||
Me.barDockControlRight.Location = New System.Drawing.Point(634, 36)
|
||||
Me.barDockControlRight.Manager = Me.BarManager1
|
||||
Me.barDockControlRight.Size = New System.Drawing.Size(0, 522)
|
||||
Me.barDockControlRight.Size = New System.Drawing.Size(0, 519)
|
||||
'
|
||||
'BarStaticItem1
|
||||
'
|
||||
@@ -381,7 +381,7 @@ Partial Class DocumentViewer
|
||||
Me.MyGDPViewer.HQAnnotationRendering = True
|
||||
Me.MyGDPViewer.IgnoreDocumentResolution = False
|
||||
Me.MyGDPViewer.KeepDocumentPosition = False
|
||||
Me.MyGDPViewer.Location = New System.Drawing.Point(192, 138)
|
||||
Me.MyGDPViewer.Location = New System.Drawing.Point(183, 125)
|
||||
Me.MyGDPViewer.LockViewer = False
|
||||
Me.MyGDPViewer.MagnifierHeight = 90
|
||||
Me.MyGDPViewer.MagnifierWidth = 160
|
||||
@@ -446,7 +446,7 @@ Partial Class DocumentViewer
|
||||
Me.lbFileNotLoaded.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center
|
||||
Me.lbFileNotLoaded.AutoEllipsis = True
|
||||
Me.lbFileNotLoaded.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None
|
||||
Me.lbFileNotLoaded.Location = New System.Drawing.Point(6, 78)
|
||||
Me.lbFileNotLoaded.Location = New System.Drawing.Point(6, 47)
|
||||
Me.lbFileNotLoaded.Name = "lbFileNotLoaded"
|
||||
Me.lbFileNotLoaded.Size = New System.Drawing.Size(628, 72)
|
||||
Me.lbFileNotLoaded.TabIndex = 0
|
||||
|
||||
Reference in New Issue
Block a user