Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Imports System.ComponentModel Imports UtilityLibrary.Win32 Public Class frmPartnerzusammenlegung 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 GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents TextBox1 As System.Windows.Forms.TextBox Friend WithEvents TextBox3 As System.Windows.Forms.TextBox Friend WithEvents TextBox4 As System.Windows.Forms.TextBox Friend WithEvents TextBox5 As System.Windows.Forms.TextBox Friend WithEvents TextBox6 As System.Windows.Forms.TextBox Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents TextBox7 As System.Windows.Forms.TextBox Friend WithEvents TextBox8 As System.Windows.Forms.TextBox Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents TextBox9 As System.Windows.Forms.TextBox Friend WithEvents TextBox10 As System.Windows.Forms.TextBox Friend WithEvents TextBox11 As System.Windows.Forms.TextBox Friend WithEvents TextBox12 As System.Windows.Forms.TextBox Friend WithEvents TextBox13 As System.Windows.Forms.TextBox Friend WithEvents TextBox14 As System.Windows.Forms.TextBox Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents Label9 As System.Windows.Forms.Label Friend WithEvents Label10 As System.Windows.Forms.Label Friend WithEvents Label11 As System.Windows.Forms.Label Friend WithEvents Label12 As System.Windows.Forms.Label Friend WithEvents Label13 As System.Windows.Forms.Label Friend WithEvents TextBox15 As System.Windows.Forms.TextBox Friend WithEvents TextBox16 As System.Windows.Forms.TextBox Friend WithEvents Label14 As System.Windows.Forms.Label Friend WithEvents Abbruch As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Label15 As System.Windows.Forms.Label Friend WithEvents btnDossierHaupt As System.Windows.Forms.Button Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox Friend WithEvents ListBox1 As System.Windows.Forms.ListBox Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Textbox2 As System.Windows.Forms.TextBox Friend WithEvents TextBox17 As System.Windows.Forms.TextBox Friend WithEvents Label16 As System.Windows.Forms.Label Friend WithEvents TextBox18 As System.Windows.Forms.TextBox Friend WithEvents Label17 As System.Windows.Forms.Label Friend WithEvents Detaillist As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents btnPartnerauswahl1 As System.Windows.Forms.Button Friend WithEvents btnpartnerauswahl2 As System.Windows.Forms.Button Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar Friend WithEvents ImageList1 As System.Windows.Forms.ImageList Friend WithEvents ToolBarButton1 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton2 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton3 As System.Windows.Forms.ToolBarButton Friend WithEvents Panel1 As System.Windows.Forms.Panel Friend WithEvents C1TrueDBGrid1 As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents ContextMenu1 As System.Windows.Forms.ContextMenu Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem Friend WithEvents ContextMenu2 As System.Windows.Forms.ContextMenu Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem Friend WithEvents TextBox19 As System.Windows.Forms.TextBox Friend WithEvents Label18 As System.Windows.Forms.Label Friend WithEvents TextBox20 As System.Windows.Forms.TextBox Friend WithEvents Label19 As System.Windows.Forms.Label Friend WithEvents Label20 As System.Windows.Forms.Label Friend WithEvents Label21 As System.Windows.Forms.Label Friend WithEvents btninaktivieren As System.Windows.Forms.Button Friend WithEvents ToolBarButton4 As System.Windows.Forms.ToolBarButton Friend WithEvents BtnHelp As System.Windows.Forms.Button Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmPartnerzusammenlegung)) Dim GridLines1 As C1.Win.C1TrueDBGrid.Util.GridLines = New C1.Win.C1TrueDBGrid.Util.GridLines() Dim GridLines2 As C1.Win.C1TrueDBGrid.Util.GridLines = New C1.Win.C1TrueDBGrid.Util.GridLines() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.Label20 = New System.Windows.Forms.Label() Me.TextBox19 = New System.Windows.Forms.TextBox() Me.Label18 = New System.Windows.Forms.Label() Me.Detaillist = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.TextBox17 = New System.Windows.Forms.TextBox() Me.Label16 = New System.Windows.Forms.Label() Me.Button7 = New System.Windows.Forms.Button() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.ListBox1 = New System.Windows.Forms.ListBox() Me.btnDossierHaupt = New System.Windows.Forms.Button() Me.Label15 = New System.Windows.Forms.Label() Me.TextBox15 = New System.Windows.Forms.TextBox() Me.Label13 = New System.Windows.Forms.Label() Me.TextBox7 = New System.Windows.Forms.TextBox() Me.Label6 = New System.Windows.Forms.Label() Me.TextBox6 = New System.Windows.Forms.TextBox() Me.TextBox5 = New System.Windows.Forms.TextBox() Me.TextBox4 = New System.Windows.Forms.TextBox() Me.TextBox3 = New System.Windows.Forms.TextBox() Me.Textbox2 = New System.Windows.Forms.TextBox() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.Label5 = New System.Windows.Forms.Label() Me.Label4 = New System.Windows.Forms.Label() Me.Label3 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.Label1 = New System.Windows.Forms.Label() Me.btnPartnerauswahl1 = New System.Windows.Forms.Button() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.Label21 = New System.Windows.Forms.Label() Me.TextBox20 = New System.Windows.Forms.TextBox() Me.Label19 = New System.Windows.Forms.Label() Me.TextBox18 = New System.Windows.Forms.TextBox() Me.Label17 = New System.Windows.Forms.Label() Me.Button8 = New System.Windows.Forms.Button() Me.Button5 = New System.Windows.Forms.Button() Me.Button4 = New System.Windows.Forms.Button() Me.TextBox16 = New System.Windows.Forms.TextBox() Me.Label14 = New System.Windows.Forms.Label() Me.TextBox8 = New System.Windows.Forms.TextBox() Me.Label7 = New System.Windows.Forms.Label() Me.TextBox9 = New System.Windows.Forms.TextBox() Me.TextBox10 = New System.Windows.Forms.TextBox() Me.TextBox11 = New System.Windows.Forms.TextBox() Me.TextBox12 = New System.Windows.Forms.TextBox() Me.TextBox13 = New System.Windows.Forms.TextBox() Me.TextBox14 = New System.Windows.Forms.TextBox() Me.Label8 = New System.Windows.Forms.Label() Me.Label9 = New System.Windows.Forms.Label() Me.Label10 = New System.Windows.Forms.Label() Me.Label11 = New System.Windows.Forms.Label() Me.Label12 = New System.Windows.Forms.Label() Me.btnpartnerauswahl2 = New System.Windows.Forms.Button() Me.Abbruch = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.Button3 = New System.Windows.Forms.Button() Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.ToolBar1 = New System.Windows.Forms.ToolBar() Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton2 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton3 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton4 = New System.Windows.Forms.ToolBarButton() Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components) Me.Panel1 = New System.Windows.Forms.Panel() Me.ContextMenu1 = New System.Windows.Forms.ContextMenu() Me.MenuItem7 = New System.Windows.Forms.MenuItem() Me.MenuItem3 = New System.Windows.Forms.MenuItem() Me.MenuItem2 = New System.Windows.Forms.MenuItem() Me.MenuItem1 = New System.Windows.Forms.MenuItem() Me.C1TrueDBGrid1 = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.ContextMenu2 = New System.Windows.Forms.ContextMenu() Me.MenuItem4 = New System.Windows.Forms.MenuItem() Me.MenuItem5 = New System.Windows.Forms.MenuItem() Me.MenuItem6 = New System.Windows.Forms.MenuItem() Me.btninaktivieren = New System.Windows.Forms.Button() Me.BtnHelp = New System.Windows.Forms.Button() Me.GroupBox1.SuspendLayout() CType(Me.Detaillist, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox3.SuspendLayout() Me.GroupBox2.SuspendLayout() Me.Panel1.SuspendLayout() CType(Me.C1TrueDBGrid1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'GroupBox1 ' Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label20, Me.TextBox19, Me.Label18, Me.Detaillist, Me.TextBox17, Me.Label16, Me.Button7, Me.GroupBox3, Me.btnDossierHaupt, Me.Label15, Me.TextBox15, Me.Label13, Me.TextBox7, Me.Label6, Me.TextBox6, Me.TextBox5, Me.TextBox4, Me.TextBox3, Me.Textbox2, Me.TextBox1, Me.Label5, Me.Label4, Me.Label3, Me.Label2, Me.Label1}) Me.GroupBox1.Location = New System.Drawing.Point(8, 32) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(568, 512) Me.GroupBox1.TabIndex = 3 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "Hauptpartner" ' 'Label20 ' Me.Label20.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label20.ForeColor = System.Drawing.Color.Red Me.Label20.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft Me.Label20.Location = New System.Drawing.Point(288, 448) Me.Label20.Name = "Label20" Me.Label20.Size = New System.Drawing.Size(272, 23) Me.Label20.TabIndex = 29 Me.Label20.Text = "Partner hat keine Dokumente" Me.Label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'TextBox19 ' Me.TextBox19.BackColor = System.Drawing.Color.White Me.TextBox19.Location = New System.Drawing.Point(360, 320) Me.TextBox19.Name = "TextBox19" Me.TextBox19.ReadOnly = True Me.TextBox19.Size = New System.Drawing.Size(200, 20) Me.TextBox19.TabIndex = 9 Me.TextBox19.Text = "Meier Fredy, TG1234" ' 'Label18 ' Me.Label18.Location = New System.Drawing.Point(288, 320) Me.Label18.Name = "Label18" Me.Label18.Size = New System.Drawing.Size(72, 24) Me.Label18.TabIndex = 27 Me.Label18.Text = "Mutations-Datum" ' 'Detaillist ' Me.Detaillist.AllowFilter = True Me.Detaillist.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.AllRows Me.Detaillist.AllowSort = True Me.Detaillist.AllowUpdateOnBlur = False Me.Detaillist.AlternatingRows = True Me.Detaillist.CaptionHeight = 17 Me.Detaillist.CollapseColor = System.Drawing.Color.Black Me.Detaillist.Cursor = System.Windows.Forms.Cursors.Default Me.Detaillist.DataChanged = False Me.Detaillist.DeadAreaBackColor = System.Drawing.Color.Empty Me.Detaillist.ExpandColor = System.Drawing.Color.Black Me.Detaillist.FetchRowStyles = True Me.Detaillist.FilterBar = True Me.Detaillist.GroupByCaption = "Drag a column header here to group by that column" Me.Detaillist.Images.Add(CType(resources.GetObject("resource.Images"), System.Drawing.Bitmap)) Me.Detaillist.Location = New System.Drawing.Point(288, 368) Me.Detaillist.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder Me.Detaillist.MultiSelect = C1.Win.C1TrueDBGrid.MultiSelectEnum.None Me.Detaillist.Name = "Detaillist" Me.Detaillist.PreviewInfo.Location = New System.Drawing.Point(0, 0) Me.Detaillist.PreviewInfo.Size = New System.Drawing.Size(0, 0) Me.Detaillist.PreviewInfo.ZoomFactor = 75 Me.Detaillist.PrintInfo.ShowOptionsDialog = False Me.Detaillist.RecordSelectors = False Me.Detaillist.RecordSelectorWidth = 16 GridLines1.Color = System.Drawing.Color.DarkGray GridLines1.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Single Me.Detaillist.RowDivider = GridLines1 Me.Detaillist.RowHeight = 15 Me.Detaillist.RowSubDividerColor = System.Drawing.Color.DarkGray Me.Detaillist.ScrollTips = True Me.Detaillist.Size = New System.Drawing.Size(272, 100) Me.Detaillist.TabIndex = 10 Me.Detaillist.Text = "C1TrueDBGrid1" Me.Detaillist.PropBag = "Style11{}Style12{}Style13{}Style5{}Style4{}Style7{}Style6{}EvenRow{Back" & _ "Color:White;}Selected{ForeColor:HighlightText;BackColor:Highlight;}Heading{Wrap:" & _ "True;BackColor:Control;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;AlignVert" & _ ":Center;}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCaption;}Filte" & _ "rBar{BackColor:255, 255, 192;}Footer{}Caption{AlignHorz:Center;}Editor{}Normal{B" & _ "ackColor:Control;}Style27{}Style26{}HighlightRow{ForeColor:HighlightText;BackCol" & _ "or:Highlight;}Style1{}OddRow{BackColor:224, 224, 224;}RecordSelector{AlignImage:" & _ "Center;}Style9{}Style8{}Style3{}Style2{}Group{AlignVert:Center;Border:None,,0, 0" & _ ", 0, 0;BackColor:ControlDark;}Style10{AlignHorz:Near;}0, 0, 268, 960