X
This commit is contained in:
@@ -41,6 +41,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboTEXT = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||
Me.Label12 = New System.Windows.Forms.Label()
|
||||
Me.cboSprache = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||
Me.cbx = New System.Windows.Forms.CheckBox()
|
||||
CType(Me.pic, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
@@ -60,7 +61,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.lbl.Location = New System.Drawing.Point(170, 63)
|
||||
Me.lbl.Name = "lbl"
|
||||
Me.lbl.Size = New System.Drawing.Size(78, 13)
|
||||
Me.lbl.TabIndex = 11
|
||||
Me.lbl.TabIndex = 14
|
||||
Me.lbl.Text = "Firmenwortlaut:"
|
||||
'
|
||||
'Label6
|
||||
@@ -69,7 +70,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Label6.Location = New System.Drawing.Point(170, 37)
|
||||
Me.Label6.Name = "Label6"
|
||||
Me.Label6.Size = New System.Drawing.Size(76, 13)
|
||||
Me.Label6.TabIndex = 5
|
||||
Me.Label6.TabIndex = 3
|
||||
Me.Label6.Text = "Filiale/Pos.Nr::"
|
||||
'
|
||||
'txtAdresse1
|
||||
@@ -91,7 +92,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.txtAdresse1.MaxLines_Warning_Label = Nothing
|
||||
Me.txtAdresse1.Name = "txtAdresse1"
|
||||
Me.txtAdresse1.Size = New System.Drawing.Size(709, 20)
|
||||
Me.txtAdresse1.TabIndex = 14
|
||||
Me.txtAdresse1.TabIndex = 16
|
||||
'
|
||||
'pic
|
||||
'
|
||||
@@ -113,7 +114,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.btnDown.Location = New System.Drawing.Point(976, 42)
|
||||
Me.btnDown.Name = "btnDown"
|
||||
Me.btnDown.Size = New System.Drawing.Size(25, 21)
|
||||
Me.btnDown.TabIndex = 10
|
||||
Me.btnDown.TabIndex = 12
|
||||
Me.btnDown.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btnUp
|
||||
@@ -125,7 +126,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.btnUp.Location = New System.Drawing.Point(976, 22)
|
||||
Me.btnUp.Name = "btnUp"
|
||||
Me.btnUp.Size = New System.Drawing.Size(25, 21)
|
||||
Me.btnUp.TabIndex = 4
|
||||
Me.btnUp.TabIndex = 8
|
||||
Me.btnUp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btnDel
|
||||
@@ -161,7 +162,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.txtFirma.nurAktive = True
|
||||
Me.txtFirma.searchActive = True
|
||||
Me.txtFirma.Size = New System.Drawing.Size(709, 20)
|
||||
Me.txtFirma.TabIndex = 12
|
||||
Me.txtFirma.TabIndex = 15
|
||||
Me.txtFirma.usrcntl = Nothing
|
||||
'
|
||||
'cboFiliale
|
||||
@@ -174,7 +175,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboFiliale.Location = New System.Drawing.Point(254, 34)
|
||||
Me.cboFiliale.Name = "cboFiliale"
|
||||
Me.cboFiliale.Size = New System.Drawing.Size(67, 21)
|
||||
Me.cboFiliale.TabIndex = 6
|
||||
Me.cboFiliale.TabIndex = 4
|
||||
'
|
||||
'txtAbfertigungsnummer
|
||||
'
|
||||
@@ -196,7 +197,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.txtAbfertigungsnummer.Multiline = True
|
||||
Me.txtAbfertigungsnummer.Name = "txtAbfertigungsnummer"
|
||||
Me.txtAbfertigungsnummer.Size = New System.Drawing.Size(244, 21)
|
||||
Me.txtAbfertigungsnummer.TabIndex = 7
|
||||
Me.txtAbfertigungsnummer.TabIndex = 5
|
||||
'
|
||||
'cboRechnungAn
|
||||
'
|
||||
@@ -207,7 +208,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboRechnungAn.Location = New System.Drawing.Point(780, 34)
|
||||
Me.cboRechnungAn.Name = "cboRechnungAn"
|
||||
Me.cboRechnungAn.Size = New System.Drawing.Size(183, 21)
|
||||
Me.cboRechnungAn.TabIndex = 9
|
||||
Me.cboRechnungAn.TabIndex = 10
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
@@ -215,7 +216,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Label1.Location = New System.Drawing.Point(733, 37)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(41, 13)
|
||||
Me.Label1.TabIndex = 8
|
||||
Me.Label1.TabIndex = 9
|
||||
Me.Label1.Text = "Kunde:"
|
||||
'
|
||||
'cboSpedBuchUnterNr
|
||||
@@ -229,7 +230,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboSpedBuchUnterNr.Margin = New System.Windows.Forms.Padding(2)
|
||||
Me.cboSpedBuchUnterNr.Name = "cboSpedBuchUnterNr"
|
||||
Me.cboSpedBuchUnterNr.Size = New System.Drawing.Size(71, 21)
|
||||
Me.cboSpedBuchUnterNr.TabIndex = 31
|
||||
Me.cboSpedBuchUnterNr.TabIndex = 6
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
@@ -239,7 +240,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Button1.Location = New System.Drawing.Point(639, 21)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(83, 34)
|
||||
Me.Button1.TabIndex = 32
|
||||
Me.Button1.TabIndex = 7
|
||||
Me.Button1.Text = "Daten laden"
|
||||
Me.Button1.UseVisualStyleBackColor = False
|
||||
'
|
||||
@@ -249,7 +250,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Label2.Location = New System.Drawing.Point(170, 109)
|
||||
Me.Label2.Name = "Label2"
|
||||
Me.Label2.Size = New System.Drawing.Size(31, 13)
|
||||
Me.Label2.TabIndex = 33
|
||||
Me.Label2.TabIndex = 17
|
||||
Me.Label2.Text = "Text:"
|
||||
'
|
||||
'cboTEXT
|
||||
@@ -261,7 +262,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboTEXT.Location = New System.Drawing.Point(254, 106)
|
||||
Me.cboTEXT.Name = "cboTEXT"
|
||||
Me.cboTEXT.Size = New System.Drawing.Size(183, 21)
|
||||
Me.cboTEXT.TabIndex = 34
|
||||
Me.cboTEXT.TabIndex = 18
|
||||
'
|
||||
'Label12
|
||||
'
|
||||
@@ -269,7 +270,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Label12.Location = New System.Drawing.Point(44, 44)
|
||||
Me.Label12.Name = "Label12"
|
||||
Me.Label12.Size = New System.Drawing.Size(50, 13)
|
||||
Me.Label12.TabIndex = 35
|
||||
Me.Label12.TabIndex = 11
|
||||
Me.Label12.Text = "Sprache:"
|
||||
'
|
||||
'cboSprache
|
||||
@@ -281,7 +282,19 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.cboSprache.Location = New System.Drawing.Point(47, 60)
|
||||
Me.cboSprache.Name = "cboSprache"
|
||||
Me.cboSprache.Size = New System.Drawing.Size(89, 21)
|
||||
Me.cboSprache.TabIndex = 36
|
||||
Me.cboSprache.TabIndex = 13
|
||||
'
|
||||
'cbx
|
||||
'
|
||||
Me.cbx.AutoSize = True
|
||||
Me.cbx.Checked = True
|
||||
Me.cbx.CheckState = System.Windows.Forms.CheckState.Checked
|
||||
Me.cbx.Location = New System.Drawing.Point(639, 5)
|
||||
Me.cbx.Name = "cbx"
|
||||
Me.cbx.Size = New System.Drawing.Size(135, 17)
|
||||
Me.cbx.TabIndex = 1
|
||||
Me.cbx.Text = "Anhänge zurücksetzen"
|
||||
Me.cbx.UseVisualStyleBackColor = True
|
||||
'
|
||||
'usrcntlVerzollungsunterlagen_BAR
|
||||
'
|
||||
@@ -308,6 +321,7 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Me.Controls.Add(Me.cboFiliale)
|
||||
Me.Controls.Add(Me.txtAbfertigungsnummer)
|
||||
Me.Controls.Add(Me.Label6)
|
||||
Me.Controls.Add(Me.cbx)
|
||||
Me.Name = "usrcntlVerzollungsunterlagen_BAR"
|
||||
Me.Size = New System.Drawing.Size(1000, 147)
|
||||
CType(Me.pic, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
@@ -334,4 +348,5 @@ Partial Class usrcntlVerzollungsunterlagen_BAR
|
||||
Friend WithEvents cboTEXT As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||
Friend WithEvents Label12 As Label
|
||||
Friend WithEvents cboSprache As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||
Friend WithEvents cbx As CheckBox
|
||||
End Class
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("", ""))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("AT Fiskal", "AT_FISKAL"))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("DE Fiskal", "DE_FISKAL"))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("EV Verzollung", "EV"))
|
||||
|
||||
|
||||
' cboFiliale.fillWithSQL(" SELECT FilialenNr, Grenzstelle FROM Filialen WHERE Fil_Status='A' ORDER BY FilialenNr ", , "FMZOLL", True)
|
||||
@@ -120,13 +121,15 @@
|
||||
End Sub
|
||||
|
||||
Private Sub cboRechnungAn_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboRechnungAn.SelectedIndexChanged
|
||||
Select Case cboRechnungAn._value
|
||||
Case "1" : loadAdressen(SPEDBUCH.AbsenderKundenNr)
|
||||
Case "2" : loadAdressen(SPEDBUCH.EmpfängerKundenNr)
|
||||
Case "3" : loadAdressen(SPEDBUCH.VermittlerKundenNr)
|
||||
Case "4" : loadAdressen(SPEDBUCH.AvisiererKundenNr)
|
||||
Case Else : loadAdressen(-1)
|
||||
End Select
|
||||
If SPEDBUCH IsNot Nothing Then
|
||||
Select Case cboRechnungAn._value
|
||||
Case "1" : loadAdressen(SPEDBUCH.AbsenderKundenNr)
|
||||
Case "2" : loadAdressen(SPEDBUCH.EmpfängerKundenNr)
|
||||
Case "3" : loadAdressen(SPEDBUCH.VermittlerKundenNr)
|
||||
Case "4" : loadAdressen(SPEDBUCH.AvisiererKundenNr)
|
||||
Case Else : loadAdressen(-1)
|
||||
End Select
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Sub loadAdressen(KdNr)
|
||||
@@ -144,21 +147,16 @@
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub txtAbfertigungsNr_TextChanged(sender As Object, e As EventArgs) Handles txtAbfertigungsnummer.Leave
|
||||
If txtAbfertigungsnummer.Text.Length >= 8 And cboFiliale._value <> "" Then
|
||||
Private Sub txtAbfertigungsNr_TextChanged(sender As Object, e As EventArgs) Handles txtAbfertigungsnummer.Leave, txtAbfertigungsnummer.Leave
|
||||
If txtAbfertigungsnummer.Text.Length >= 8 And cboFiliale._value <> "" And cboSpedBuchUnterNr._value <> "" Then
|
||||
If cboRechnungAn._value = "" Then cboRechnungAn.changeItem("2")
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Sub loadData()
|
||||
Dim Spedbuch As New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch()
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub txtAbfertigungsnummer_Leave(sender As Object, e As EventArgs) Handles txtAbfertigungsnummer.Leave
|
||||
If IsNumeric(txtAbfertigungsnummer.Text) AndAlso txtAbfertigungsnummer.Text.Length <= 6 Then
|
||||
@@ -224,9 +222,14 @@
|
||||
|
||||
Dim SPEDBUCH As VERAG_PROG_ALLGEMEIN.cSpeditionsbuch = Nothing
|
||||
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||
Dim FORMULARE As frmFormulare = Me.FindForm
|
||||
If cbx.Checked Then FORMULARE.clearExceptMe(Me)
|
||||
|
||||
SPEDBUCH = Nothing
|
||||
SPEDBUCH = New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch(cboFiliale._value, txtAbfertigungsnummer.Text, cboSpedBuchUnterNr._value) 'txtUnterNr.Text)
|
||||
If Not SPEDBUCH.hasEntry Then Exit Sub
|
||||
Dim FORMULARE As frmFormulare = Me.FindForm
|
||||
If cboRechnungAn._value = "" Then cboRechnungAn.changeItem("2")
|
||||
|
||||
|
||||
If SPEDBUCH.DokumentId_Steuerbeleg IsNot Nothing AndAlso SPEDBUCH.DokumentId_Steuerbeleg.ToString <> "" Then
|
||||
Dim DS As New VERAG_PROG_ALLGEMEIN.cDATENSERVER(SPEDBUCH.DokumentId_Steuerbeleg)
|
||||
@@ -239,10 +242,12 @@
|
||||
txtFirma.Focus() ' Leave
|
||||
|
||||
Select Case SPEDBUCH.Abfertigungsart
|
||||
Case "26", "38"
|
||||
Case "26"
|
||||
cboTEXT.changeItem("AT_FISKAL")
|
||||
Case "28" 'DE
|
||||
cboTEXT.changeItem("DE_FISKAL")
|
||||
Case "38" 'EV
|
||||
cboTEXT.changeItem("EV")
|
||||
End Select
|
||||
End Sub
|
||||
|
||||
|
||||
@@ -0,0 +1,239 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||
Partial Class usrcntlVerzollungsunterlagen_Verbringsungsnachweis
|
||||
Inherits System.Windows.Forms.UserControl
|
||||
|
||||
'UserControl überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||
<System.Diagnostics.DebuggerNonUserCode()>
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Wird vom Windows Form-Designer benötigt.
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||
<System.Diagnostics.DebuggerStepThrough()>
|
||||
Private Sub InitializeComponent()
|
||||
Me.lblVollmachtDE = New System.Windows.Forms.Label()
|
||||
Me.lbl = New System.Windows.Forms.Label()
|
||||
Me.txtAdresse1 = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.pic = New System.Windows.Forms.PictureBox()
|
||||
Me.btnDown = New System.Windows.Forms.Button()
|
||||
Me.btnUp = New System.Windows.Forms.Button()
|
||||
Me.btnDel = New System.Windows.Forms.Button()
|
||||
Me.txtFirma = New VERAG_PROG_ALLGEMEIN.KdSearchBox()
|
||||
Me.Label2 = New System.Windows.Forms.Label()
|
||||
Me.cboTEXT = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||
Me.txtvbnr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
CType(Me.pic, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'lblVollmachtDE
|
||||
'
|
||||
Me.lblVollmachtDE.AutoSize = True
|
||||
Me.lblVollmachtDE.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lblVollmachtDE.Location = New System.Drawing.Point(43, 9)
|
||||
Me.lblVollmachtDE.Name = "lblVollmachtDE"
|
||||
Me.lblVollmachtDE.Size = New System.Drawing.Size(191, 20)
|
||||
Me.lblVollmachtDE.TabIndex = 2
|
||||
Me.lblVollmachtDE.Text = "Gelangensbestätigung"
|
||||
'
|
||||
'lbl
|
||||
'
|
||||
Me.lbl.AutoSize = True
|
||||
Me.lbl.Location = New System.Drawing.Point(170, 40)
|
||||
Me.lbl.Name = "lbl"
|
||||
Me.lbl.Size = New System.Drawing.Size(78, 13)
|
||||
Me.lbl.TabIndex = 11
|
||||
Me.lbl.Text = "Firmenwortlaut:"
|
||||
'
|
||||
'txtAdresse1
|
||||
'
|
||||
Me.txtAdresse1._DateTimeOnly = False
|
||||
Me.txtAdresse1._numbersOnly = False
|
||||
Me.txtAdresse1._numbersOnlyKommastellen = ""
|
||||
Me.txtAdresse1._Prozent = False
|
||||
Me.txtAdresse1._ShortDateNew = False
|
||||
Me.txtAdresse1._ShortDateOnly = False
|
||||
Me.txtAdresse1._TimeOnly = False
|
||||
Me.txtAdresse1._value = Nothing
|
||||
Me.txtAdresse1._Waehrung = False
|
||||
Me.txtAdresse1._WaehrungZeichen = True
|
||||
Me.txtAdresse1.ForeColor = System.Drawing.Color.Black
|
||||
Me.txtAdresse1.Location = New System.Drawing.Point(254, 57)
|
||||
Me.txtAdresse1.MaxLineLength = -1
|
||||
Me.txtAdresse1.MaxLines_Warning = ""
|
||||
Me.txtAdresse1.MaxLines_Warning_Label = Nothing
|
||||
Me.txtAdresse1.Name = "txtAdresse1"
|
||||
Me.txtAdresse1.Size = New System.Drawing.Size(709, 20)
|
||||
Me.txtAdresse1.TabIndex = 14
|
||||
'
|
||||
'pic
|
||||
'
|
||||
Me.pic.BackgroundImage = Global.SDL.My.Resources.Resources.pdf
|
||||
Me.pic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
|
||||
Me.pic.Cursor = System.Windows.Forms.Cursors.Hand
|
||||
Me.pic.Location = New System.Drawing.Point(5, 5)
|
||||
Me.pic.Name = "pic"
|
||||
Me.pic.Size = New System.Drawing.Size(32, 32)
|
||||
Me.pic.TabIndex = 30
|
||||
Me.pic.TabStop = False
|
||||
'
|
||||
'btnDown
|
||||
'
|
||||
Me.btnDown.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
Me.btnDown.BackgroundImage = Global.SDL.My.Resources.Resources.pfeil_unten
|
||||
Me.btnDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||
Me.btnDown.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btnDown.Location = New System.Drawing.Point(976, 42)
|
||||
Me.btnDown.Name = "btnDown"
|
||||
Me.btnDown.Size = New System.Drawing.Size(25, 21)
|
||||
Me.btnDown.TabIndex = 10
|
||||
Me.btnDown.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btnUp
|
||||
'
|
||||
Me.btnUp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
Me.btnUp.BackgroundImage = Global.SDL.My.Resources.Resources.pfeil_oben
|
||||
Me.btnUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||
Me.btnUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btnUp.Location = New System.Drawing.Point(976, 22)
|
||||
Me.btnUp.Name = "btnUp"
|
||||
Me.btnUp.Size = New System.Drawing.Size(25, 21)
|
||||
Me.btnUp.TabIndex = 4
|
||||
Me.btnUp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btnDel
|
||||
'
|
||||
Me.btnDel.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||
Me.btnDel.BackgroundImage = Global.SDL.My.Resources.Resources.del
|
||||
Me.btnDel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||
Me.btnDel.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btnDel.Location = New System.Drawing.Point(976, -1)
|
||||
Me.btnDel.Name = "btnDel"
|
||||
Me.btnDel.Size = New System.Drawing.Size(25, 21)
|
||||
Me.btnDel.TabIndex = 0
|
||||
Me.btnDel.UseVisualStyleBackColor = True
|
||||
'
|
||||
'txtFirma
|
||||
'
|
||||
Me.txtFirma._AllowSetValue = True
|
||||
Me.txtFirma._autoSizeGross = False
|
||||
Me.txtFirma._display_Name1 = True
|
||||
Me.txtFirma._displayAVISO_Email = False
|
||||
Me.txtFirma._displayFullName = False
|
||||
Me.txtFirma._displayWoelflKd = False
|
||||
Me.txtFirma._hideIfListEmpty = True
|
||||
Me.txtFirma._loadKdData = True
|
||||
Me.txtFirma._ValueKdAndName = False
|
||||
Me.txtFirma.dgvpos = "LEFT"
|
||||
Me.txtFirma.KdName = Nothing
|
||||
Me.txtFirma.KdNr = "-1"
|
||||
Me.txtFirma.kdNrField = Nothing
|
||||
Me.txtFirma.KdNrNullInt = Nothing
|
||||
Me.txtFirma.Location = New System.Drawing.Point(254, 38)
|
||||
Me.txtFirma.Name = "txtFirma"
|
||||
Me.txtFirma.nurAktive = True
|
||||
Me.txtFirma.searchActive = True
|
||||
Me.txtFirma.Size = New System.Drawing.Size(709, 20)
|
||||
Me.txtFirma.TabIndex = 12
|
||||
Me.txtFirma.usrcntl = Nothing
|
||||
'
|
||||
'Label2
|
||||
'
|
||||
Me.Label2.AutoSize = True
|
||||
Me.Label2.Location = New System.Drawing.Point(170, 86)
|
||||
Me.Label2.Name = "Label2"
|
||||
Me.Label2.Size = New System.Drawing.Size(31, 13)
|
||||
Me.Label2.TabIndex = 33
|
||||
Me.Label2.Text = "Text:"
|
||||
'
|
||||
'cboTEXT
|
||||
'
|
||||
Me.cboTEXT._allowedValuesFreiText = Nothing
|
||||
Me.cboTEXT._allowFreiText = False
|
||||
Me.cboTEXT._value = ""
|
||||
Me.cboTEXT.FormattingEnabled = True
|
||||
Me.cboTEXT.Location = New System.Drawing.Point(254, 83)
|
||||
Me.cboTEXT.Name = "cboTEXT"
|
||||
Me.cboTEXT.Size = New System.Drawing.Size(183, 21)
|
||||
Me.cboTEXT.TabIndex = 34
|
||||
'
|
||||
'txtvbnr
|
||||
'
|
||||
Me.txtvbnr._DateTimeOnly = False
|
||||
Me.txtvbnr._numbersOnly = True
|
||||
Me.txtvbnr._numbersOnlyKommastellen = ""
|
||||
Me.txtvbnr._Prozent = False
|
||||
Me.txtvbnr._ShortDateNew = False
|
||||
Me.txtvbnr._ShortDateOnly = False
|
||||
Me.txtvbnr._TimeOnly = False
|
||||
Me.txtvbnr._value = ""
|
||||
Me.txtvbnr._Waehrung = False
|
||||
Me.txtvbnr._WaehrungZeichen = True
|
||||
Me.txtvbnr.ForeColor = System.Drawing.Color.Black
|
||||
Me.txtvbnr.Location = New System.Drawing.Point(748, 83)
|
||||
Me.txtvbnr.MaxLineLength = -1
|
||||
Me.txtvbnr.MaxLines_Warning = ""
|
||||
Me.txtvbnr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtvbnr.Name = "txtvbnr"
|
||||
Me.txtvbnr.ReadOnly = True
|
||||
Me.txtvbnr.Size = New System.Drawing.Size(215, 20)
|
||||
Me.txtvbnr.TabIndex = 14
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
Me.Label1.AutoSize = True
|
||||
Me.Label1.Location = New System.Drawing.Point(718, 86)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(24, 13)
|
||||
Me.Label1.TabIndex = 35
|
||||
Me.Label1.Text = "Nr.:"
|
||||
'
|
||||
'usrcntlVerzollungsunterlagen_Verbringsungsnachweis
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.BackColor = System.Drawing.Color.WhiteSmoke
|
||||
Me.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.Controls.Add(Me.Label1)
|
||||
Me.Controls.Add(Me.Label2)
|
||||
Me.Controls.Add(Me.cboTEXT)
|
||||
Me.Controls.Add(Me.txtFirma)
|
||||
Me.Controls.Add(Me.btnDown)
|
||||
Me.Controls.Add(Me.btnUp)
|
||||
Me.Controls.Add(Me.btnDel)
|
||||
Me.Controls.Add(Me.pic)
|
||||
Me.Controls.Add(Me.txtvbnr)
|
||||
Me.Controls.Add(Me.txtAdresse1)
|
||||
Me.Controls.Add(Me.lbl)
|
||||
Me.Controls.Add(Me.lblVollmachtDE)
|
||||
Me.Name = "usrcntlVerzollungsunterlagen_Verbringsungsnachweis"
|
||||
Me.Size = New System.Drawing.Size(1000, 132)
|
||||
CType(Me.pic, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents lblVollmachtDE As System.Windows.Forms.Label
|
||||
Friend WithEvents lbl As System.Windows.Forms.Label
|
||||
Friend WithEvents txtAdresse1 As VERAG_PROG_ALLGEMEIN.MyTextBox
|
||||
Friend WithEvents pic As System.Windows.Forms.PictureBox
|
||||
Friend WithEvents btnDown As System.Windows.Forms.Button
|
||||
Friend WithEvents btnUp As System.Windows.Forms.Button
|
||||
Friend WithEvents btnDel As System.Windows.Forms.Button
|
||||
Friend WithEvents txtFirma As VERAG_PROG_ALLGEMEIN.KdSearchBox
|
||||
Friend WithEvents Label2 As Label
|
||||
Friend WithEvents cboTEXT As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||
Friend WithEvents txtvbnr As VERAG_PROG_ALLGEMEIN.MyTextBox
|
||||
Friend WithEvents Label1 As Label
|
||||
End Class
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,127 @@
|
||||
Public Class usrcntlVerzollungsunterlagen_Verbringsungsnachweis
|
||||
Implements FormualrInterface
|
||||
|
||||
Public Event CHANGED(name, value)
|
||||
Public Event KDNR_CHANGED(kdnr)
|
||||
Public Event DELETE(c As Control)
|
||||
Public Event MOVE_UP(c As Control)
|
||||
Public Event MOVE_DOWN(c As Control)
|
||||
|
||||
Public KdNR As Integer = -1
|
||||
Public Path As String = ""
|
||||
Public VBNr As Integer = -1
|
||||
Public Sub ChangeKDNr(kdnr As Integer) _
|
||||
Implements FormualrInterface.ChangeKDNr
|
||||
'initKdNR(kdnr)
|
||||
txtFirma.KdNr = kdnr
|
||||
End Sub
|
||||
|
||||
'Dim KdNR As Integer = -1
|
||||
Sub initControlsHandler()
|
||||
For Each c In Me.Controls
|
||||
Select Case c.GetType.ToString
|
||||
Case GetType(VERAG_PROG_ALLGEMEIN.MyTextBox).ToString
|
||||
AddHandler DirectCast(c, VERAG_PROG_ALLGEMEIN.MyTextBox).Leave, Sub()
|
||||
RaiseEvent CHANGED(c.name, c.text)
|
||||
End Sub
|
||||
Case GetType(VERAG_PROG_ALLGEMEIN.MyComboBox).ToString
|
||||
AddHandler DirectCast(c, VERAG_PROG_ALLGEMEIN.MyComboBox).SelectedIndexChanged, Sub()
|
||||
RaiseEvent CHANGED(c.name, c._value)
|
||||
End Sub
|
||||
Case GetType(TextBox).ToString
|
||||
AddHandler DirectCast(c, TextBox).Leave, Sub()
|
||||
RaiseEvent CHANGED(c.name, c.text)
|
||||
End Sub
|
||||
End Select
|
||||
Next
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Private Sub btnDel_Click(sender As Object, e As EventArgs) Handles btnDel.Click
|
||||
RaiseEvent DELETE(Me)
|
||||
End Sub
|
||||
|
||||
Private Sub btnup_Click(sender As Object, e As EventArgs) Handles btnUp.Click
|
||||
RaiseEvent MOVE_UP(Me)
|
||||
End Sub
|
||||
|
||||
Private Sub btnDown_Click(sender As Object, e As EventArgs) Handles btnDown.Click
|
||||
RaiseEvent MOVE_DOWN(Me)
|
||||
End Sub
|
||||
|
||||
Private Sub Button1_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub usrcntlVollmacht_AT_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
|
||||
txtFirma.initKdBox(Me.FindForm)
|
||||
AddHandler txtFirma.PropertyChanged, Sub()
|
||||
Me.KdNR = txtFirma.KdNr_value
|
||||
If txtFirma.KdNr_value > 0 Then
|
||||
If txtFirma.KdData_ADRESSEN IsNot Nothing Then
|
||||
Dim ADRESSE = txtFirma.KdData_ADRESSEN
|
||||
txtFirma.Text = If(ADRESSE.Name_1, ADRESSE.Ordnungsbegriff)
|
||||
txtAdresse1.Text = (If(ADRESSE.LandKz, "") & " " & If(ADRESSE.PLZ, "") & " " & If(ADRESSE.Ort, "")).ToString.Trim
|
||||
End If
|
||||
End If
|
||||
RaiseEvent KDNR_CHANGED(KdNR)
|
||||
End Sub
|
||||
initControlsHandler()
|
||||
|
||||
If KdNR > 0 Then txtFirma.KdNr = KdNR
|
||||
If VBNr > 0 Then txtvbnr.Text = VBNr
|
||||
|
||||
|
||||
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("", ""))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("AT Fiskal (direkt)", "AT_FISKAL_DIREKT"))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("AT Fiskal (indirekt)", "AT_FISKAL_INDIREKT"))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("DE Fiskal (GB)", "DE_FISKAL_GB"))
|
||||
cboTEXT.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("DE Fiskal (FR)", "DE_FISKAL_FR"))
|
||||
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub pic_Click(sender As Object, e As EventArgs) Handles pic.Click
|
||||
Process.Start(Path)
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Private Sub PictureBox1_Click(sender As Object, e As EventArgs)
|
||||
FormularManagerNEU.genPDF(Me, , , , True)
|
||||
End Sub
|
||||
|
||||
|
||||
Sub loadAdressen(KdNr)
|
||||
Me.KdNR = KdNr
|
||||
If KdNr IsNot Nothing AndAlso IsNumeric(KdNr) AndAlso KdNr > 0 Then
|
||||
Dim AD As New VERAG_PROG_ALLGEMEIN.cAdressen(KdNr)
|
||||
txtFirma.Text = If(AD.Name_1, "")
|
||||
' txtFirma2.Text = If(AD.Name_2, "")
|
||||
txtAdresse1.Text = If(AD.LandKz, "") & " " & If(AD.PLZ, "") & " " & If(AD.Ort, "")
|
||||
|
||||
Else
|
||||
txtFirma.Text = ""
|
||||
' txtFirma2.Text = ""
|
||||
txtAdresse1.Text = ""
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Sub loadData()
|
||||
Dim Spedbuch As New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch()
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user