MS diverses
This commit is contained in:
@@ -46,18 +46,21 @@ Public Class ClassFilehandle
|
||||
If oFileExists.Equals(Date.MinValue) Then
|
||||
Return True
|
||||
Else
|
||||
Dim oResult As DialogResult
|
||||
'Dim oResult As DialogResult
|
||||
Dim oDate As String = oFileExists.ToString("d")
|
||||
Dim oBoxTitle = $"GLOBIX - {ModuleTitle}"
|
||||
Dim oBoxOptions = MsgBoxStyle.Question Or MsgBoxStyle.YesNo
|
||||
' Dim oBoxTitle = $"GLOBIX - {ModuleTitle}"
|
||||
|
||||
If My.Application.User.Language = "de-DE" Then
|
||||
oResult = MsgBox($"Die Datei [{oFilename}] wurde bereits am [{oDate}] verarbeitet. Wollen Sie die gleiche Datei noch einmal verarbeiten?", oBoxOptions, oBoxTitle)
|
||||
Else
|
||||
oResult = MsgBox($"The file [{oFilename}] has already been processed at [{oDate}]. Do you want to process the same file again?", oBoxOptions, oBoxTitle)
|
||||
End If
|
||||
Dim ofrmDuplicate As New frmFileflow_Duplicate(oFilename, oDate)
|
||||
|
||||
If oResult = DialogResult.Yes Then
|
||||
'Dim oBoxOptions = MsgBoxStyle.Question Or MsgBoxStyle.YesNo
|
||||
ofrmDuplicate.ShowDialog()
|
||||
'If My.Application.User.Language = "de-DE" Then
|
||||
' oResult = MsgBox($"Die Datei [{oFilename}] wurde bereits am [{oDate}] verarbeitet. Wollen Sie die gleiche Datei noch einmal verarbeiten?", oBoxOptions, oBoxTitle)
|
||||
'Else
|
||||
' oResult = MsgBox($"The file [{oFilename}] has already been processed at [{oDate}]. Do you want to process the same file again?", oBoxOptions, oBoxTitle)
|
||||
'End If
|
||||
|
||||
If ofrmDuplicate.DialogResult = DialogResult.Yes Then
|
||||
Return True
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user