add new option ViewOnly to DocumentViewer
This commit is contained in:
@@ -23,6 +23,8 @@ Public Class Form3
|
||||
Logger.Info("DocumentViewer Form Loaded")
|
||||
DocumentViewer1.Init(LogConfig, Key)
|
||||
DocumentViewer1.LoadFile(FilePath)
|
||||
DocumentViewer1.SetViewOnly(True)
|
||||
|
||||
Logger.Info("File Loaded")
|
||||
End Sub
|
||||
|
||||
@@ -31,12 +33,9 @@ Public Class Form3
|
||||
End Sub
|
||||
|
||||
Private Sub Form2_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
|
||||
|
||||
DocumentViewer1.Done()
|
||||
Logger.Info("Form closing")
|
||||
_frm4.Close()
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub Form3_Shown(sender As Object, e As EventArgs) Handles Me.Shown
|
||||
|
||||
Reference in New Issue
Block a user