test
This commit is contained in:
@@ -79,20 +79,16 @@ Public Class DocumentViewer
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
_logger.Info("Resetting Viewer.")
|
||||
|
||||
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
||||
GdViewer.DocumentAlignment = ViewerDocumentAlignment.DocumentAlignmentTopCenter
|
||||
'_logger.Info("Resetting Viewer.")
|
||||
'GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
||||
'GdViewer.DocumentAlignment = ViewerDocumentAlignment.DocumentAlignmentTopCenter
|
||||
|
||||
_logger.Info("Loading File.")
|
||||
|
||||
DoLoadFile(filepath)
|
||||
|
||||
_logger.Info("Updating UI.")
|
||||
|
||||
statusLabel.Text = _docPath
|
||||
|
||||
UpdateMainUi()
|
||||
'_logger.Info("Updating UI.")
|
||||
'statusLabel.Text = _docPath
|
||||
' UpdateMainUi()
|
||||
End Sub
|
||||
|
||||
Public Sub CloseDocument()
|
||||
@@ -194,6 +190,8 @@ Public Class DocumentViewer
|
||||
End Function
|
||||
|
||||
Private Sub UpdateMainUi()
|
||||
Exit Sub
|
||||
|
||||
If GdViewer.PageCount = 0 Then
|
||||
'btnOpen.Enabled = True
|
||||
btnPrint.Enabled = False
|
||||
|
||||
Reference in New Issue
Block a user