Imports System.IO Imports System.Data Imports System.Data.SqlClient Imports System.Data.SqlTypes Public Class frmBLParameter 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 ToolBarButton1 As System.Windows.Forms.ToolBarButton Friend WithEvents TabControl1 As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox Friend WithEvents txtQuittung2 As System.Windows.Forms.TextBox Friend WithEvents txtQuittung1 As System.Windows.Forms.TextBox Friend WithEvents txtBeilagen2 As System.Windows.Forms.TextBox Friend WithEvents txtBeilagen1 As System.Windows.Forms.TextBox Friend WithEvents txtForm2 As System.Windows.Forms.TextBox Friend WithEvents txtForm1 As System.Windows.Forms.TextBox Friend WithEvents txtArt2 As System.Windows.Forms.TextBox Friend WithEvents txtArt1 As System.Windows.Forms.TextBox Friend WithEvents txtGrundlage3 As System.Windows.Forms.TextBox Friend WithEvents txtGrundlage2 As System.Windows.Forms.TextBox Friend WithEvents txtGrundlage1 As System.Windows.Forms.TextBox Friend WithEvents cbDokumenttyp As System.Windows.Forms.ComboBox Friend WithEvents txtGrundlage4 As System.Windows.Forms.TextBox Friend WithEvents ImageList1 As System.Windows.Forms.ImageList Friend WithEvents ToolBarButton2 As System.Windows.Forms.ToolBarButton Friend WithEvents SqlConnection1 As System.Data.SqlClient.SqlConnection Friend WithEvents SqlDataAdapter1 As System.Data.SqlClient.SqlDataAdapter Friend WithEvents SqlDeleteCommand1 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlInsertCommand1 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlSelectCommand1 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlUpdateCommand1 As System.Data.SqlClient.SqlCommand Friend WithEvents DataSet1 As System.Data.DataSet Friend WithEvents DomainList As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents SqlSelectCommand2 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlInsertCommand2 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlUpdateCommand2 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlDeleteCommand2 As System.Data.SqlClient.SqlCommand Friend WithEvents SqlDataAdapter2 As System.Data.SqlClient.SqlDataAdapter Friend WithEvents FnktList As C1.Win.C1TrueDBGrid.C1TrueDBGrid Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu Friend WithEvents ContextMenu1 As System.Windows.Forms.ContextMenu Friend WithEvents mnuAdd As System.Windows.Forms.MenuItem Friend WithEvents ContextMenu2 As System.Windows.Forms.ContextMenu Friend WithEvents mnuDelete 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(frmBLParameter)) 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.ToolBar1 = New System.Windows.Forms.ToolBar() Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton2 = New System.Windows.Forms.ToolBarButton() Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components) Me.TabControl1 = New System.Windows.Forms.TabControl() Me.TabPage1 = New System.Windows.Forms.TabPage() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.txtQuittung2 = New System.Windows.Forms.TextBox() Me.txtQuittung1 = New System.Windows.Forms.TextBox() Me.Label6 = New System.Windows.Forms.Label() Me.txtBeilagen2 = New System.Windows.Forms.TextBox() Me.txtBeilagen1 = New System.Windows.Forms.TextBox() Me.Label5 = New System.Windows.Forms.Label() Me.txtForm2 = New System.Windows.Forms.TextBox() Me.txtForm1 = New System.Windows.Forms.TextBox() Me.Label4 = New System.Windows.Forms.Label() Me.txtArt2 = New System.Windows.Forms.TextBox() Me.Label3 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.txtArt1 = New System.Windows.Forms.TextBox() Me.txtGrundlage4 = New System.Windows.Forms.TextBox() Me.txtGrundlage3 = New System.Windows.Forms.TextBox() Me.txtGrundlage2 = New System.Windows.Forms.TextBox() Me.txtGrundlage1 = New System.Windows.Forms.TextBox() Me.Label1 = New System.Windows.Forms.Label() Me.cbDokumenttyp = New System.Windows.Forms.ComboBox() Me.TabPage2 = New System.Windows.Forms.TabPage() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.FnktList = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.ContextMenu2 = New System.Windows.Forms.ContextMenu() Me.mnuDelete = New System.Windows.Forms.MenuItem() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.DomainList = New C1.Win.C1TrueDBGrid.C1TrueDBGrid() Me.ContextMenu1 = New System.Windows.Forms.ContextMenu() Me.mnuAdd = New System.Windows.Forms.MenuItem() Me.SqlConnection1 = New System.Data.SqlClient.SqlConnection() Me.SqlDataAdapter1 = New System.Data.SqlClient.SqlDataAdapter() Me.SqlDeleteCommand1 = New System.Data.SqlClient.SqlCommand() Me.SqlInsertCommand1 = New System.Data.SqlClient.SqlCommand() Me.SqlSelectCommand1 = New System.Data.SqlClient.SqlCommand() Me.SqlUpdateCommand1 = New System.Data.SqlClient.SqlCommand() Me.DataSet1 = New System.Data.DataSet() Me.SqlSelectCommand2 = New System.Data.SqlClient.SqlCommand() Me.SqlInsertCommand2 = New System.Data.SqlClient.SqlCommand() Me.SqlUpdateCommand2 = New System.Data.SqlClient.SqlCommand() Me.SqlDeleteCommand2 = New System.Data.SqlClient.SqlCommand() Me.SqlDataAdapter2 = New System.Data.SqlClient.SqlDataAdapter() Me.MainMenu1 = New System.Windows.Forms.MainMenu() Me.TabControl1.SuspendLayout() Me.TabPage1.SuspendLayout() Me.GroupBox1.SuspendLayout() Me.TabPage2.SuspendLayout() Me.GroupBox3.SuspendLayout() CType(Me.FnktList, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox2.SuspendLayout() CType(Me.DomainList, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.DataSet1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'ToolBar1 ' Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.ToolBarButton1, Me.ToolBarButton2}) Me.ToolBar1.DropDownArrows = True Me.ToolBar1.ImageList = Me.ImageList1 Me.ToolBar1.Name = "ToolBar1" Me.ToolBar1.ShowToolTips = True Me.ToolBar1.Size = New System.Drawing.Size(800, 25) Me.ToolBar1.TabIndex = 2 ' 'ToolBarButton1 ' Me.ToolBarButton1.ImageIndex = 0 ' 'ToolBarButton2 ' Me.ToolBarButton2.ImageIndex = 1 ' '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 ' 'TabControl1 ' Me.TabControl1.Controls.AddRange(New System.Windows.Forms.Control() {Me.TabPage1, Me.TabPage2}) Me.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill Me.TabControl1.Location = New System.Drawing.Point(0, 25) Me.TabControl1.Name = "TabControl1" Me.TabControl1.SelectedIndex = 0 Me.TabControl1.Size = New System.Drawing.Size(800, 380) Me.TabControl1.TabIndex = 3 ' 'TabPage1 ' Me.TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me.GroupBox1, Me.Label1, Me.cbDokumenttyp}) Me.TabPage1.Location = New System.Drawing.Point(4, 22) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Size = New System.Drawing.Size(792, 354) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "Dokumentvorlage" ' 'GroupBox1 ' Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.txtQuittung2, Me.txtQuittung1, Me.Label6, Me.txtBeilagen2, Me.txtBeilagen1, Me.Label5, Me.txtForm2, Me.txtForm1, Me.Label4, Me.txtArt2, Me.Label3, Me.Label2, Me.txtArt1, Me.txtGrundlage4, Me.txtGrundlage3, Me.txtGrundlage2, Me.txtGrundlage1}) Me.GroupBox1.Location = New System.Drawing.Point(8, 56) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(784, 400) Me.GroupBox1.TabIndex = 6 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "Dokumenttexte" ' 'txtQuittung2 ' Me.txtQuittung2.Location = New System.Drawing.Point(120, 264) Me.txtQuittung2.Name = "txtQuittung2" Me.txtQuittung2.Size = New System.Drawing.Size(648, 20) Me.txtQuittung2.TabIndex = 16 Me.txtQuittung2.Text = "" ' 'txtQuittung1 ' Me.txtQuittung1.Location = New System.Drawing.Point(120, 240) Me.txtQuittung1.Name = "txtQuittung1" Me.txtQuittung1.Size = New System.Drawing.Size(648, 20) Me.txtQuittung1.TabIndex = 15 Me.txtQuittung1.Text = "" ' 'Label6 ' Me.Label6.Location = New System.Drawing.Point(8, 240) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(112, 23) Me.Label6.TabIndex = 14 Me.Label6.Text = "Quittung" ' 'txtBeilagen2 ' Me.txtBeilagen2.Location = New System.Drawing.Point(120, 208) Me.txtBeilagen2.Name = "txtBeilagen2" Me.txtBeilagen2.Size = New System.Drawing.Size(648, 20) Me.txtBeilagen2.TabIndex = 13 Me.txtBeilagen2.Text = "" ' 'txtBeilagen1 ' Me.txtBeilagen1.Location = New System.Drawing.Point(120, 184) Me.txtBeilagen1.Name = "txtBeilagen1" Me.txtBeilagen1.Size = New System.Drawing.Size(648, 20) Me.txtBeilagen1.TabIndex = 12 Me.txtBeilagen1.Text = "" ' 'Label5 ' Me.Label5.Location = New System.Drawing.Point(8, 184) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(112, 23) Me.Label5.TabIndex = 11 Me.Label5.Text = "Beilagen" ' 'txtForm2 ' Me.txtForm2.Enabled = False Me.txtForm2.Location = New System.Drawing.Point(128, 400) Me.txtForm2.Name = "txtForm2" Me.txtForm2.Size = New System.Drawing.Size(648, 20) Me.txtForm2.TabIndex = 10 Me.txtForm2.Text = "" Me.txtForm2.Visible = False ' 'txtForm1 ' Me.txtForm1.Enabled = False Me.txtForm1.Location = New System.Drawing.Point(128, 376) Me.txtForm1.Name = "txtForm1" Me.txtForm1.Size = New System.Drawing.Size(648, 20) Me.txtForm1.TabIndex = 9 Me.txtForm1.Text = "" Me.txtForm1.Visible = False ' 'Label4 ' Me.Label4.Enabled = False Me.Label4.Location = New System.Drawing.Point(16, 376) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(112, 23) Me.Label4.TabIndex = 8 Me.Label4.Text = "Aushändigungsform" Me.Label4.Visible = False ' 'txtArt2 ' Me.txtArt2.Location = New System.Drawing.Point(120, 152) Me.txtArt2.Name = "txtArt2" Me.txtArt2.Size = New System.Drawing.Size(648, 20) Me.txtArt2.TabIndex = 7 Me.txtArt2.Text = "" ' 'Label3 ' Me.Label3.Location = New System.Drawing.Point(8, 128) Me.Label3.Name = "Label3" Me.Label3.TabIndex = 6 Me.Label3.Text = "Aushändigungsart" ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(8, 24) Me.Label2.Name = "Label2" Me.Label2.TabIndex = 5 Me.Label2.Text = "Grundlagen" ' 'txtArt1 ' Me.txtArt1.Location = New System.Drawing.Point(120, 128) Me.txtArt1.Name = "txtArt1" Me.txtArt1.Size = New System.Drawing.Size(648, 20) Me.txtArt1.TabIndex = 4 Me.txtArt1.Text = "" ' 'txtGrundlage4 ' Me.txtGrundlage4.Location = New System.Drawing.Point(120, 96) Me.txtGrundlage4.Name = "txtGrundlage4" Me.txtGrundlage4.Size = New System.Drawing.Size(648, 20) Me.txtGrundlage4.TabIndex = 3 Me.txtGrundlage4.Text = "" ' 'txtGrundlage3 ' Me.txtGrundlage3.Location = New System.Drawing.Point(120, 72) Me.txtGrundlage3.Name = "txtGrundlage3" Me.txtGrundlage3.Size = New System.Drawing.Size(648, 20) Me.txtGrundlage3.TabIndex = 2 Me.txtGrundlage3.Text = "" ' 'txtGrundlage2 ' Me.txtGrundlage2.Location = New System.Drawing.Point(120, 48) Me.txtGrundlage2.Name = "txtGrundlage2" Me.txtGrundlage2.Size = New System.Drawing.Size(648, 20) Me.txtGrundlage2.TabIndex = 1 Me.txtGrundlage2.Text = "" ' 'txtGrundlage1 ' Me.txtGrundlage1.Location = New System.Drawing.Point(120, 24) Me.txtGrundlage1.Name = "txtGrundlage1" Me.txtGrundlage1.Size = New System.Drawing.Size(648, 20) Me.txtGrundlage1.TabIndex = 0 Me.txtGrundlage1.Text = "" ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(8, 16) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(120, 32) Me.Label1.TabIndex = 5 Me.Label1.Text = "Dokumenttyp BL-Quittung" ' 'cbDokumenttyp ' Me.cbDokumenttyp.Location = New System.Drawing.Point(128, 16) Me.cbDokumenttyp.Name = "cbDokumenttyp" Me.cbDokumenttyp.Size = New System.Drawing.Size(368, 21) Me.cbDokumenttyp.TabIndex = 4 Me.cbDokumenttyp.Text = "ComboBox1" ' 'TabPage2 ' Me.TabPage2.Controls.AddRange(New System.Windows.Forms.Control() {Me.GroupBox3, Me.GroupBox2}) Me.TabPage2.Location = New System.Drawing.Point(4, 22) Me.TabPage2.Name = "TabPage2" Me.TabPage2.Size = New System.Drawing.Size(792, 442) Me.TabPage2.TabIndex = 1 Me.TabPage2.Text = "KUBE-Funktionen" ' 'GroupBox3 ' Me.GroupBox3.Controls.AddRange(New System.Windows.Forms.Control() {Me.FnktList}) Me.GroupBox3.Location = New System.Drawing.Point(384, 16) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(400, 416) Me.GroupBox3.TabIndex = 1 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "Funktionen 'KUBE'" ' 'FnktList ' Me.FnktList.AllowFilter = True Me.FnktList.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.AllRows Me.FnktList.AllowSort = True Me.FnktList.AlternatingRows = True Me.FnktList.CaptionHeight = 17 Me.FnktList.CellTips = C1.Win.C1TrueDBGrid.CellTipEnum.Anchored Me.FnktList.CollapseColor = System.Drawing.Color.Black Me.FnktList.ContextMenu = Me.ContextMenu2 Me.FnktList.DataChanged = False Me.FnktList.DeadAreaBackColor = System.Drawing.Color.Gray Me.FnktList.Dock = System.Windows.Forms.DockStyle.Fill Me.FnktList.ExpandColor = System.Drawing.Color.Black Me.FnktList.FilterBar = True Me.FnktList.GroupByCaption = "Drag a column header here to group by that column" Me.FnktList.Images.Add(CType(resources.GetObject("resource.Images"), System.Drawing.Bitmap)) Me.FnktList.Location = New System.Drawing.Point(3, 16) Me.FnktList.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.SolidCellBorder Me.FnktList.Name = "FnktList" Me.FnktList.PreviewInfo.Location = New System.Drawing.Point(0, 0) Me.FnktList.PreviewInfo.Size = New System.Drawing.Size(0, 0) Me.FnktList.PreviewInfo.ZoomFactor = 75 Me.FnktList.PrintInfo.ShowOptionsDialog = False Me.FnktList.RecordSelectorWidth = 16 GridLines1.Color = System.Drawing.Color.DarkGray GridLines1.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Single Me.FnktList.RowDivider = GridLines1 Me.FnktList.RowHeight = 15 Me.FnktList.RowSubDividerColor = System.Drawing.Color.DarkGray Me.FnktList.ScrollTips = False Me.FnktList.Size = New System.Drawing.Size(394, 397) Me.FnktList.TabAction = C1.Win.C1TrueDBGrid.TabActionEnum.ColumnNavigation Me.FnktList.TabIndex = 9 Me.FnktList.Text = "C1TrueDBGrid1" Me.FnktList.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{Wrap:True;BackColor:255, 255, " & _ "192;}Footer{}Caption{AlignHorz:Center;}Normal{}HighlightRow{ForeColor:HighlightT" & _ "ext;BackColor:Highlight;}Style9{}OddRow{BackColor:224, 224, 224;}RecordSelector{" & _ "AlignImage:Center;}Heading{Wrap:True;AlignVert:Center;Border:Raised,,1, 1, 1, 1;" & _ "ForeColor:ControlText;BackColor:Control;}Style8{}Style10{AlignHorz:Near;}Style11" & _ "{}Style12{}Style13{}Style1{}0, 0, 390, 3930<" & _ "Style parent=""Normal"" me=""Style1"" />