dont show frmIndexFileList when only files from filesystem were dropped
This commit is contained in:
parent
539c8cd083
commit
c76c3d0deb
@ -233,7 +233,16 @@ Public Class frmStart
|
|||||||
DTACTUAL_FILES = Nothing
|
DTACTUAL_FILES = Nothing
|
||||||
DTACTUAL_FILES = ClassDatabase.Return_Datatable(sql, True)
|
DTACTUAL_FILES = ClassDatabase.Return_Datatable(sql, True)
|
||||||
ABORT_INDEXING = False
|
ABORT_INDEXING = False
|
||||||
If DTACTUAL_FILES.Rows.Count > 1 Then
|
|
||||||
|
Dim oOnlyFilesFromFilesystem = True
|
||||||
|
For Each oRow As DataRow In DTACTUAL_FILES.Rows
|
||||||
|
If oRow.Item("HANDLE_TYPE") <> "|DROPFROMFSYSTEM|" Then
|
||||||
|
oOnlyFilesFromFilesystem = False
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
If DTACTUAL_FILES.Rows.Count > 1 And oOnlyFilesFromFilesystem = False Then
|
||||||
frmIndexFileList.ShowDialog()
|
frmIndexFileList.ShowDialog()
|
||||||
DTACTUAL_FILES = Nothing
|
DTACTUAL_FILES = Nothing
|
||||||
DTACTUAL_FILES = ClassDatabase.Return_Datatable(sql, True)
|
DTACTUAL_FILES = ClassDatabase.Return_Datatable(sql, True)
|
||||||
@ -738,8 +747,4 @@ Public Class frmStart
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub frmStart_SizeChanged(sender As Object, e As EventArgs) Handles Me.SizeChanged
|
|
||||||
Console.WriteLine()
|
|
||||||
End Sub
|
|
||||||
End Class
|
End Class
|
||||||
Loading…
x
Reference in New Issue
Block a user