This commit is contained in:
2022-05-12 07:56:25 +02:00
parent 3b316c43ef
commit 00e288055e
8 changed files with 235 additions and 162 deletions

View File

@@ -158,10 +158,14 @@ Public Class frmStart
End Sub
Private Sub LabelControl1_DragEnter(sender As Object, e As DragEventArgs) Handles LabelControl1.DragEnter
PictureEdit1.Visible = True
PictureEdit1.Dock = DockStyle.Fill
Drag_Enter(sender, e)
End Sub
Sub DragDropForm(e As DragEventArgs)
Dim frmCollection = Application.OpenForms
If frmCollection.OfType(Of frmIndexFileList).Any Then
MsgBox("Please index the active file/mail first!", MsgBoxStyle.Exclamation, "Drag 'n Drop not allowed!")
@@ -664,4 +668,8 @@ Public Class frmStart
MsgBox("Unexpected Error in Choose Files for Indexing:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
End Try
End Sub
Private Sub LabelControl1_DragLeave(sender As Object, e As EventArgs) Handles LabelControl1.DragLeave
PictureEdit1.Visible = False
End Sub
End Class