Fix USTV-Anträge
This commit is contained in:
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.2.8.6")>
|
||||
<Assembly: AssemblyFileVersion("1.2.8.6")>
|
||||
<Assembly: AssemblyVersion("1.2.8.7")>
|
||||
<Assembly: AssemblyFileVersion("1.2.8.7")>
|
||||
|
||||
@@ -468,16 +468,16 @@ Public Class frmMDM_USTVAntrag
|
||||
Private Sub btnMail_Click(sender As Object, e As EventArgs) Handles btnMail.Click
|
||||
|
||||
If Not ContextMenuStrip1.Items.ContainsKey("excel") Then
|
||||
Dim uploadPictures = New ToolStripMenuItem() With {.Text = "Excelauswertung starten", .Name = "excel", .Font = New Font(Me.Font.FontFamily, Me.Font.Size)}
|
||||
ContextMenuStrip1.Items.Add(uploadPictures)
|
||||
AddHandler uploadPictures.Click, AddressOf mnuItem_Clicked
|
||||
Dim excel = New ToolStripMenuItem() With {.Text = "Excelauswertung starten", .Name = "excel", .Font = New Font(Me.Font.FontFamily, Me.Font.Size)}
|
||||
ContextMenuStrip1.Items.Add(excel)
|
||||
AddHandler excel.Click, AddressOf mnuItem_Clicked
|
||||
End If
|
||||
|
||||
|
||||
If Not ContextMenuStrip1.Items.ContainsKey("mail") Then
|
||||
Dim copyToClipboard = New ToolStripMenuItem() With {.Text = "Email generieren", .Name = "mail", .Font = New Font(Me.Font.FontFamily, Me.Font.Size)}
|
||||
AddHandler copyToClipboard.Click, AddressOf mnuItem_Clicked
|
||||
ContextMenuStrip1.Items.Add(copyToClipboard)
|
||||
Dim mail = New ToolStripMenuItem() With {.Text = "Email generieren", .Name = "mail", .Font = New Font(Me.Font.FontFamily, Me.Font.Size)}
|
||||
AddHandler mail.Click, AddressOf mnuItem_Clicked
|
||||
ContextMenuStrip1.Items.Add(mail)
|
||||
End If
|
||||
|
||||
|
||||
@@ -508,10 +508,11 @@ Public Class frmMDM_USTVAntrag
|
||||
|
||||
Private Function excelAuswertung(ByRef Optional filepath As String = "", Optional feedback As Boolean = False, Optional openExcel As Boolean = True) As Boolean
|
||||
|
||||
Dim sqlStr = "SELECT [UStVPo_ReDat] as InvoiceDate , [UStVPo_ReNr] As InvoiceNumber, 'Verag 360 GmbH' as Company, 'FR' as CountryOfRefund ,'EUR' as Currency ,[UStVPo_Leistender] as SupplierName, leist.[UstV_Leistender_Strasse] AS SupplierStreet, leist.[UstV_Leistender_StrasseNr] as SupplierStreetNumber, leist.[UstV_Leistender_PLZ] as SupplierPostalCode, leist.[UstV_Leistender_Stadt] as SupplierCity, leist.[UstV_Leistender_Land] as SupplierCountry, leist.[UstV_Leistender_UstNr] as SupplierVAT_TaxNumber, [UStVPo_Leistungsbezeichnung] as ExpenseCategory ,Round((1119/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseGrossAmount, [UStVPo_USteuerbetragEUR] as ExpenseVATAmount,Round((100/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseNetAmount
|
||||
Dim sqlStr = "SELECT [UStVPo_ReDat] as InvoiceDate , [UStVPo_ReNr] As InvoiceNumber, antr.UStVAn_Name as Company, 'FR' as CountryOfRefund ,'EUR' as Currency ,[UStVPo_Leistender] as SupplierName, leist.[UstV_Leistender_Strasse] AS SupplierStreet, leist.[UstV_Leistender_StrasseNr] as SupplierStreetNumber, leist.[UstV_Leistender_PLZ] as SupplierPostalCode, leist.[UstV_Leistender_Stadt] as SupplierCity, leist.[UstV_Leistender_Land] as SupplierCountry, leist.[UstV_Leistender_UstNr] as SupplierVAT_TaxNumber, [UStVPo_Leistungsbezeichnung] as ExpenseCategory ,Round((1119/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseGrossAmount, [UStVPo_USteuerbetragEUR] as ExpenseVATAmount,Round((100/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseNetAmount
|
||||
FROM [tblUStVPositionen]
|
||||
inner Join [tblUStVLeistender] as leist on leist.UStV_Leistender = [tblUStVPositionen].[UStVPo_Leistender]
|
||||
where UStVAn_ID ='" & UStVAn_ID & "' ORDER BY UStVPo_ID"
|
||||
inner join [tblUStVAntrag] as antr on antr.UStVAn_ID = [tblUStVPositionen].UStVAn_ID
|
||||
where [tblUStVPositionen].UStVAn_ID ='" & UStVAn_ID & "' ORDER BY UStVPo_ID"
|
||||
|
||||
Dim dt = SQL.loadDgvBySql(sqlStr, "FMZOLL")
|
||||
|
||||
@@ -540,8 +541,12 @@ Public Class frmMDM_USTVAntrag
|
||||
|
||||
End If
|
||||
|
||||
Dim subject As String = ""
|
||||
subject &= IIf(USTV_ANTRAG.UStVAn_Name <> "", USTV_ANTRAG.UStVAn_Name & "_", "")
|
||||
subject &= IIf(USTV_ANTRAG.UStVAn_LandKz <> "", USTV_ANTRAG.UStVAn_LandKz & "_", "")
|
||||
subject &= IIf(USTV_ANTRAG.UStVAn_ReDatVon IsNot Nothing AndAlso USTV_ANTRAG.UStVAn_ReDatBis IsNot Nothing, CDate(USTV_ANTRAG.UStVAn_ReDatVon).ToShortDateString & "-" & CDate(USTV_ANTRAG.UStVAn_ReDatBis).ToShortDateString, "")
|
||||
|
||||
Mail.Subject = USTV_ANTRAG.UStVAn_Name & "_" & USTV_ANTRAG.UStVAn_LandKz & "_" & USTV_ANTRAG.UStVAn_ReDatVon & "-" & USTV_ANTRAG.UStVAn_ReDatBis
|
||||
Mail.Subject = subject
|
||||
|
||||
Dim TextHTML = ""
|
||||
TextHTML &= "Ladies and Gentlemen,<br>"
|
||||
|
||||
@@ -277,19 +277,23 @@ Public Class usrCntlUSTV
|
||||
End Sub
|
||||
|
||||
|
||||
Private Function excelAuswertung(Optional filepath As String = "", Optional feedback As Boolean = False, Optional openExcel As Boolean = True) As Boolean
|
||||
Private Function excelAuswertung(Optional ByRef filepath As String = "", Optional feedback As Boolean = False, Optional openExcel As Boolean = True) As Boolean
|
||||
|
||||
Dim sqlStr = "SELECT [UStVPo_ReDat] as InvoiceDate , [UStVPo_ReNr] As InvoiceNumber, 'Verag 360 GmbH' as Company, 'FR' as CountryOfRefund ,'EUR' as Currency ,[UStVPo_Leistender] as SupplierName, leist.[UstV_Leistender_Strasse] AS SupplierStreet, leist.[UstV_Leistender_StrasseNr] as SupplierStreetNumber, leist.[UstV_Leistender_PLZ] as SupplierPostalCode, leist.[UstV_Leistender_Stadt] as SupplierCity, leist.[UstV_Leistender_Land] as SupplierCountry, leist.[UstV_Leistender_UstNr] as SupplierVAT_TaxNumber, [UStVPo_Leistungsbezeichnung] as ExpenseCategory ,Round((1119/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseGrossAmount, [UStVPo_USteuerbetragEUR] as ExpenseVATAmount,Round((100/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseNetAmount
|
||||
Dim sqlStr = "SELECT [UStVPo_ReDat] as InvoiceDate , [UStVPo_ReNr] As InvoiceNumber, antr.UStVAn_Name as Company, 'FR' as CountryOfRefund ,'EUR' as Currency ,[UStVPo_Leistender] as SupplierName, leist.[UstV_Leistender_Strasse] AS SupplierStreet, leist.[UstV_Leistender_StrasseNr] as SupplierStreetNumber, leist.[UstV_Leistender_PLZ] as SupplierPostalCode, leist.[UstV_Leistender_Stadt] as SupplierCity, leist.[UstV_Leistender_Land] as SupplierCountry, leist.[UstV_Leistender_UstNr] as SupplierVAT_TaxNumber, [UStVPo_Leistungsbezeichnung] as ExpenseCategory ,Round((1119/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseGrossAmount, [UStVPo_USteuerbetragEUR] as ExpenseVATAmount,Round((100/19*[UStVPo_USteuerbetragEUR]),2) as ExpenseNetAmount
|
||||
FROM [tblUStVPositionen]
|
||||
inner Join [tblUStVLeistender] as leist on leist.UStV_Leistender = [tblUStVPositionen].[UStVPo_Leistender]
|
||||
where UStVAn_ID ='" & dgvUSTV.SelectedRows(0).Cells("UStVAn_ID").Value & "' ORDER BY UStVPo_ID"
|
||||
inner join [tblUStVAntrag] as antr on antr.UStVAn_ID = [tblUStVPositionen].UStVAn_ID
|
||||
where [tblUStVPositionen].UStVAn_ID ='" & dgvUSTV.SelectedRows(0).Cells("UStVAn_ID").Value & "' ORDER BY UStVPo_ID"
|
||||
|
||||
Dim dt = SQL.loadDgvBySql(sqlStr, "FMZOLL")
|
||||
filepath = ""
|
||||
|
||||
'filepath = ""
|
||||
If dt IsNot Nothing AndAlso dt.Rows.Count > 0 Then
|
||||
filepath = VERAG_PROG_ALLGEMEIN.cProgramFunctions.genExcelFromDT_NEW(dt, {"N1:N" & (dt.Rows.Count + 1), "O1:O" & (dt.Rows.Count + 1), "P1:P" & (dt.Rows.Count + 1)},,,, openExcel)
|
||||
Return True
|
||||
Else
|
||||
MsgBox("Keine Daten!")
|
||||
Return False
|
||||
End If
|
||||
|
||||
End Function
|
||||
@@ -297,6 +301,17 @@ Public Class usrCntlUSTV
|
||||
Private Sub mailmitExcelauswertung()
|
||||
|
||||
Try
|
||||
|
||||
|
||||
If dgvUSTV.Columns.Count > 0 Then
|
||||
|
||||
Dim subject As String = ""
|
||||
subject &= IIf(dgvUSTV.CurrentRow.Cells("UStVAn_Name").Value <> "", dgvUSTV.CurrentRow.Cells("UStVAn_Name").Value & "_", "")
|
||||
'subject &= If(dgvUSTV.CurrentRow.Cells("UStVAn_LandKz").Value <> "", dgvUSTV.CurrentRow.Cells("UStVAn_LandKz").Value & "_")
|
||||
If (dgvUSTV.CurrentRow.Cells("UStVAn_ReDatVon").Value IsNot Nothing AndAlso dgvUSTV.CurrentRow.Cells("UStVAn_ReDatBis").Value IsNot Nothing) Then
|
||||
subject &= CDate(dgvUSTV.CurrentRow.Cells("UStVAn_ReDatVon").Value).ToShortDateString & "-" & CDate(dgvUSTV.CurrentRow.Cells("UStVAn_ReDatBis").Value).ToShortDateString
|
||||
End If
|
||||
|
||||
Dim outl As New Outlook.Application
|
||||
Dim Mail As Microsoft.Office.Interop.Outlook.MailItem
|
||||
Mail = outl.CreateItem(0)
|
||||
@@ -309,7 +324,9 @@ Public Class usrCntlUSTV
|
||||
|
||||
End If
|
||||
|
||||
If dgvUSTV.Columns.Count > 0 Then Mail.Subject = dgvUSTV.CurrentRow.Cells("UStVAn_Name").Value & "_" & dgvUSTV.CurrentRow.Cells("UStVAn_LandKz").Value & "_" & dgvUSTV.CurrentRow.Cells("UStVAn_ReDatVon").Value & "-" & dgvUSTV.CurrentRow.Cells("UStVAn_ReDatBis").Value
|
||||
|
||||
Mail.Subject = subject
|
||||
|
||||
|
||||
Dim TextHTML = ""
|
||||
TextHTML &= "Ladies and Gentlemen,<br>"
|
||||
@@ -323,7 +340,9 @@ Public Class usrCntlUSTV
|
||||
TextHTML &= "<br>"
|
||||
Mail.HTMLBody = "<div style=""font-family:Calibri, Arial;font-size:15px;"">" & TextHTML & SDL.cFakturierung.getSignature("DE") & "</div>"
|
||||
|
||||
|
||||
Mail.Display()
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name,, "Fehler beim Öffnen der Mail!")
|
||||
|
||||
382
SDL/USTV/ustCntlUSTV_AntragPosition.Designer.vb
generated
382
SDL/USTV/ustCntlUSTV_AntragPosition.Designer.vb
generated
@@ -59,37 +59,37 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.lblSachbearbeiter = New System.Windows.Forms.Label()
|
||||
Me.cboSchnittstellennr = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||
Me.pnl = New System.Windows.Forms.Panel()
|
||||
Me.txtUIDNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label17 = New System.Windows.Forms.Label()
|
||||
Me.txtLand = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtStrassenNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtOrt = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label16 = New System.Windows.Forms.Label()
|
||||
Me.txtPLZ = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label15 = New System.Windows.Forms.Label()
|
||||
Me.picSave = New System.Windows.Forms.PictureBox()
|
||||
Me.pnlAdresse = New System.Windows.Forms.Panel()
|
||||
Me.txtStrasse = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtUIDNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label14 = New System.Windows.Forms.Label()
|
||||
Me.Label17 = New System.Windows.Forms.Label()
|
||||
Me.Label15 = New System.Windows.Forms.Label()
|
||||
Me.txtLand = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtPLZ = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtStrassenNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label16 = New System.Windows.Forms.Label()
|
||||
Me.txtOrt = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||
Me.Panel3 = New System.Windows.Forms.Panel()
|
||||
Me.Panel4 = New System.Windows.Forms.Panel()
|
||||
Me.TabControl1 = New System.Windows.Forms.TabControl()
|
||||
Me.TabPage1 = New System.Windows.Forms.TabPage()
|
||||
Me.UsrcntlPDFScanList1 = New VERAG_PROG_ALLGEMEIN.usrcntlPDFScanList()
|
||||
Me.pnlAdresse = New System.Windows.Forms.Panel()
|
||||
Me.picSave = New System.Windows.Forms.PictureBox()
|
||||
Me.tabDok.SuspendLayout()
|
||||
Me.tbcntr.SuspendLayout()
|
||||
Me.tabVollmachten.SuspendLayout()
|
||||
Me.tabFABest.SuspendLayout()
|
||||
Me.Panel2.SuspendLayout()
|
||||
Me.pnl.SuspendLayout()
|
||||
CType(Me.picSave, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.pnlAdresse.SuspendLayout()
|
||||
Me.Panel1.SuspendLayout()
|
||||
Me.Panel3.SuspendLayout()
|
||||
Me.Panel4.SuspendLayout()
|
||||
Me.TabControl1.SuspendLayout()
|
||||
Me.TabPage1.SuspendLayout()
|
||||
Me.pnlAdresse.SuspendLayout()
|
||||
CType(Me.picSave, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'scanLieferschein
|
||||
@@ -523,7 +523,7 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
'cboLeistungsgeber
|
||||
'
|
||||
Me.cboLeistungsgeber._allowedValuesFreiText = Nothing
|
||||
Me.cboLeistungsgeber._allowFreiText = False
|
||||
Me.cboLeistungsgeber._allowFreiText = True
|
||||
Me.cboLeistungsgeber._value = ""
|
||||
Me.cboLeistungsgeber.FormattingEnabled = True
|
||||
Me.cboLeistungsgeber.Location = New System.Drawing.Point(633, 49)
|
||||
@@ -617,155 +617,34 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.pnl.Size = New System.Drawing.Size(1300, 239)
|
||||
Me.pnl.TabIndex = 1
|
||||
'
|
||||
'txtUIDNr
|
||||
'picSave
|
||||
'
|
||||
Me.txtUIDNr._DateTimeOnly = False
|
||||
Me.txtUIDNr._numbersOnly = False
|
||||
Me.txtUIDNr._numbersOnlyKommastellen = ""
|
||||
Me.txtUIDNr._numbersOnlyTrennzeichen = True
|
||||
Me.txtUIDNr._Prozent = False
|
||||
Me.txtUIDNr._ShortDateNew = False
|
||||
Me.txtUIDNr._ShortDateOnly = False
|
||||
Me.txtUIDNr._TimeOnly = False
|
||||
Me.txtUIDNr._TimeOnly_Seconds = False
|
||||
Me.txtUIDNr._value = ""
|
||||
Me.txtUIDNr._Waehrung = False
|
||||
Me.txtUIDNr._WaehrungZeichen = True
|
||||
Me.txtUIDNr.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtUIDNr.Location = New System.Drawing.Point(180, 60)
|
||||
Me.txtUIDNr.MaxLength = 50
|
||||
Me.txtUIDNr.MaxLineLength = -1
|
||||
Me.txtUIDNr.MaxLines_Warning = ""
|
||||
Me.txtUIDNr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtUIDNr.Name = "txtUIDNr"
|
||||
Me.txtUIDNr.Size = New System.Drawing.Size(106, 20)
|
||||
Me.txtUIDNr.TabIndex = 32
|
||||
Me.picSave.BackgroundImage = Global.SDL.My.Resources.Resources.save
|
||||
Me.picSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||
Me.picSave.Location = New System.Drawing.Point(886, 164)
|
||||
Me.picSave.Name = "picSave"
|
||||
Me.picSave.Size = New System.Drawing.Size(26, 22)
|
||||
Me.picSave.TabIndex = 34
|
||||
Me.picSave.TabStop = False
|
||||
Me.picSave.Visible = False
|
||||
'
|
||||
'Label17
|
||||
'pnlAdresse
|
||||
'
|
||||
Me.Label17.AutoSize = True
|
||||
Me.Label17.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label17.Location = New System.Drawing.Point(129, 63)
|
||||
Me.Label17.Name = "Label17"
|
||||
Me.Label17.Size = New System.Drawing.Size(45, 15)
|
||||
Me.Label17.TabIndex = 31
|
||||
Me.Label17.Text = "UID-Nr"
|
||||
'
|
||||
'txtLand
|
||||
'
|
||||
Me.txtLand._DateTimeOnly = False
|
||||
Me.txtLand._numbersOnly = False
|
||||
Me.txtLand._numbersOnlyKommastellen = ""
|
||||
Me.txtLand._numbersOnlyTrennzeichen = True
|
||||
Me.txtLand._Prozent = False
|
||||
Me.txtLand._ShortDateNew = False
|
||||
Me.txtLand._ShortDateOnly = False
|
||||
Me.txtLand._TimeOnly = False
|
||||
Me.txtLand._TimeOnly_Seconds = False
|
||||
Me.txtLand._value = ""
|
||||
Me.txtLand._Waehrung = False
|
||||
Me.txtLand._WaehrungZeichen = True
|
||||
Me.txtLand.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtLand.Location = New System.Drawing.Point(66, 58)
|
||||
Me.txtLand.MaxLength = 2
|
||||
Me.txtLand.MaxLineLength = -1
|
||||
Me.txtLand.MaxLines_Warning = ""
|
||||
Me.txtLand.MaxLines_Warning_Label = Nothing
|
||||
Me.txtLand.Name = "txtLand"
|
||||
Me.txtLand.Size = New System.Drawing.Size(38, 20)
|
||||
Me.txtLand.TabIndex = 30
|
||||
'
|
||||
'txtStrassenNr
|
||||
'
|
||||
Me.txtStrassenNr._DateTimeOnly = False
|
||||
Me.txtStrassenNr._numbersOnly = False
|
||||
Me.txtStrassenNr._numbersOnlyKommastellen = ""
|
||||
Me.txtStrassenNr._numbersOnlyTrennzeichen = True
|
||||
Me.txtStrassenNr._Prozent = False
|
||||
Me.txtStrassenNr._ShortDateNew = False
|
||||
Me.txtStrassenNr._ShortDateOnly = False
|
||||
Me.txtStrassenNr._TimeOnly = False
|
||||
Me.txtStrassenNr._TimeOnly_Seconds = False
|
||||
Me.txtStrassenNr._value = ""
|
||||
Me.txtStrassenNr._Waehrung = False
|
||||
Me.txtStrassenNr._WaehrungZeichen = True
|
||||
Me.txtStrassenNr.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtStrassenNr.Location = New System.Drawing.Point(241, 2)
|
||||
Me.txtStrassenNr.MaxLength = 10
|
||||
Me.txtStrassenNr.MaxLineLength = -1
|
||||
Me.txtStrassenNr.MaxLines_Warning = ""
|
||||
Me.txtStrassenNr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtStrassenNr.Name = "txtStrassenNr"
|
||||
Me.txtStrassenNr.Size = New System.Drawing.Size(45, 20)
|
||||
Me.txtStrassenNr.TabIndex = 29
|
||||
'
|
||||
'txtOrt
|
||||
'
|
||||
Me.txtOrt._DateTimeOnly = False
|
||||
Me.txtOrt._numbersOnly = False
|
||||
Me.txtOrt._numbersOnlyKommastellen = ""
|
||||
Me.txtOrt._numbersOnlyTrennzeichen = True
|
||||
Me.txtOrt._Prozent = False
|
||||
Me.txtOrt._ShortDateNew = False
|
||||
Me.txtOrt._ShortDateOnly = False
|
||||
Me.txtOrt._TimeOnly = False
|
||||
Me.txtOrt._TimeOnly_Seconds = False
|
||||
Me.txtOrt._value = ""
|
||||
Me.txtOrt._Waehrung = False
|
||||
Me.txtOrt._WaehrungZeichen = True
|
||||
Me.txtOrt.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtOrt.Location = New System.Drawing.Point(132, 29)
|
||||
Me.txtOrt.MaxLength = 50
|
||||
Me.txtOrt.MaxLineLength = -1
|
||||
Me.txtOrt.MaxLines_Warning = ""
|
||||
Me.txtOrt.MaxLines_Warning_Label = Nothing
|
||||
Me.txtOrt.Name = "txtOrt"
|
||||
Me.txtOrt.Size = New System.Drawing.Size(154, 20)
|
||||
Me.txtOrt.TabIndex = 28
|
||||
'
|
||||
'Label16
|
||||
'
|
||||
Me.Label16.AutoSize = True
|
||||
Me.Label16.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label16.Location = New System.Drawing.Point(8, 58)
|
||||
Me.Label16.Name = "Label16"
|
||||
Me.Label16.Size = New System.Drawing.Size(35, 15)
|
||||
Me.Label16.TabIndex = 27
|
||||
Me.Label16.Text = "Land"
|
||||
'
|
||||
'txtPLZ
|
||||
'
|
||||
Me.txtPLZ._DateTimeOnly = False
|
||||
Me.txtPLZ._numbersOnly = False
|
||||
Me.txtPLZ._numbersOnlyKommastellen = ""
|
||||
Me.txtPLZ._numbersOnlyTrennzeichen = True
|
||||
Me.txtPLZ._Prozent = False
|
||||
Me.txtPLZ._ShortDateNew = False
|
||||
Me.txtPLZ._ShortDateOnly = False
|
||||
Me.txtPLZ._TimeOnly = False
|
||||
Me.txtPLZ._TimeOnly_Seconds = False
|
||||
Me.txtPLZ._value = ""
|
||||
Me.txtPLZ._Waehrung = False
|
||||
Me.txtPLZ._WaehrungZeichen = True
|
||||
Me.txtPLZ.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtPLZ.Location = New System.Drawing.Point(66, 29)
|
||||
Me.txtPLZ.MaxLength = 10
|
||||
Me.txtPLZ.MaxLineLength = -1
|
||||
Me.txtPLZ.MaxLines_Warning = ""
|
||||
Me.txtPLZ.MaxLines_Warning_Label = Nothing
|
||||
Me.txtPLZ.Name = "txtPLZ"
|
||||
Me.txtPLZ.Size = New System.Drawing.Size(59, 20)
|
||||
Me.txtPLZ.TabIndex = 26
|
||||
'
|
||||
'Label15
|
||||
'
|
||||
Me.Label15.AutoSize = True
|
||||
Me.Label15.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label15.Location = New System.Drawing.Point(8, 32)
|
||||
Me.Label15.Name = "Label15"
|
||||
Me.Label15.Size = New System.Drawing.Size(48, 15)
|
||||
Me.Label15.TabIndex = 25
|
||||
Me.Label15.Text = "PLZ/Ort"
|
||||
Me.pnlAdresse.AccessibleRole = System.Windows.Forms.AccessibleRole.WhiteSpace
|
||||
Me.pnlAdresse.Controls.Add(Me.txtStrasse)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtUIDNr)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label14)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label17)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label15)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtLand)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtPLZ)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtStrassenNr)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label16)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtOrt)
|
||||
Me.pnlAdresse.Location = New System.Drawing.Point(626, 76)
|
||||
Me.pnlAdresse.Name = "pnlAdresse"
|
||||
Me.pnlAdresse.Size = New System.Drawing.Size(287, 82)
|
||||
Me.pnlAdresse.TabIndex = 33
|
||||
'
|
||||
'txtStrasse
|
||||
'
|
||||
@@ -791,6 +670,30 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.txtStrasse.Size = New System.Drawing.Size(169, 20)
|
||||
Me.txtStrasse.TabIndex = 24
|
||||
'
|
||||
'txtUIDNr
|
||||
'
|
||||
Me.txtUIDNr._DateTimeOnly = False
|
||||
Me.txtUIDNr._numbersOnly = False
|
||||
Me.txtUIDNr._numbersOnlyKommastellen = ""
|
||||
Me.txtUIDNr._numbersOnlyTrennzeichen = True
|
||||
Me.txtUIDNr._Prozent = False
|
||||
Me.txtUIDNr._ShortDateNew = False
|
||||
Me.txtUIDNr._ShortDateOnly = False
|
||||
Me.txtUIDNr._TimeOnly = False
|
||||
Me.txtUIDNr._TimeOnly_Seconds = False
|
||||
Me.txtUIDNr._value = ""
|
||||
Me.txtUIDNr._Waehrung = False
|
||||
Me.txtUIDNr._WaehrungZeichen = True
|
||||
Me.txtUIDNr.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtUIDNr.Location = New System.Drawing.Point(180, 60)
|
||||
Me.txtUIDNr.MaxLength = 50
|
||||
Me.txtUIDNr.MaxLineLength = -1
|
||||
Me.txtUIDNr.MaxLines_Warning = ""
|
||||
Me.txtUIDNr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtUIDNr.Name = "txtUIDNr"
|
||||
Me.txtUIDNr.Size = New System.Drawing.Size(106, 20)
|
||||
Me.txtUIDNr.TabIndex = 32
|
||||
'
|
||||
'Label14
|
||||
'
|
||||
Me.Label14.AutoSize = True
|
||||
@@ -801,6 +704,132 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.Label14.TabIndex = 23
|
||||
Me.Label14.Text = "Strasse/Nr"
|
||||
'
|
||||
'Label17
|
||||
'
|
||||
Me.Label17.AutoSize = True
|
||||
Me.Label17.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label17.Location = New System.Drawing.Point(129, 63)
|
||||
Me.Label17.Name = "Label17"
|
||||
Me.Label17.Size = New System.Drawing.Size(45, 15)
|
||||
Me.Label17.TabIndex = 31
|
||||
Me.Label17.Text = "UID-Nr"
|
||||
'
|
||||
'Label15
|
||||
'
|
||||
Me.Label15.AutoSize = True
|
||||
Me.Label15.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label15.Location = New System.Drawing.Point(8, 32)
|
||||
Me.Label15.Name = "Label15"
|
||||
Me.Label15.Size = New System.Drawing.Size(48, 15)
|
||||
Me.Label15.TabIndex = 25
|
||||
Me.Label15.Text = "PLZ/Ort"
|
||||
'
|
||||
'txtLand
|
||||
'
|
||||
Me.txtLand._DateTimeOnly = False
|
||||
Me.txtLand._numbersOnly = False
|
||||
Me.txtLand._numbersOnlyKommastellen = ""
|
||||
Me.txtLand._numbersOnlyTrennzeichen = True
|
||||
Me.txtLand._Prozent = False
|
||||
Me.txtLand._ShortDateNew = False
|
||||
Me.txtLand._ShortDateOnly = False
|
||||
Me.txtLand._TimeOnly = False
|
||||
Me.txtLand._TimeOnly_Seconds = False
|
||||
Me.txtLand._value = ""
|
||||
Me.txtLand._Waehrung = False
|
||||
Me.txtLand._WaehrungZeichen = True
|
||||
Me.txtLand.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtLand.Location = New System.Drawing.Point(66, 58)
|
||||
Me.txtLand.MaxLength = 2
|
||||
Me.txtLand.MaxLineLength = -1
|
||||
Me.txtLand.MaxLines_Warning = ""
|
||||
Me.txtLand.MaxLines_Warning_Label = Nothing
|
||||
Me.txtLand.Name = "txtLand"
|
||||
Me.txtLand.Size = New System.Drawing.Size(38, 20)
|
||||
Me.txtLand.TabIndex = 30
|
||||
'
|
||||
'txtPLZ
|
||||
'
|
||||
Me.txtPLZ._DateTimeOnly = False
|
||||
Me.txtPLZ._numbersOnly = False
|
||||
Me.txtPLZ._numbersOnlyKommastellen = ""
|
||||
Me.txtPLZ._numbersOnlyTrennzeichen = True
|
||||
Me.txtPLZ._Prozent = False
|
||||
Me.txtPLZ._ShortDateNew = False
|
||||
Me.txtPLZ._ShortDateOnly = False
|
||||
Me.txtPLZ._TimeOnly = False
|
||||
Me.txtPLZ._TimeOnly_Seconds = False
|
||||
Me.txtPLZ._value = ""
|
||||
Me.txtPLZ._Waehrung = False
|
||||
Me.txtPLZ._WaehrungZeichen = True
|
||||
Me.txtPLZ.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtPLZ.Location = New System.Drawing.Point(66, 29)
|
||||
Me.txtPLZ.MaxLength = 10
|
||||
Me.txtPLZ.MaxLineLength = -1
|
||||
Me.txtPLZ.MaxLines_Warning = ""
|
||||
Me.txtPLZ.MaxLines_Warning_Label = Nothing
|
||||
Me.txtPLZ.Name = "txtPLZ"
|
||||
Me.txtPLZ.Size = New System.Drawing.Size(59, 20)
|
||||
Me.txtPLZ.TabIndex = 26
|
||||
'
|
||||
'txtStrassenNr
|
||||
'
|
||||
Me.txtStrassenNr._DateTimeOnly = False
|
||||
Me.txtStrassenNr._numbersOnly = False
|
||||
Me.txtStrassenNr._numbersOnlyKommastellen = ""
|
||||
Me.txtStrassenNr._numbersOnlyTrennzeichen = True
|
||||
Me.txtStrassenNr._Prozent = False
|
||||
Me.txtStrassenNr._ShortDateNew = False
|
||||
Me.txtStrassenNr._ShortDateOnly = False
|
||||
Me.txtStrassenNr._TimeOnly = False
|
||||
Me.txtStrassenNr._TimeOnly_Seconds = False
|
||||
Me.txtStrassenNr._value = ""
|
||||
Me.txtStrassenNr._Waehrung = False
|
||||
Me.txtStrassenNr._WaehrungZeichen = True
|
||||
Me.txtStrassenNr.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtStrassenNr.Location = New System.Drawing.Point(241, 2)
|
||||
Me.txtStrassenNr.MaxLength = 10
|
||||
Me.txtStrassenNr.MaxLineLength = -1
|
||||
Me.txtStrassenNr.MaxLines_Warning = ""
|
||||
Me.txtStrassenNr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtStrassenNr.Name = "txtStrassenNr"
|
||||
Me.txtStrassenNr.Size = New System.Drawing.Size(45, 20)
|
||||
Me.txtStrassenNr.TabIndex = 29
|
||||
'
|
||||
'Label16
|
||||
'
|
||||
Me.Label16.AutoSize = True
|
||||
Me.Label16.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.5!)
|
||||
Me.Label16.Location = New System.Drawing.Point(8, 58)
|
||||
Me.Label16.Name = "Label16"
|
||||
Me.Label16.Size = New System.Drawing.Size(35, 15)
|
||||
Me.Label16.TabIndex = 27
|
||||
Me.Label16.Text = "Land"
|
||||
'
|
||||
'txtOrt
|
||||
'
|
||||
Me.txtOrt._DateTimeOnly = False
|
||||
Me.txtOrt._numbersOnly = False
|
||||
Me.txtOrt._numbersOnlyKommastellen = ""
|
||||
Me.txtOrt._numbersOnlyTrennzeichen = True
|
||||
Me.txtOrt._Prozent = False
|
||||
Me.txtOrt._ShortDateNew = False
|
||||
Me.txtOrt._ShortDateOnly = False
|
||||
Me.txtOrt._TimeOnly = False
|
||||
Me.txtOrt._TimeOnly_Seconds = False
|
||||
Me.txtOrt._value = ""
|
||||
Me.txtOrt._Waehrung = False
|
||||
Me.txtOrt._WaehrungZeichen = True
|
||||
Me.txtOrt.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtOrt.Location = New System.Drawing.Point(132, 29)
|
||||
Me.txtOrt.MaxLength = 50
|
||||
Me.txtOrt.MaxLineLength = -1
|
||||
Me.txtOrt.MaxLines_Warning = ""
|
||||
Me.txtOrt.MaxLines_Warning_Label = Nothing
|
||||
Me.txtOrt.Name = "txtOrt"
|
||||
Me.txtOrt.Size = New System.Drawing.Size(154, 20)
|
||||
Me.txtOrt.TabIndex = 28
|
||||
'
|
||||
'Panel1
|
||||
'
|
||||
Me.Panel1.Controls.Add(Me.btnBildAuf)
|
||||
@@ -871,35 +900,6 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.UsrcntlPDFScanList1.Size = New System.Drawing.Size(264, 207)
|
||||
Me.UsrcntlPDFScanList1.TabIndex = 0
|
||||
'
|
||||
'pnlAdresse
|
||||
'
|
||||
Me.pnlAdresse.AccessibleRole = System.Windows.Forms.AccessibleRole.WhiteSpace
|
||||
Me.pnlAdresse.Controls.Add(Me.txtStrasse)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtUIDNr)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label14)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label17)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label15)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtLand)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtPLZ)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtStrassenNr)
|
||||
Me.pnlAdresse.Controls.Add(Me.Label16)
|
||||
Me.pnlAdresse.Controls.Add(Me.txtOrt)
|
||||
Me.pnlAdresse.Location = New System.Drawing.Point(626, 76)
|
||||
Me.pnlAdresse.Name = "pnlAdresse"
|
||||
Me.pnlAdresse.Size = New System.Drawing.Size(287, 82)
|
||||
Me.pnlAdresse.TabIndex = 33
|
||||
'
|
||||
'picSave
|
||||
'
|
||||
Me.picSave.BackgroundImage = Global.SDL.My.Resources.Resources.save
|
||||
Me.picSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||
Me.picSave.Location = New System.Drawing.Point(886, 164)
|
||||
Me.picSave.Name = "picSave"
|
||||
Me.picSave.Size = New System.Drawing.Size(26, 22)
|
||||
Me.picSave.TabIndex = 34
|
||||
Me.picSave.TabStop = False
|
||||
Me.picSave.Visible = False
|
||||
'
|
||||
'ustCntlUSTV_AntragPosition
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
@@ -918,14 +918,14 @@ Partial Class ustCntlUSTV_AntragPosition
|
||||
Me.Panel2.PerformLayout()
|
||||
Me.pnl.ResumeLayout(False)
|
||||
Me.pnl.PerformLayout()
|
||||
CType(Me.picSave, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.pnlAdresse.ResumeLayout(False)
|
||||
Me.pnlAdresse.PerformLayout()
|
||||
Me.Panel1.ResumeLayout(False)
|
||||
Me.Panel3.ResumeLayout(False)
|
||||
Me.Panel4.ResumeLayout(False)
|
||||
Me.TabControl1.ResumeLayout(False)
|
||||
Me.TabPage1.ResumeLayout(False)
|
||||
Me.pnlAdresse.ResumeLayout(False)
|
||||
Me.pnlAdresse.PerformLayout()
|
||||
CType(Me.picSave, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -160,6 +160,7 @@ Public Class ustCntlUSTV_AntragPosition
|
||||
UStV_Leist.UstV_Leistender_Adresse = True
|
||||
If UStV_Leist.SAVE() Then
|
||||
picSave.Visible = False
|
||||
RaiseEvent CHANGED(UStV_POS.UStVPo_ID)
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user