small tweaks
This commit is contained in:
@@ -103,7 +103,6 @@ Public Class DocumentViewer
|
||||
_docPath = FilePath
|
||||
|
||||
GdViewer.DisplayFromFile(_docPath)
|
||||
GdViewer.Focus()
|
||||
|
||||
RichEditControl1.Visible = False
|
||||
RichEditControl1.Dock = DockStyle.None
|
||||
@@ -502,6 +501,7 @@ Public Class DocumentViewer
|
||||
Try
|
||||
IO.File.Delete(oFile)
|
||||
Catch ex As Exception
|
||||
_logger.Warn("Could not delete temp file {0}", oFile)
|
||||
End Try
|
||||
Next
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user