MS Handling Löschen
This commit is contained in:
@@ -73,6 +73,7 @@ Partial Public Class frmEnvelopeEditor
|
||||
|
||||
If oDocument IsNot Nothing Then
|
||||
Documents.Add(oDocument)
|
||||
GridDocuments.DataSource = Documents
|
||||
' Update_File_DB(OpenFileDialog1.FileName)
|
||||
ClearBsiItem()
|
||||
Return True
|
||||
@@ -113,7 +114,7 @@ Partial Public Class frmEnvelopeEditor
|
||||
|
||||
For Each docItem As EnvelopeDocument In Documents
|
||||
If Not File.Exists(docItem.Filepath) Then
|
||||
Dim oTempFolder = TempFiles.TempPath
|
||||
Dim oTempFolder = TempFiles._TempPath
|
||||
Dim oTempFilename = String.Concat(oTempFolder, "\", $"ViewEnvDoc_{Envelope.Id}.pdf")
|
||||
If File.Exists(oTempFilename) Then
|
||||
Try
|
||||
@@ -220,7 +221,7 @@ Partial Public Class frmEnvelopeEditor
|
||||
Dim oDocument As EnvelopeDocument = DirectCast(ViewDocuments.GetFocusedRow(), EnvelopeDocument)
|
||||
Dim oEnvelope = Controller.Envelope
|
||||
If Not IsNothing(oDocument.Byte_Data) Then
|
||||
Dim oTempFolder = TempFiles.TempPath
|
||||
Dim oTempFolder = TempFiles._TempPath
|
||||
Dim oTempFilename = String.Concat(oTempFolder, "\", $"ViewEnvDoc_{oEnvelope.Id}.pdf")
|
||||
If Not File.Exists(oTempFilename) Then
|
||||
WriteBytetoPath(oTempFilename, oDocument.Byte_Data)
|
||||
@@ -677,7 +678,7 @@ Partial Public Class frmEnvelopeEditor
|
||||
Dim dstPDF As GdPicturePDF = arPDF(0).MergeDocuments(arPDF)
|
||||
Dim oStatus As GdPictureStatus = arPDF(0).GetStat()
|
||||
If oStatus = GdPictureStatus.OK Then
|
||||
Dim oTempFolder = MyTempFiles.TempPath
|
||||
Dim oTempFolder = MyTempFiles._TempPath
|
||||
If Not Directory.Exists(oTempFolder) Then
|
||||
Directory.CreateDirectory(oTempFolder)
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user