Imports System.Data Imports System.Data.SqlTypes Imports System.Data.SqlClient Public Class frmDokumentpaket 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 ToolBar1 As System.Windows.Forms.ToolBar Friend WithEvents txtPartnerZusteller As System.Windows.Forms.TextBox Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label16 As System.Windows.Forms.Label Friend WithEvents cbdokumentstatus As System.Windows.Forms.ComboBox Friend WithEvents btnPartnerInhaber As System.Windows.Forms.Button Friend WithEvents txtPartnerInhaber As System.Windows.Forms.TextBox Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents btnExit As System.Windows.Forms.ToolBarButton Friend WithEvents BtnHelp As System.Windows.Forms.Button Friend WithEvents btnAbbruch As System.Windows.Forms.Button Friend WithEvents btnWeiter As System.Windows.Forms.Button Friend WithEvents ImageList1 As System.Windows.Forms.ImageList Friend WithEvents TreeVorlagen As System.Windows.Forms.TreeView Friend WithEvents ImageList3 As System.Windows.Forms.ImageList Friend WithEvents DokList As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents ImageList2 As System.Windows.Forms.ImageList Friend WithEvents ContextMenuDokTyp As System.Windows.Forms.ContextMenu Friend WithEvents ContextMenuDokument As System.Windows.Forms.ContextMenu Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem Friend WithEvents MnuMark As System.Windows.Forms.MenuItem Friend WithEvents MnuUnmark As System.Windows.Forms.MenuItem Friend WithEvents MnuAddDok As System.Windows.Forms.MenuItem Friend WithEvents MnuShowDoc As System.Windows.Forms.MenuItem Friend WithEvents MnuTrefferliste As System.Windows.Forms.MenuItem Friend WithEvents PicHinweis As System.Windows.Forms.PictureBox Friend WithEvents lblhinweis As System.Windows.Forms.Label Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem Friend WithEvents btnDPSave As System.Windows.Forms.ToolBarButton Friend WithEvents btnDPCopy As System.Windows.Forms.ToolBarButton Friend WithEvents btnDPInfo As System.Windows.Forms.ToolBarButton Friend WithEvents Timer1 As System.Windows.Forms.Timer Friend WithEvents ImageList4 As System.Windows.Forms.ImageList Friend WithEvents mnuDPKopieren As System.Windows.Forms.MenuItem Friend WithEvents MnuSaveAs As System.Windows.Forms.MenuItem Friend WithEvents MnuVerwaltung As System.Windows.Forms.MenuItem Friend WithEvents mnusaveStandard As System.Windows.Forms.MenuItem Friend WithEvents lblabgeschlossen As System.Windows.Forms.Label Friend WithEvents Timer2 As System.Windows.Forms.Timer Friend WithEvents mnuDPMAKopieren As System.Windows.Forms.MenuItem Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmDokumentpaket)) Dim GridLines1 As C1.Win.C1TrueDBGrid.Util.GridLines = New C1.Win.C1TrueDBGrid.Util.GridLines() Me.ToolBar1 = New System.Windows.Forms.ToolBar() Me.btnExit = New System.Windows.Forms.ToolBarButton() Me.btnDPSave = New System.Windows.Forms.ToolBarButton() Me.btnDPCopy = New System.Windows.Forms.ToolBarButton() Me.btnDPInfo = New System.Windows.Forms.ToolBarButton() Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components) Me.txtPartnerZusteller = New System.Windows.Forms.TextBox() Me.Button1 = New System.Windows.Forms.Button() Me.Label16 = New System.Windows.Forms.Label() Me.cbdokumentstatus = New System.Windows.Forms.ComboBox() Me.btnPartnerInhaber = New System.Windows.Forms.Button() Me.txtPartnerInhaber = New System.Windows.Forms.TextBox() Me.Label2 = New System.Windows.Forms.Label() Me.Label1 = New System.Windows.Forms.Label() Me.BtnHelp = New System.Windows.Forms.Button() Me.TreeVorlagen = New System.Windows.Forms.TreeView() Me.ImageList3 = New System.Windows.Forms.ImageList(Me.components) Me.btnAbbruch = New System.Windows.Forms.Button() Me.btnWeiter = New System.Windows.Forms.Button() Me.DokList = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.ImageList2 = New System.Windows.Forms.ImageList(Me.components) Me.ContextMenuDokTyp = New System.Windows.Forms.ContextMenu() Me.MenuItem1 = New System.Windows.Forms.MenuItem() Me.MnuAddDok = New System.Windows.Forms.MenuItem() Me.MenuItem2 = New System.Windows.Forms.MenuItem() Me.MnuVerwaltung = New System.Windows.Forms.MenuItem() Me.mnuDPKopieren = New System.Windows.Forms.MenuItem() Me.MnuSaveAs = New System.Windows.Forms.MenuItem() Me.mnuDPMAKopieren = New System.Windows.Forms.MenuItem() Me.mnusaveStandard = New System.Windows.Forms.MenuItem() Me.MenuItem5 = New System.Windows.Forms.MenuItem() Me.MnuMark = New System.Windows.Forms.MenuItem() Me.MnuUnmark = New System.Windows.Forms.MenuItem() Me.ContextMenuDokument = New System.Windows.Forms.ContextMenu() Me.MnuShowDoc = New System.Windows.Forms.MenuItem() Me.MnuTrefferliste = New System.Windows.Forms.MenuItem() Me.PicHinweis = New System.Windows.Forms.PictureBox() Me.lblhinweis = New System.Windows.Forms.Label() Me.Timer1 = New System.Windows.Forms.Timer(Me.components) Me.ImageList4 = New System.Windows.Forms.ImageList(Me.components) Me.lblabgeschlossen = New System.Windows.Forms.Label() Me.Timer2 = New System.Windows.Forms.Timer(Me.components) CType(Me.DokList, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'ToolBar1 ' Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.btnExit, Me.btnDPSave, Me.btnDPCopy, Me.btnDPInfo}) Me.ToolBar1.DropDownArrows = True Me.ToolBar1.ImageList = Me.ImageList1 Me.ToolBar1.Name = "ToolBar1" Me.ToolBar1.ShowToolTips = True Me.ToolBar1.Size = New System.Drawing.Size(568, 25) Me.ToolBar1.TabIndex = 0 ' 'btnExit ' Me.btnExit.ImageIndex = 0 ' 'btnDPSave ' Me.btnDPSave.ImageIndex = 1 Me.btnDPSave.Visible = False ' 'btnDPCopy ' Me.btnDPCopy.ImageIndex = 3 Me.btnDPCopy.Visible = False ' 'btnDPInfo ' Me.btnDPInfo.ImageIndex = 2 ' 'ImageList1 ' Me.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16) Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer) Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent ' 'txtPartnerZusteller ' Me.txtPartnerZusteller.Location = New System.Drawing.Point(112, 64) Me.txtPartnerZusteller.Name = "txtPartnerZusteller" Me.txtPartnerZusteller.ReadOnly = True Me.txtPartnerZusteller.Size = New System.Drawing.Size(240, 20) Me.txtPartnerZusteller.TabIndex = 45 Me.txtPartnerZusteller.Text = "" ' 'Button1 ' Me.Button1.Image = CType(resources.GetObject("Button1.Image"), System.Drawing.Bitmap) Me.Button1.Location = New System.Drawing.Point(376, 40) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(24, 24) Me.Button1.TabIndex = 47 ' 'Label16 ' Me.Label16.Location = New System.Drawing.Point(8, 88) Me.Label16.Name = "Label16" Me.Label16.Size = New System.Drawing.Size(96, 23) Me.Label16.TabIndex = 51 Me.Label16.Text = "Dokumentstatus" ' 'cbdokumentstatus ' Me.cbdokumentstatus.ItemHeight = 13 Me.cbdokumentstatus.Items.AddRange(New Object() {"In Bearbeitung", "Zweiter Status der Sequenz"}) Me.cbdokumentstatus.Location = New System.Drawing.Point(112, 88) Me.cbdokumentstatus.Name = "cbdokumentstatus" Me.cbdokumentstatus.Size = New System.Drawing.Size(240, 21) Me.cbdokumentstatus.TabIndex = 48 ' 'btnPartnerInhaber ' Me.btnPartnerInhaber.Image = CType(resources.GetObject("btnPartnerInhaber.Image"), System.Drawing.Bitmap) Me.btnPartnerInhaber.Location = New System.Drawing.Point(352, 40) Me.btnPartnerInhaber.Name = "btnPartnerInhaber" Me.btnPartnerInhaber.Size = New System.Drawing.Size(24, 24) Me.btnPartnerInhaber.TabIndex = 46 ' 'txtPartnerInhaber ' Me.txtPartnerInhaber.Location = New System.Drawing.Point(112, 40) Me.txtPartnerInhaber.Name = "txtPartnerInhaber" Me.txtPartnerInhaber.ReadOnly = True Me.txtPartnerInhaber.Size = New System.Drawing.Size(240, 20) Me.txtPartnerInhaber.TabIndex = 44 Me.txtPartnerInhaber.Text = "" ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(8, 64) Me.Label2.Name = "Label2" Me.Label2.TabIndex = 50 Me.Label2.Text = "Partner-Zusteller" ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(8, 40) Me.Label1.Name = "Label1" Me.Label1.TabIndex = 49 Me.Label1.Text = "Partner-Inhaber" ' 'BtnHelp ' Me.BtnHelp.Anchor = (System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right) Me.BtnHelp.Image = CType(resources.GetObject("BtnHelp.Image"), System.Drawing.Bitmap) Me.BtnHelp.Location = New System.Drawing.Point(544, 6) Me.BtnHelp.Name = "BtnHelp" Me.BtnHelp.Size = New System.Drawing.Size(24, 23) Me.BtnHelp.TabIndex = 61 ' 'TreeVorlagen ' Me.TreeVorlagen.CheckBoxes = True Me.TreeVorlagen.ImageList = Me.ImageList3 Me.TreeVorlagen.Location = New System.Drawing.Point(8, 120) Me.TreeVorlagen.Name = "TreeVorlagen" Me.TreeVorlagen.Size = New System.Drawing.Size(520, 232) Me.TreeVorlagen.TabIndex = 62 ' 'ImageList3 ' Me.ImageList3.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit Me.ImageList3.ImageSize = New System.Drawing.Size(16, 16) Me.ImageList3.ImageStream = CType(resources.GetObject("ImageList3.ImageStream"), System.Windows.Forms.ImageListStreamer) Me.ImageList3.TransparentColor = System.Drawing.Color.Transparent ' 'btnAbbruch ' Me.btnAbbruch.Location = New System.Drawing.Point(8, 360) Me.btnAbbruch.Name = "btnAbbruch" Me.btnAbbruch.TabIndex = 63 Me.btnAbbruch.Text = "Schliessen" ' 'btnWeiter ' Me.btnWeiter.Location = New System.Drawing.Point(488, 360) Me.btnWeiter.Name = "btnWeiter" Me.btnWeiter.TabIndex = 64 Me.btnWeiter.Text = "Weiter >" ' 'DokList ' Me.DokList.AllowArrows = False Me.DokList.AllowColMove = False Me.DokList.AllowColSelect = False Me.DokList.AllowFilter = False Me.DokList.AllowRowSelect = False Me.DokList.AllowSort = False Me.DokList.AllowUpdate = False Me.DokList.AllowUpdateOnBlur = False Me.DokList.AlternatingRows = True Me.DokList.BackColor = System.Drawing.Color.White Me.DokList.CaptionHeight = 17 Me.DokList.CollapseColor = System.Drawing.Color.Black Me.DokList.ColumnHeaders = False Me.DokList.Cursor = System.Windows.Forms.Cursors.Default Me.DokList.DataChanged = False Me.DokList.DeadAreaBackColor = System.Drawing.Color.Empty Me.DokList.ExpandColor = System.Drawing.Color.Black Me.DokList.ExposeCellMode = C1.Win.C1TrueDBGrid.ExposeCellModeEnum.ScrollNever Me.DokList.FetchRowStyles = True Me.DokList.GroupByCaption = "Drag a column header here to group by that column" Me.DokList.Images.Add(CType(resources.GetObject("resource.Images"), System.Drawing.Bitmap)) Me.DokList.Location = New System.Drawing.Point(8, 120) Me.DokList.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.NoMarquee Me.DokList.MultiSelect = C1.Win.C1TrueDBGrid.MultiSelectEnum.None Me.DokList.Name = "DokList" Me.DokList.PreviewInfo.Location = New System.Drawing.Point(0, 0) Me.DokList.PreviewInfo.Size = New System.Drawing.Size(0, 0) Me.DokList.PreviewInfo.ZoomFactor = 75 Me.DokList.PrintInfo.ShowOptionsDialog = False Me.DokList.RecordSelectorWidth = 20 GridLines1.Color = System.Drawing.Color.White GridLines1.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.None Me.DokList.RowDivider = GridLines1 Me.DokList.RowHeight = 15 Me.DokList.RowSubDividerColor = System.Drawing.Color.Transparent Me.DokList.ScrollTips = False Me.DokList.Size = New System.Drawing.Size(552, 232) Me.DokList.TabIndex = 65 Me.DokList.Text = "C1TrueDBGrid1" Me.DokList.Visible = False Me.DokList.PropBag = "Style11{}Style12{}Style13{}Style5{}Style4{}Style7{}Style6{}EvenRow{Back" & _ "Color:White;}Selected{ForeColor:HighlightText;BackColor:Highlight;}Heading{Wrap:" & _ "True;AlignVert:Center;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;BackColor:" & _ "Control;}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCaption;}Filte" & _ "rBar{BackColor:255, 255, 192;}OddRow{BackColor:White;}Footer{}Caption{AlignHorz:" & _ "Center;Border:None,,0, 0, 0, 0;}Style27{}Normal{BackColor:White;}Style26{}Highli" & _ "ghtRow{ForeColor:HighlightText;BackColor:White;}Style10{AlignHorz:Near;}Editor{}" & _ "RecordSelector{AlignImage:Center;BackColor:ActiveCaptionText;}Style9{}Style8{}St" & _ "yle3{}Style2{}Group{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Cent" & _ "er;}Style1{}0, 0, 548, 2280