Imports System Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Imports System.ComponentModel Imports System.Drawing Imports System.Drawing.Color Public Class frmPartnerDetails Inherits System.Windows.Forms.Form #Region " Vom Windows Form Designer generierter Code " Public Sub New() MyBase.New() ' Dieser Aufruf ist für den Windows Form-Designer erforderlich. InitializeComponent() ' Initialisierungen nach dem Aufruf InitializeComponent() hinzufügen End Sub ' Die Form überschreibt den Löschvorgang der Basisklasse, um Komponenten zu bereinigen. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub ' Für Windows Form-Designer erforderlich Private components As System.ComponentModel.IContainer 'HINWEIS: Die folgende Prozedur ist für den Windows Form-Designer erforderlich 'Sie kann mit dem Windows Form-Designer modifiziert werden. 'Verwenden Sie nicht den Code-Editor zur Bearbeitung. Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents txtPartnernr As System.Windows.Forms.TextBox Friend WithEvents txtBkapr00 As System.Windows.Forms.TextBox Friend WithEvents cbvi As System.Windows.Forms.CheckBox Friend WithEvents txtPartnerEmpfaenger As System.Windows.Forms.TextBox Friend WithEvents txtZusatz As System.Windows.Forms.RichTextBox Friend WithEvents cbvsa As System.Windows.Forms.CheckBox Friend WithEvents txtsaldiert As System.Windows.Forms.Label Friend WithEvents txtZusteller As System.Windows.Forms.RichTextBox Friend WithEvents vvlist As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents txtInhaber As System.Windows.Forms.RichTextBox Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox Friend WithEvents cbmitarbeiter As System.Windows.Forms.CheckBox Friend WithEvents cbVip As System.Windows.Forms.CheckBox Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox Friend WithEvents Betreuerlabel As System.Windows.Forms.Label Friend WithEvents GroupBox8 As System.Windows.Forms.GroupBox Friend WithEvents GBDatLabel As System.Windows.Forms.Label Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmPartnerDetails)) Dim GridLines1 As C1.Win.C1TrueDBGrid.Util.GridLines = New C1.Win.C1TrueDBGrid.Util.GridLines() Me.txtPartnernr = New System.Windows.Forms.TextBox() Me.Label1 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.txtBkapr00 = New System.Windows.Forms.TextBox() Me.cbvi = New System.Windows.Forms.CheckBox() Me.cbvsa = New System.Windows.Forms.CheckBox() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.Label3 = New System.Windows.Forms.Label() Me.txtPartnerEmpfaenger = New System.Windows.Forms.TextBox() Me.txtZusteller = New System.Windows.Forms.RichTextBox() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.txtZusatz = New System.Windows.Forms.RichTextBox() Me.Button1 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.txtsaldiert = New System.Windows.Forms.Label() Me.vvlist = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.txtInhaber = New System.Windows.Forms.RichTextBox() Me.GroupBox4 = New System.Windows.Forms.GroupBox() Me.GroupBox5 = New System.Windows.Forms.GroupBox() Me.cbVip = New System.Windows.Forms.CheckBox() Me.cbmitarbeiter = New System.Windows.Forms.CheckBox() Me.GroupBox6 = New System.Windows.Forms.GroupBox() Me.GroupBox7 = New System.Windows.Forms.GroupBox() Me.Betreuerlabel = New System.Windows.Forms.Label() Me.GroupBox8 = New System.Windows.Forms.GroupBox() Me.GBDatLabel = New System.Windows.Forms.Label() Me.GroupBox2.SuspendLayout() Me.GroupBox3.SuspendLayout() CType(Me.vvlist, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox1.SuspendLayout() Me.GroupBox4.SuspendLayout() Me.GroupBox5.SuspendLayout() Me.GroupBox6.SuspendLayout() Me.GroupBox7.SuspendLayout() Me.GroupBox8.SuspendLayout() Me.SuspendLayout() ' 'txtPartnernr ' Me.txtPartnernr.Location = New System.Drawing.Point(72, 8) Me.txtPartnernr.Name = "txtPartnernr" Me.txtPartnernr.ReadOnly = True Me.txtPartnernr.Size = New System.Drawing.Size(80, 20) Me.txtPartnernr.TabIndex = 0 Me.txtPartnernr.Text = "" ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(8, 8) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(64, 23) Me.Label1.TabIndex = 1 Me.Label1.Text = "Partner-Nr." ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(176, 8) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(64, 23) Me.Label2.TabIndex = 3 Me.Label2.Text = "Kurzname" ' 'txtBkapr00 ' Me.txtBkapr00.Location = New System.Drawing.Point(232, 8) Me.txtBkapr00.Name = "txtBkapr00" Me.txtBkapr00.ReadOnly = True Me.txtBkapr00.Size = New System.Drawing.Size(208, 20) Me.txtBkapr00.TabIndex = 2 Me.txtBkapr00.Text = "TextBox2" ' 'cbvi ' Me.cbvi.Location = New System.Drawing.Point(8, 16) Me.cbvi.Name = "cbvi" Me.cbvi.TabIndex = 4 Me.cbvi.Text = "VI beachten" ' 'cbvsa ' Me.cbvsa.Location = New System.Drawing.Point(120, 16) Me.cbvsa.Name = "cbvsa" Me.cbvsa.Size = New System.Drawing.Size(112, 24) Me.cbvsa.TabIndex = 5 Me.cbvsa.Text = "Ad. versandfähig" ' 'GroupBox2 ' Me.GroupBox2.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label3, Me.txtPartnerEmpfaenger, Me.txtZusteller}) Me.GroupBox2.Location = New System.Drawing.Point(8, 224) Me.GroupBox2.Name = "GroupBox2" Me.GroupBox2.Size = New System.Drawing.Size(248, 176) Me.GroupBox2.TabIndex = 7 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "Zustell-Adresse (VI auf Ebene Partner)" ' 'Label3 ' Me.Label3.Location = New System.Drawing.Point(8, 144) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(120, 23) Me.Label3.TabIndex = 3 Me.Label3.Text = "Partner-Nr. Empfänger" ' 'txtPartnerEmpfaenger ' Me.txtPartnerEmpfaenger.Location = New System.Drawing.Point(128, 144) Me.txtPartnerEmpfaenger.Name = "txtPartnerEmpfaenger" Me.txtPartnerEmpfaenger.ReadOnly = True Me.txtPartnerEmpfaenger.Size = New System.Drawing.Size(112, 20) Me.txtPartnerEmpfaenger.TabIndex = 2 Me.txtPartnerEmpfaenger.Text = "TextBox3" ' 'txtZusteller ' Me.txtZusteller.Dock = System.Windows.Forms.DockStyle.Top Me.txtZusteller.Location = New System.Drawing.Point(3, 16) Me.txtZusteller.Name = "txtZusteller" Me.txtZusteller.ReadOnly = True Me.txtZusteller.Size = New System.Drawing.Size(242, 120) Me.txtZusteller.TabIndex = 0 Me.txtZusteller.Text = "" ' 'GroupBox3 ' Me.GroupBox3.Controls.AddRange(New System.Windows.Forms.Control() {Me.txtZusatz}) Me.GroupBox3.Location = New System.Drawing.Point(272, 384) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(248, 24) Me.GroupBox3.TabIndex = 8 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "EDOKA-Zustelladresse" Me.GroupBox3.Visible = False ' 'txtZusatz ' Me.txtZusatz.Location = New System.Drawing.Point(8, 16) Me.txtZusatz.Name = "txtZusatz" Me.txtZusatz.ReadOnly = True Me.txtZusatz.Size = New System.Drawing.Size(232, 152) Me.txtZusatz.TabIndex = 0 Me.txtZusatz.Text = "1" ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(440, 464) Me.Button1.Name = "Button1" Me.Button1.TabIndex = 10 Me.Button1.Text = "Schliessen" ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(8, 464) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(144, 23) Me.Button2.TabIndex = 11 Me.Button2.Text = "Zustelladresse bearbeiten" Me.Button2.Visible = False ' 'txtsaldiert ' Me.txtsaldiert.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.txtsaldiert.ForeColor = System.Drawing.Color.Red Me.txtsaldiert.Location = New System.Drawing.Point(216, 464) Me.txtsaldiert.Name = "txtsaldiert" Me.txtsaldiert.Size = New System.Drawing.Size(168, 23) Me.txtsaldiert.TabIndex = 12 Me.txtsaldiert.Text = "Partner saldiert!" ' 'vvlist ' Me.vvlist.AllowFilter = True Me.vvlist.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.AllRows Me.vvlist.AllowSort = True Me.vvlist.AlternatingRows = True Me.vvlist.CaptionHeight = 17 Me.vvlist.CollapseColor = System.Drawing.Color.Black Me.vvlist.ColumnHeaders = False Me.vvlist.DataChanged = False Me.vvlist.DeadAreaBackColor = System.Drawing.Color.Empty Me.vvlist.ExpandColor = System.Drawing.Color.Black Me.vvlist.FetchRowStyles = True Me.vvlist.GroupByCaption = "Drag a column header here to group by that column" Me.vvlist.Images.Add(CType(resources.GetObject("resource.Images"), System.Drawing.Bitmap)) Me.vvlist.Location = New System.Drawing.Point(8, 16) Me.vvlist.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder Me.vvlist.Name = "vvlist" Me.vvlist.PreviewInfo.Location = New System.Drawing.Point(0, 0) Me.vvlist.PreviewInfo.Size = New System.Drawing.Size(0, 0) Me.vvlist.PreviewInfo.ZoomFactor = 75 Me.vvlist.PrintInfo.ShowOptionsDialog = False Me.vvlist.RecordSelectors = False Me.vvlist.RecordSelectorWidth = 16 GridLines1.Color = System.Drawing.Color.DarkGray GridLines1.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Single Me.vvlist.RowDivider = GridLines1 Me.vvlist.RowHeight = 15 Me.vvlist.RowSubDividerColor = System.Drawing.Color.Transparent Me.vvlist.ScrollTips = False Me.vvlist.Size = New System.Drawing.Size(240, 304) Me.vvlist.TabIndex = 13 Me.vvlist.Text = "C1TrueDBGrid1" Me.vvlist.PropBag = "Group{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Center;}E" & _ "ditor{}Style2{}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:White;}Selected" & _ "{ForeColor:HighlightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:Inactiv" & _ "eCaptionText;BackColor:InactiveCaption;}FilterBar{}Footer{}Caption{AlignHorz:Cen" & _ "ter;}Normal{}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style9{}O" & _ "ddRow{BackColor:224, 224, 224;}RecordSelector{AlignImage:Center;}Heading{Wrap:Tr" & _ "ue;AlignVert:Center;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;BackColor:Co" & _ "ntrol;}Style8{}Style10{AlignHorz:Near;}Style11{}Style12{}Style13{}Style1{}0, 0, 236, 3000" & _ "