jj
This commit is contained in:
parent
e3639930e1
commit
6a47fc6830
@ -54,10 +54,10 @@ Public Class frmDocumentResultList
|
|||||||
_Params = Params
|
_Params = Params
|
||||||
_ResultLists = Params.Results
|
_ResultLists = Params.Results
|
||||||
|
|
||||||
InitIDB()
|
MaybeInitIDB()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub InitIDB()
|
Private Sub MaybeInitIDB()
|
||||||
_IsLegacy = Not _Environment.Service.IsActive
|
_IsLegacy = Not _Environment.Service.IsActive
|
||||||
If _Environment.Service.IsActive Then
|
If _Environment.Service.IsActive Then
|
||||||
Dim oSplit As List(Of String) = _Environment.Service.Address.Split(":").ToList()
|
Dim oSplit As List(Of String) = _Environment.Service.Address.Split(":").ToList()
|
||||||
@ -218,6 +218,7 @@ Public Class frmDocumentResultList
|
|||||||
If e.FocusedRowHandle >= 0 Then
|
If e.FocusedRowHandle >= 0 Then
|
||||||
Dim oRow = sender.GetDataRow(e.FocusedRowHandle)
|
Dim oRow = sender.GetDataRow(e.FocusedRowHandle)
|
||||||
Dim oFullPath = oRow.Item(COLUMN_FILEPATH)
|
Dim oFullPath = oRow.Item(COLUMN_FILEPATH)
|
||||||
|
|
||||||
DocumentViewer1.LoadFile(oFullPath)
|
DocumentViewer1.LoadFile(oFullPath)
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user