Bei mehreren Anhängen in VM kann nun derjenige, die "direkt" verknüpft werden soll, markiert werden.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<PublishUrl>\\ftps.verag.ag\g\ftp\programme\VERAGAddin\</PublishUrl>
|
<PublishUrl>\\ftps.verag.ag\g\ftp\programme\VERAGAddin\</PublishUrl>
|
||||||
<InstallUrl>http://ftps.verag.ag/VERAGAddin/</InstallUrl>
|
<InstallUrl>http://ftps.verag.ag/VERAGAddin/</InstallUrl>
|
||||||
<TargetCulture>de</TargetCulture>
|
<TargetCulture>de</TargetCulture>
|
||||||
<ApplicationVersion>1.0.1.97</ApplicationVersion>
|
<ApplicationVersion>1.0.1.98</ApplicationVersion>
|
||||||
<AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision>
|
<AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision>
|
||||||
<UpdateEnabled>true</UpdateEnabled>
|
<UpdateEnabled>true</UpdateEnabled>
|
||||||
<UpdateInterval>0</UpdateInterval>
|
<UpdateInterval>0</UpdateInterval>
|
||||||
@@ -271,6 +271,7 @@
|
|||||||
<DependentUpon>rbnVERAG.vb</DependentUpon>
|
<DependentUpon>rbnVERAG.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="app.config" />
|
<None Include="app.config" />
|
||||||
|
<None Include="Ich habe keine Ahnung, was ich hier mache.pfx" />
|
||||||
<None Include="Resources\GS\gsdll32.lib">
|
<None Include="Resources\GS\gsdll32.lib">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
@@ -387,6 +388,9 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<AssemblyOriginatorKeyFile>Ich habe keine Ahnung, was ich hier mache.pfx</AssemblyOriginatorKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- Include the build rules for a Visual Basic project. -->
|
<!-- Include the build rules for a Visual Basic project. -->
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
<!-- Include additional build rules for an Office application add-in. -->
|
<!-- Include additional build rules for an Office application add-in. -->
|
||||||
|
|||||||
@@ -1,23 +1,27 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="WindowsBase" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
<assemblyIdentity name="WindowsBase" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral"/>
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="8fb06cb64d019a17" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-2.7.2.0" newVersion="2.7.2.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/></startup></configuration>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" /></startup></configuration>
|
||||||
|
|||||||
233
VERAGAddIn/frmAvisoFormularAnfügen.Designer.vb
generated
233
VERAGAddIn/frmAvisoFormularAnfügen.Designer.vb
generated
@@ -26,24 +26,109 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.components = New System.ComponentModel.Container()
|
Me.components = New System.ComponentModel.Container()
|
||||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmAvisoFormularAnfuegen))
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmAvisoFormularAnfuegen))
|
||||||
Me.lblKunden = New System.Windows.Forms.Label()
|
Me.lblMultiAttachements = New System.Windows.Forms.Label()
|
||||||
Me.btnOK = New System.Windows.Forms.Button()
|
|
||||||
Me.KdSearchBox = New VERAG_PROG_ALLGEMEIN.KdSearchBox()
|
|
||||||
Me.btnCancel = New System.Windows.Forms.Button()
|
|
||||||
Me.cbVMTypen = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
|
||||||
Me.MyPanel1 = New VERAG_PROG_ALLGEMEIN.MyPanel(Me.components)
|
|
||||||
Me.MyPanel2 = New VERAG_PROG_ALLGEMEIN.MyPanel(Me.components)
|
|
||||||
Me.lblVMId = New System.Windows.Forms.Label()
|
|
||||||
Me.UsrCntlKundenZollVollmachten1 = New SDL.usrCntlKundenZollVollmachten()
|
|
||||||
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||||
|
Me.UsrCntlKundenZollVollmachten1 = New SDL.usrCntlKundenZollVollmachten()
|
||||||
|
Me.MyPanel2 = New VERAG_PROG_ALLGEMEIN.MyPanel(Me.components)
|
||||||
|
Me.lblWarning = New System.Windows.Forms.Label()
|
||||||
|
Me.lblVMId = New System.Windows.Forms.Label()
|
||||||
|
Me.lblKunden = New System.Windows.Forms.Label()
|
||||||
|
Me.KdSearchBox = New VERAG_PROG_ALLGEMEIN.KdSearchBox()
|
||||||
|
Me.cbVMTypen = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
|
Me.MyPanel1 = New VERAG_PROG_ALLGEMEIN.MyPanel(Me.components)
|
||||||
Me.pbAnhaenge = New System.Windows.Forms.PictureBox()
|
Me.pbAnhaenge = New System.Windows.Forms.PictureBox()
|
||||||
Me.MyPanel1.SuspendLayout()
|
Me.btnOK = New System.Windows.Forms.Button()
|
||||||
Me.MyPanel2.SuspendLayout()
|
Me.btnCancel = New System.Windows.Forms.Button()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.MyPanel2.SuspendLayout()
|
||||||
|
Me.MyPanel1.SuspendLayout()
|
||||||
CType(Me.pbAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.pbAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
|
'lblMultiAttachements
|
||||||
|
'
|
||||||
|
Me.lblMultiAttachements.AutoSize = True
|
||||||
|
Me.lblMultiAttachements.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblMultiAttachements.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.lblMultiAttachements.Location = New System.Drawing.Point(9, 465)
|
||||||
|
Me.lblMultiAttachements.Name = "lblMultiAttachements"
|
||||||
|
Me.lblMultiAttachements.Size = New System.Drawing.Size(342, 13)
|
||||||
|
Me.lblMultiAttachements.TabIndex = 38
|
||||||
|
Me.lblMultiAttachements.Text = "Anhang markieren, der explizit als PDF-Anhang gespeichert werden soll"
|
||||||
|
'
|
||||||
|
'dgvAnhaenge
|
||||||
|
'
|
||||||
|
Me.dgvAnhaenge.AKTUALISIERUNGS_INTERVALL = -1
|
||||||
|
Me.dgvAnhaenge.AllowUserToAddRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToDeleteRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
||||||
|
Me.dgvAnhaenge.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
|
||||||
|
Or System.Windows.Forms.AnchorStyles.Left) _
|
||||||
|
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
||||||
|
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
|
Me.dgvAnhaenge.ColumnHeadersVisible = False
|
||||||
|
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.columnName})
|
||||||
|
Me.dgvAnhaenge.Location = New System.Drawing.Point(0, 483)
|
||||||
|
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
||||||
|
Me.dgvAnhaenge.ReadOnly = True
|
||||||
|
Me.dgvAnhaenge.RowHeadersVisible = False
|
||||||
|
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
|
Me.dgvAnhaenge.Size = New System.Drawing.Size(514, 36)
|
||||||
|
Me.dgvAnhaenge.TabIndex = 39
|
||||||
|
Me.dgvAnhaenge.Visible = False
|
||||||
|
'
|
||||||
|
'columnName
|
||||||
|
'
|
||||||
|
Me.columnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
Me.columnName.HeaderText = "Name"
|
||||||
|
Me.columnName.Name = "columnName"
|
||||||
|
Me.columnName.ReadOnly = True
|
||||||
|
'
|
||||||
|
'UsrCntlKundenZollVollmachten1
|
||||||
|
'
|
||||||
|
Me.UsrCntlKundenZollVollmachten1.Location = New System.Drawing.Point(0, 120)
|
||||||
|
Me.UsrCntlKundenZollVollmachten1.Name = "UsrCntlKundenZollVollmachten1"
|
||||||
|
Me.UsrCntlKundenZollVollmachten1.Size = New System.Drawing.Size(514, 342)
|
||||||
|
Me.UsrCntlKundenZollVollmachten1.TabIndex = 38
|
||||||
|
'
|
||||||
|
'MyPanel2
|
||||||
|
'
|
||||||
|
Me.MyPanel2.Controls.Add(Me.Label1)
|
||||||
|
Me.MyPanel2.Controls.Add(Me.lblWarning)
|
||||||
|
Me.MyPanel2.Controls.Add(Me.lblVMId)
|
||||||
|
Me.MyPanel2.Controls.Add(Me.lblKunden)
|
||||||
|
Me.MyPanel2.Controls.Add(Me.KdSearchBox)
|
||||||
|
Me.MyPanel2.Controls.Add(Me.cbVMTypen)
|
||||||
|
Me.MyPanel2.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
|
Me.MyPanel2.Location = New System.Drawing.Point(0, 0)
|
||||||
|
Me.MyPanel2.Name = "MyPanel2"
|
||||||
|
Me.MyPanel2.Size = New System.Drawing.Size(521, 114)
|
||||||
|
Me.MyPanel2.TabIndex = 37
|
||||||
|
'
|
||||||
|
'lblWarning
|
||||||
|
'
|
||||||
|
Me.lblWarning.AutoSize = True
|
||||||
|
Me.lblWarning.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.lblWarning.Location = New System.Drawing.Point(80, 9)
|
||||||
|
Me.lblWarning.Name = "lblWarning"
|
||||||
|
Me.lblWarning.Size = New System.Drawing.Size(0, 13)
|
||||||
|
Me.lblWarning.TabIndex = 37
|
||||||
|
'
|
||||||
|
'lblVMId
|
||||||
|
'
|
||||||
|
Me.lblVMId.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.lblVMId.AutoSize = True
|
||||||
|
Me.lblVMId.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblVMId.Location = New System.Drawing.Point(12, 61)
|
||||||
|
Me.lblVMId.Name = "lblVMId"
|
||||||
|
Me.lblVMId.Size = New System.Drawing.Size(69, 13)
|
||||||
|
Me.lblVMId.TabIndex = 36
|
||||||
|
Me.lblVMId.Text = "Vollmacht-Art"
|
||||||
|
'
|
||||||
'lblKunden
|
'lblKunden
|
||||||
'
|
'
|
||||||
Me.lblKunden.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
Me.lblKunden.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
||||||
@@ -55,17 +140,6 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.lblKunden.TabIndex = 2
|
Me.lblKunden.TabIndex = 2
|
||||||
Me.lblKunden.Text = "Kunden"
|
Me.lblKunden.Text = "Kunden"
|
||||||
'
|
'
|
||||||
'btnOK
|
|
||||||
'
|
|
||||||
Me.btnOK.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
|
||||||
Me.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK
|
|
||||||
Me.btnOK.Location = New System.Drawing.Point(409, 65)
|
|
||||||
Me.btnOK.Name = "btnOK"
|
|
||||||
Me.btnOK.Size = New System.Drawing.Size(105, 40)
|
|
||||||
Me.btnOK.TabIndex = 3
|
|
||||||
Me.btnOK.Text = "Ok"
|
|
||||||
Me.btnOK.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'KdSearchBox
|
'KdSearchBox
|
||||||
'
|
'
|
||||||
Me.KdSearchBox._AlleFirmenCLUSTER = False
|
Me.KdSearchBox._AlleFirmenCLUSTER = False
|
||||||
@@ -77,6 +151,7 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.KdSearchBox._displayWoelflKd = False
|
Me.KdSearchBox._displayWoelflKd = False
|
||||||
Me.KdSearchBox._hideIfListEmpty = True
|
Me.KdSearchBox._hideIfListEmpty = True
|
||||||
Me.KdSearchBox._loadKdData = True
|
Me.KdSearchBox._loadKdData = True
|
||||||
|
Me.KdSearchBox._searchName1 = True
|
||||||
Me.KdSearchBox._UseFIRMA = ""
|
Me.KdSearchBox._UseFIRMA = ""
|
||||||
Me.KdSearchBox._ValueKdAndName = True
|
Me.KdSearchBox._ValueKdAndName = True
|
||||||
Me.KdSearchBox.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
Me.KdSearchBox.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
||||||
@@ -96,17 +171,6 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.KdSearchBox.TIMER_SEARCH = True
|
Me.KdSearchBox.TIMER_SEARCH = True
|
||||||
Me.KdSearchBox.usrcntl = Nothing
|
Me.KdSearchBox.usrcntl = Nothing
|
||||||
'
|
'
|
||||||
'btnCancel
|
|
||||||
'
|
|
||||||
Me.btnCancel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
|
||||||
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
|
||||||
Me.btnCancel.Location = New System.Drawing.Point(3, 67)
|
|
||||||
Me.btnCancel.Name = "btnCancel"
|
|
||||||
Me.btnCancel.Size = New System.Drawing.Size(116, 40)
|
|
||||||
Me.btnCancel.TabIndex = 31
|
|
||||||
Me.btnCancel.Text = "Abbrechen"
|
|
||||||
Me.btnCancel.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'cbVMTypen
|
'cbVMTypen
|
||||||
'
|
'
|
||||||
Me.cbVMTypen._allowedValuesFreiText = Nothing
|
Me.cbVMTypen._allowedValuesFreiText = Nothing
|
||||||
@@ -131,65 +195,6 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.MyPanel1.Size = New System.Drawing.Size(521, 108)
|
Me.MyPanel1.Size = New System.Drawing.Size(521, 108)
|
||||||
Me.MyPanel1.TabIndex = 36
|
Me.MyPanel1.TabIndex = 36
|
||||||
'
|
'
|
||||||
'MyPanel2
|
|
||||||
'
|
|
||||||
Me.MyPanel2.Controls.Add(Me.lblVMId)
|
|
||||||
Me.MyPanel2.Controls.Add(Me.lblKunden)
|
|
||||||
Me.MyPanel2.Controls.Add(Me.KdSearchBox)
|
|
||||||
Me.MyPanel2.Controls.Add(Me.cbVMTypen)
|
|
||||||
Me.MyPanel2.Dock = System.Windows.Forms.DockStyle.Top
|
|
||||||
Me.MyPanel2.Location = New System.Drawing.Point(0, 0)
|
|
||||||
Me.MyPanel2.Name = "MyPanel2"
|
|
||||||
Me.MyPanel2.Size = New System.Drawing.Size(521, 114)
|
|
||||||
Me.MyPanel2.TabIndex = 37
|
|
||||||
'
|
|
||||||
'lblVMId
|
|
||||||
'
|
|
||||||
Me.lblVMId.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
|
||||||
Me.lblVMId.AutoSize = True
|
|
||||||
Me.lblVMId.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
|
||||||
Me.lblVMId.Location = New System.Drawing.Point(12, 61)
|
|
||||||
Me.lblVMId.Name = "lblVMId"
|
|
||||||
Me.lblVMId.Size = New System.Drawing.Size(69, 13)
|
|
||||||
Me.lblVMId.TabIndex = 36
|
|
||||||
Me.lblVMId.Text = "Vollmacht-Art"
|
|
||||||
'
|
|
||||||
'UsrCntlKundenZollVollmachten1
|
|
||||||
'
|
|
||||||
Me.UsrCntlKundenZollVollmachten1.Location = New System.Drawing.Point(0, 120)
|
|
||||||
Me.UsrCntlKundenZollVollmachten1.Name = "UsrCntlKundenZollVollmachten1"
|
|
||||||
Me.UsrCntlKundenZollVollmachten1.Size = New System.Drawing.Size(514, 355)
|
|
||||||
Me.UsrCntlKundenZollVollmachten1.TabIndex = 38
|
|
||||||
'
|
|
||||||
'dgvAnhaenge
|
|
||||||
'
|
|
||||||
Me.dgvAnhaenge.AKTUALISIERUNGS_INTERVALL = -1
|
|
||||||
Me.dgvAnhaenge.AllowUserToAddRows = False
|
|
||||||
Me.dgvAnhaenge.AllowUserToDeleteRows = False
|
|
||||||
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
|
||||||
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
|
||||||
Me.dgvAnhaenge.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
|
|
||||||
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
|
||||||
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
|
||||||
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
|
||||||
Me.dgvAnhaenge.ColumnHeadersVisible = False
|
|
||||||
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.columnName})
|
|
||||||
Me.dgvAnhaenge.Location = New System.Drawing.Point(0, 483)
|
|
||||||
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
|
||||||
Me.dgvAnhaenge.ReadOnly = True
|
|
||||||
Me.dgvAnhaenge.RowHeadersVisible = False
|
|
||||||
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
|
||||||
Me.dgvAnhaenge.Size = New System.Drawing.Size(514, 36)
|
|
||||||
Me.dgvAnhaenge.TabIndex = 39
|
|
||||||
Me.dgvAnhaenge.Visible = False
|
|
||||||
'
|
|
||||||
'columnName
|
|
||||||
'
|
|
||||||
Me.columnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
|
||||||
Me.columnName.HeaderText = "Name"
|
|
||||||
Me.columnName.Name = "columnName"
|
|
||||||
Me.columnName.ReadOnly = True
|
|
||||||
'
|
|
||||||
'pbAnhaenge
|
'pbAnhaenge
|
||||||
'
|
'
|
||||||
Me.pbAnhaenge.Enabled = False
|
Me.pbAnhaenge.Enabled = False
|
||||||
@@ -201,12 +206,46 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.pbAnhaenge.TabIndex = 32
|
Me.pbAnhaenge.TabIndex = 32
|
||||||
Me.pbAnhaenge.TabStop = False
|
Me.pbAnhaenge.TabStop = False
|
||||||
'
|
'
|
||||||
|
'btnOK
|
||||||
|
'
|
||||||
|
Me.btnOK.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK
|
||||||
|
Me.btnOK.Location = New System.Drawing.Point(409, 65)
|
||||||
|
Me.btnOK.Name = "btnOK"
|
||||||
|
Me.btnOK.Size = New System.Drawing.Size(105, 40)
|
||||||
|
Me.btnOK.TabIndex = 3
|
||||||
|
Me.btnOK.Text = "Ok"
|
||||||
|
Me.btnOK.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnCancel
|
||||||
|
'
|
||||||
|
Me.btnCancel.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
||||||
|
Me.btnCancel.Location = New System.Drawing.Point(3, 67)
|
||||||
|
Me.btnCancel.Name = "btnCancel"
|
||||||
|
Me.btnCancel.Size = New System.Drawing.Size(116, 40)
|
||||||
|
Me.btnCancel.TabIndex = 31
|
||||||
|
Me.btnCancel.Text = "Abbrechen"
|
||||||
|
Me.btnCancel.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.Label1.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(407, 4)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(100, 20)
|
||||||
|
Me.Label1.TabIndex = 38
|
||||||
|
Me.Label1.Text = "Testsystem"
|
||||||
|
'
|
||||||
'frmAvisoFormularAnfuegen
|
'frmAvisoFormularAnfuegen
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.BackColor = System.Drawing.Color.White
|
Me.BackColor = System.Drawing.Color.White
|
||||||
Me.ClientSize = New System.Drawing.Size(521, 631)
|
Me.ClientSize = New System.Drawing.Size(521, 631)
|
||||||
|
Me.Controls.Add(Me.lblMultiAttachements)
|
||||||
Me.Controls.Add(Me.dgvAnhaenge)
|
Me.Controls.Add(Me.dgvAnhaenge)
|
||||||
Me.Controls.Add(Me.UsrCntlKundenZollVollmachten1)
|
Me.Controls.Add(Me.UsrCntlKundenZollVollmachten1)
|
||||||
Me.Controls.Add(Me.MyPanel2)
|
Me.Controls.Add(Me.MyPanel2)
|
||||||
@@ -214,13 +253,14 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||||
Me.Name = "frmAvisoFormularAnfuegen"
|
Me.Name = "frmAvisoFormularAnfuegen"
|
||||||
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||||
Me.Text = "Formular anfügen"
|
Me.Text = "Vollmacht anfügen"
|
||||||
Me.MyPanel1.ResumeLayout(False)
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.MyPanel2.ResumeLayout(False)
|
Me.MyPanel2.ResumeLayout(False)
|
||||||
Me.MyPanel2.PerformLayout()
|
Me.MyPanel2.PerformLayout()
|
||||||
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
Me.MyPanel1.ResumeLayout(False)
|
||||||
CType(Me.pbAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.pbAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
Me.PerformLayout()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Friend WithEvents lblKunden As Windows.Forms.Label
|
Friend WithEvents lblKunden As Windows.Forms.Label
|
||||||
@@ -235,4 +275,7 @@ Partial Class frmAvisoFormularAnfuegen
|
|||||||
Friend WithEvents UsrCntlKundenZollVollmachten1 As SDL.usrCntlKundenZollVollmachten
|
Friend WithEvents UsrCntlKundenZollVollmachten1 As SDL.usrCntlKundenZollVollmachten
|
||||||
Friend WithEvents dgvAnhaenge As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
Friend WithEvents dgvAnhaenge As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
||||||
Friend WithEvents columnName As Windows.Forms.DataGridViewTextBoxColumn
|
Friend WithEvents columnName As Windows.Forms.DataGridViewTextBoxColumn
|
||||||
|
Friend WithEvents lblWarning As Windows.Forms.Label
|
||||||
|
Friend WithEvents lblMultiAttachements As Windows.Forms.Label
|
||||||
|
Friend WithEvents Label1 As Windows.Forms.Label
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
Imports System.Data
|
Imports System.Collections
|
||||||
|
Imports System.Data
|
||||||
Imports System.Drawing
|
Imports System.Drawing
|
||||||
Imports System.Windows.Forms
|
Imports System.Windows.Forms
|
||||||
Imports System.Windows.Forms.VisualStyles.VisualStyleElement.Button
|
Imports System.Windows.Forms.VisualStyles.VisualStyleElement.Button
|
||||||
@@ -30,11 +31,13 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
InitializeComponent()
|
InitializeComponent()
|
||||||
Me.Bezeichnung = Bezeichnung
|
Me.Bezeichnung = Bezeichnung
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Private Sub frmAvisoFormularAnfuegen_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
Private Sub frmAvisoFormularAnfuegen_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
|
|
||||||
KdSearchBox.initKdBox(Me)
|
KdSearchBox.initKdBox(Me)
|
||||||
initAttachment()
|
initAttachment()
|
||||||
If hasAnhaenge Then pbAnhaenge.Image = My.Resources.pdf
|
If hasAnhaenge Then pbAnhaenge.Image = My.Resources.pdf
|
||||||
@@ -61,7 +64,7 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub initVollmachtarten(kdNr As Integer)
|
Sub initVollmachtarten(kdNr As Integer)
|
||||||
cbVMTypen.fillWithSQL("SELECT DISTINCT(art.kdvma_Id), art.kdvma_Bezeichnung FROM [tblKundenVollmachtenArt] as art LEFT JOIN (select * from [tblKundenVollmachten] where [kdvm_KundenNr]='" & kdNr & "' ) as abf on art.[kdvma_Id]=abf.[kdvm_kdvmaId] WHERE art.kdvma_visible=1 AND art.kdvma_Firma='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "'", False, "FMZOLL", False)
|
cbVMTypen.fillWithSQL("SELECT DISTINCT(art.kdvma_Id), art.kdvma_Bezeichnung FROM [tblKundenVollmachtenArt] as art LEFT JOIN (select * from [tblKundenVollmachten] where [kdvm_KundenNr]='" & kdNr & "' ) as abf on art.[kdvma_Id]=abf.[kdvm_kdvmaId] WHERE art.kdvma_visible=1 AND art.kdvma_Firma='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "'", False, "FMZOLL", True)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
@@ -82,16 +85,21 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub cbVMTypen_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbVMTypen.SelectedIndexChanged
|
Private Sub cbVMTypen_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbVMTypen.SelectedValueChanged
|
||||||
|
If cbVMTypen._value <> "" Then
|
||||||
vollmachtartId = cbVMTypen._value
|
vollmachtartId = cbVMTypen._value
|
||||||
initUsrCntrlKundenvollmachten(vollmachtartId)
|
initUsrCntrlKundenvollmachten(vollmachtartId)
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Private Sub btnOK_Click(sender As Object, e As EventArgs) Handles btnOK.Click
|
Private Sub btnOK_Click(sender As Object, e As EventArgs) Handles btnOK.Click
|
||||||
|
|
||||||
|
If Not checkMandatoryFields() Then
|
||||||
|
DialogResult = DialogResult.None
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
If Not hasAnhaenge Then
|
If Not hasAnhaenge Then
|
||||||
|
|
||||||
If Not vbYes = MsgBox("Diese Email besitzt keinen Anhang!" & vbCrLf & "Soll die Email denoch gespeichert werden?", vbYesNoCancel) Then
|
If Not vbYes = MsgBox("Diese Email besitzt keinen Anhang!" & vbCrLf & "Soll die Email denoch gespeichert werden?", vbYesNoCancel) Then
|
||||||
@@ -100,6 +108,16 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Dim i = dgvAnhaenge.SelectedCells.Item(0).RowIndex
|
||||||
|
If i > 0 Then
|
||||||
|
|
||||||
|
AddAttachmentOnLastIndex(ATT, i)
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
UsrCntlKundenZollVollmachten1.btnNeu_Click(sender, e)
|
UsrCntlKundenZollVollmachten1.btnNeu_Click(sender, e)
|
||||||
vollmachtId = UsrCntlKundenZollVollmachten1.vmId
|
vollmachtId = UsrCntlKundenZollVollmachten1.vmId
|
||||||
|
|
||||||
@@ -107,6 +125,19 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub AddAttachmentOnLastIndex(ByRef a As List(Of String), tmpIndex As Integer)
|
||||||
|
If (a IsNot Nothing) AndAlso (a.Count > 1) Then
|
||||||
|
Dim list As New List(Of String)
|
||||||
|
list = a
|
||||||
|
Dim selectedItem As Object = list.Item(tmpIndex)
|
||||||
|
list.Add(selectedItem)
|
||||||
|
list.RemoveAt(tmpIndex) 'immer die letzte PDF-DatenarchivID wird als PDF-Verknüpfung angezeigt!!!!!
|
||||||
|
|
||||||
|
a = list
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
Private Sub btnCancel_Click(sender As Object, e As EventArgs) Handles btnCancel.Click
|
Private Sub btnCancel_Click(sender As Object, e As EventArgs) Handles btnCancel.Click
|
||||||
Close()
|
Close()
|
||||||
End Sub
|
End Sub
|
||||||
@@ -119,6 +150,7 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
Else
|
Else
|
||||||
hasAnhaenge = True
|
hasAnhaenge = True
|
||||||
PDF_MAIL = "PDF_DATENSERVER"
|
PDF_MAIL = "PDF_DATENSERVER"
|
||||||
|
|
||||||
For Each a In ATT
|
For Each a In ATT
|
||||||
Dim display = a
|
Dim display = a
|
||||||
If a.Contains("\") Then
|
If a.Contains("\") Then
|
||||||
@@ -128,10 +160,53 @@ Public Class frmAvisoFormularAnfuegen
|
|||||||
dgvAnhaenge.Rows.Add({display})
|
dgvAnhaenge.Rows.Add({display})
|
||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If dgvAnhaenge.Rows.Count >= 2 Then
|
||||||
|
|
||||||
|
dgvAnhaenge.Visible = True
|
||||||
|
lblMultiAttachements.Visible = True
|
||||||
|
Me.Size = New Size(537, 720)
|
||||||
|
dgvAnhaenge.Size = New Size(514, 86)
|
||||||
|
Else
|
||||||
|
dgvAnhaenge.Visible = False
|
||||||
|
lblMultiAttachements.Visible = False
|
||||||
|
dgvAnhaenge.Size = New Size(514, 36)
|
||||||
|
Me.Size = New Size(537, 670)
|
||||||
|
End If
|
||||||
|
|
||||||
dgvAnhaenge.ClearSelection()
|
dgvAnhaenge.ClearSelection()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub pbMail_Click(sender As Object, e As EventArgs)
|
Private Function checkMandatoryFields() As Boolean
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dim valid = False
|
||||||
|
|
||||||
|
If KdSearchBox.KdNr_value = -1 Then
|
||||||
|
lblWarning.Text = "Kunde auswählen!"
|
||||||
|
Return valid
|
||||||
|
End If
|
||||||
|
|
||||||
|
If cbVMTypen._value = "" Then
|
||||||
|
lblWarning.Text = "Vollmachttyp auswählen"
|
||||||
|
Return valid
|
||||||
|
End If
|
||||||
|
|
||||||
|
If UsrCntlKundenZollVollmachten1.txtGueltigVon.Text = "" Then
|
||||||
|
lblWarning.Text = "Gültig von-Datum hinterlegen!"
|
||||||
|
Return valid
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
lblWarning.Text = ""
|
||||||
|
valid = True
|
||||||
|
Return valid
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Sub frmAvisoFormularAnfuegen_Shown(sender As Object, e As EventArgs) Handles Me.Shown
|
||||||
|
KdSearchBox.Focus()
|
||||||
|
Label1.Visible = cAllgemein.TESTSYSTEM
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
@@ -35,8 +35,7 @@ Public Class VERAGRibbon
|
|||||||
|
|
||||||
Private Sub Ribbon1_Load(ByVal sender As System.Object, ByVal e As RibbonUIEventArgs) Handles MyBase.Load
|
Private Sub Ribbon1_Load(ByVal sender As System.Object, ByVal e As RibbonUIEventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
'VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = False
|
cAllgemein.TESTSYSTEM = False
|
||||||
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = True
|
|
||||||
LOGIN_OK = AVISO_Mail_Functions.initFirmaUser()
|
LOGIN_OK = AVISO_Mail_Functions.initFirmaUser()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user