MS12.02.2016

This commit is contained in:
SchreiberM
2016-02-12 09:45:43 +01:00
parent 2a36cc2a79
commit e1f073d69f
64 changed files with 25315 additions and 5580 deletions

View File

@@ -24,8 +24,9 @@ Partial Class SQLConfigAutoIndex
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim SQL_ERGEBNISLabel As System.Windows.Forms.Label
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(SQLConfigAutoIndex))
Dim Label3 As System.Windows.Forms.Label
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.btnVorschlag = New System.Windows.Forms.Button()
Me.SQL_ERGEBNISTextBox = New System.Windows.Forms.TextBox()
Me.cmbConnection = New System.Windows.Forms.ComboBox()
@@ -68,55 +69,35 @@ Partial Class SQLConfigAutoIndex
'
'SQL_ERGEBNISLabel
'
SQL_ERGEBNISLabel.AutoSize = True
SQL_ERGEBNISLabel.Location = New System.Drawing.Point(12, 161)
resources.ApplyResources(SQL_ERGEBNISLabel, "SQL_ERGEBNISLabel")
SQL_ERGEBNISLabel.Name = "SQL_ERGEBNISLabel"
SQL_ERGEBNISLabel.Size = New System.Drawing.Size(157, 13)
SQL_ERGEBNISLabel.TabIndex = 50
SQL_ERGEBNISLabel.Text = "SQL für automatischen Index:"
'
'Label3
'
Label3.AutoSize = True
Label3.Location = New System.Drawing.Point(9, 8)
resources.ApplyResources(Label3, "Label3")
Label3.Name = "Label3"
Label3.Size = New System.Drawing.Size(93, 13)
Label3.TabIndex = 87
Label3.Text = "SQL-Connection:"
'
'btnVorschlag
'
Me.btnVorschlag.Image = Global.Global_Indexer.My.Resources.Resources.database_go
Me.btnVorschlag.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.btnVorschlag.Location = New System.Drawing.Point(646, 177)
resources.ApplyResources(Me.btnVorschlag, "btnVorschlag")
Me.btnVorschlag.Name = "btnVorschlag"
Me.btnVorschlag.Size = New System.Drawing.Size(177, 37)
Me.btnVorschlag.TabIndex = 48
Me.btnVorschlag.Text = "Teste SQL (BETA)"
Me.btnVorschlag.TextAlign = System.Drawing.ContentAlignment.MiddleRight
Me.btnVorschlag.UseVisualStyleBackColor = True
'
'SQL_ERGEBNISTextBox
'
Me.SQL_ERGEBNISTextBox.AcceptsReturn = True
Me.SQL_ERGEBNISTextBox.AcceptsTab = True
Me.SQL_ERGEBNISTextBox.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.SQL_ERGEBNISTextBox.Location = New System.Drawing.Point(15, 177)
Me.SQL_ERGEBNISTextBox.Multiline = True
resources.ApplyResources(Me.SQL_ERGEBNISTextBox, "SQL_ERGEBNISTextBox")
Me.SQL_ERGEBNISTextBox.Name = "SQL_ERGEBNISTextBox"
Me.SQL_ERGEBNISTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both
Me.SQL_ERGEBNISTextBox.Size = New System.Drawing.Size(616, 136)
Me.SQL_ERGEBNISTextBox.TabIndex = 47
'
'cmbConnection
'
Me.cmbConnection.DataSource = Me.TBDD_CONNECTIONBindingSource
Me.cmbConnection.DisplayMember = "BEZEICHNUNG"
Me.cmbConnection.FormattingEnabled = True
Me.cmbConnection.Location = New System.Drawing.Point(12, 24)
resources.ApplyResources(Me.cmbConnection, "cmbConnection")
Me.cmbConnection.Name = "cmbConnection"
Me.cmbConnection.Size = New System.Drawing.Size(268, 21)
Me.cmbConnection.TabIndex = 53
Me.cmbConnection.ValueMember = "GUID"
'
'TBDD_CONNECTIONBindingSource
@@ -157,58 +138,35 @@ Partial Class SQLConfigAutoIndex
'Button1
'
Me.Button1.Image = Global.Global_Indexer.My.Resources.Resources.database_connect
Me.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button1.Location = New System.Drawing.Point(286, 17)
resources.ApplyResources(Me.Button1, "Button1")
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(189, 32)
Me.Button1.TabIndex = 54
Me.Button1.Text = "Verwaltung SQL-Connections"
Me.Button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
Me.Button1.UseVisualStyleBackColor = True
'
'btnsave
'
Me.btnsave.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
resources.ApplyResources(Me.btnsave, "btnsave")
Me.btnsave.Image = Global.Global_Indexer.My.Resources.Resources.save_16xLG
Me.btnsave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.btnsave.Location = New System.Drawing.Point(733, 282)
Me.btnsave.Name = "btnsave"
Me.btnsave.Size = New System.Drawing.Size(90, 31)
Me.btnsave.TabIndex = 55
Me.btnsave.Text = "Speichern"
Me.btnsave.TextAlign = System.Drawing.ContentAlignment.MiddleRight
Me.btnsave.UseVisualStyleBackColor = True
'
'lblSave
'
Me.lblSave.AutoSize = True
resources.ApplyResources(Me.lblSave, "lblSave")
Me.lblSave.BackColor = System.Drawing.Color.Yellow
Me.lblSave.Font = New System.Drawing.Font("Segoe UI Semibold", 8.25!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Italic), System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblSave.Location = New System.Drawing.Point(643, 217)
Me.lblSave.Name = "lblSave"
Me.lblSave.Size = New System.Drawing.Size(180, 13)
Me.lblSave.TabIndex = 79
Me.lblSave.Text = "SQL-Daten erfolgreich gespeichert!"
Me.lblSave.Visible = False
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(12, 316)
resources.ApplyResources(Me.Label1, "Label1")
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(151, 13)
Me.Label1.TabIndex = 80
Me.Label1.Text = "Platzhalter manuelle Indexe:"
'
'cmbManualIDX
'
Me.cmbManualIDX.DataSource = Me.TBDD_INDEX_MANBindingSource
Me.cmbManualIDX.DisplayMember = "NAME"
Me.cmbManualIDX.FormattingEnabled = True
Me.cmbManualIDX.Location = New System.Drawing.Point(15, 332)
resources.ApplyResources(Me.cmbManualIDX, "cmbManualIDX")
Me.cmbManualIDX.Name = "cmbManualIDX"
Me.cmbManualIDX.Size = New System.Drawing.Size(171, 21)
Me.cmbManualIDX.TabIndex = 81
Me.cmbManualIDX.ValueMember = "GUID"
'
'TBDD_INDEX_MANBindingSource
@@ -223,45 +181,35 @@ Partial Class SQLConfigAutoIndex
'btnaddManualIdx
'
Me.btnaddManualIdx.Image = Global.Global_Indexer.My.Resources.Resources.action_add_16xMD
Me.btnaddManualIdx.Location = New System.Drawing.Point(192, 332)
resources.ApplyResources(Me.btnaddManualIdx, "btnaddManualIdx")
Me.btnaddManualIdx.Name = "btnaddManualIdx"
Me.btnaddManualIdx.Size = New System.Drawing.Size(27, 21)
Me.btnaddManualIdx.TabIndex = 82
Me.btnaddManualIdx.UseVisualStyleBackColor = True
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 9.0!)
Me.Label2.Location = New System.Drawing.Point(316, 316)
resources.ApplyResources(Me.Label2, "Label2")
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(132, 15)
Me.Label2.TabIndex = 84
Me.Label2.Text = "Platzhalter Ersetzungen:"
'
'dgvPlaceholders
'
Me.dgvPlaceholders.AllowUserToAddRows = False
Me.dgvPlaceholders.AllowUserToDeleteRows = False
DataGridViewCellStyle2.BackColor = System.Drawing.Color.Cyan
Me.dgvPlaceholders.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
DataGridViewCellStyle1.BackColor = System.Drawing.Color.Cyan
Me.dgvPlaceholders.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
Me.dgvPlaceholders.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.dgvPlaceholders.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.colPlaceholder, Me.colReplace})
Me.dgvPlaceholders.Enabled = False
Me.dgvPlaceholders.Location = New System.Drawing.Point(319, 334)
resources.ApplyResources(Me.dgvPlaceholders, "dgvPlaceholders")
Me.dgvPlaceholders.Name = "dgvPlaceholders"
Me.dgvPlaceholders.Size = New System.Drawing.Size(312, 132)
Me.dgvPlaceholders.TabIndex = 83
'
'colPlaceholder
'
Me.colPlaceholder.HeaderText = "Platzhalter"
resources.ApplyResources(Me.colPlaceholder, "colPlaceholder")
Me.colPlaceholder.Name = "colPlaceholder"
Me.colPlaceholder.ReadOnly = True
'
'colReplace
'
Me.colReplace.HeaderText = "Ersetzung"
resources.ApplyResources(Me.colReplace, "colReplace")
Me.colReplace.Name = "colReplace"
'
'GroupBox4
@@ -277,132 +225,82 @@ Partial Class SQLConfigAutoIndex
Me.GroupBox4.Controls.Add(Me.cmbFromTables)
Me.GroupBox4.Controls.Add(Me.cmbWhereColumns)
Me.GroupBox4.Controls.Add(Me.Label8)
Me.GroupBox4.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.GroupBox4.Location = New System.Drawing.Point(15, 51)
resources.ApplyResources(Me.GroupBox4, "GroupBox4")
Me.GroupBox4.Name = "GroupBox4"
Me.GroupBox4.Size = New System.Drawing.Size(808, 107)
Me.GroupBox4.TabIndex = 86
Me.GroupBox4.TabStop = False
Me.GroupBox4.Text = "SQL-Befehl generieren (BETA)"
'
'radioView
'
Me.radioView.AutoSize = True
Me.radioView.Location = New System.Drawing.Point(241, 19)
resources.ApplyResources(Me.radioView, "radioView")
Me.radioView.Name = "radioView"
Me.radioView.Size = New System.Drawing.Size(55, 17)
Me.radioView.TabIndex = 25
Me.radioView.Text = "Views"
Me.radioView.UseVisualStyleBackColor = True
'
'radioTable
'
Me.radioTable.AutoSize = True
resources.ApplyResources(Me.radioTable, "radioTable")
Me.radioTable.Checked = True
Me.radioTable.Location = New System.Drawing.Point(154, 19)
Me.radioTable.Name = "radioTable"
Me.radioTable.Size = New System.Drawing.Size(68, 17)
Me.radioTable.TabIndex = 24
Me.radioTable.TabStop = True
Me.radioTable.Text = "Tabellen"
Me.radioTable.UseVisualStyleBackColor = True
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(6, 21)
resources.ApplyResources(Me.Label4, "Label4")
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(126, 13)
Me.Label4.TabIndex = 86
Me.Label4.Text = "Tabellenart auswählen:"
'
'txtCondition
'
Me.txtCondition.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtCondition.Location = New System.Drawing.Point(363, 75)
resources.ApplyResources(Me.txtCondition, "txtCondition")
Me.txtCondition.Name = "txtCondition"
Me.txtCondition.Size = New System.Drawing.Size(234, 20)
Me.txtCondition.TabIndex = 29
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label6.Location = New System.Drawing.Point(6, 50)
resources.ApplyResources(Me.Label6, "Label6")
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(43, 13)
Me.Label6.TabIndex = 19
Me.Label6.Text = "SELECT"
'
'cmbSelectColumns
'
Me.cmbSelectColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbSelectColumns.Enabled = False
Me.cmbSelectColumns.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
resources.ApplyResources(Me.cmbSelectColumns, "cmbSelectColumns")
Me.cmbSelectColumns.FormattingEnabled = True
Me.cmbSelectColumns.Location = New System.Drawing.Point(63, 47)
Me.cmbSelectColumns.Name = "cmbSelectColumns"
Me.cmbSelectColumns.Size = New System.Drawing.Size(233, 21)
Me.cmbSelectColumns.TabIndex = 20
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label7.Location = New System.Drawing.Point(302, 50)
resources.ApplyResources(Me.Label7, "Label7")
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(31, 13)
Me.Label7.TabIndex = 21
Me.Label7.Text = "FROM"
'
'cmbWhereOperator
'
Me.cmbWhereOperator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbWhereOperator.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
resources.ApplyResources(Me.cmbWhereOperator, "cmbWhereOperator")
Me.cmbWhereOperator.FormattingEnabled = True
Me.cmbWhereOperator.Items.AddRange(New Object() {"=", "<>", "<", ">"})
Me.cmbWhereOperator.Location = New System.Drawing.Point(304, 75)
Me.cmbWhereOperator.Items.AddRange(New Object() {resources.GetString("cmbWhereOperator.Items"), resources.GetString("cmbWhereOperator.Items1"), resources.GetString("cmbWhereOperator.Items2"), resources.GetString("cmbWhereOperator.Items3")})
Me.cmbWhereOperator.Name = "cmbWhereOperator"
Me.cmbWhereOperator.Size = New System.Drawing.Size(47, 21)
Me.cmbWhereOperator.TabIndex = 28
'
'cmbFromTables
'
Me.cmbFromTables.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbFromTables.Enabled = False
Me.cmbFromTables.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
resources.ApplyResources(Me.cmbFromTables, "cmbFromTables")
Me.cmbFromTables.FormattingEnabled = True
Me.cmbFromTables.Location = New System.Drawing.Point(363, 47)
Me.cmbFromTables.Name = "cmbFromTables"
Me.cmbFromTables.Size = New System.Drawing.Size(234, 21)
Me.cmbFromTables.TabIndex = 22
'
'cmbWhereColumns
'
Me.cmbWhereColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbWhereColumns.Enabled = False
Me.cmbWhereColumns.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
resources.ApplyResources(Me.cmbWhereColumns, "cmbWhereColumns")
Me.cmbWhereColumns.FormattingEnabled = True
Me.cmbWhereColumns.Location = New System.Drawing.Point(63, 75)
Me.cmbWhereColumns.Name = "cmbWhereColumns"
Me.cmbWhereColumns.Size = New System.Drawing.Size(233, 21)
Me.cmbWhereColumns.TabIndex = 27
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Consolas", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label8.Location = New System.Drawing.Point(6, 78)
resources.ApplyResources(Me.Label8, "Label8")
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(37, 13)
Me.Label8.TabIndex = 23
Me.Label8.Text = "WHERE"
'
'SQLConfigAutoIndex
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
resources.ApplyResources(Me, "$this")
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(858, 477)
Me.Controls.Add(Label3)
Me.Controls.Add(Me.GroupBox4)
Me.Controls.Add(Me.Label2)
@@ -417,12 +315,10 @@ Partial Class SQLConfigAutoIndex
Me.Controls.Add(Me.btnVorschlag)
Me.Controls.Add(SQL_ERGEBNISLabel)
Me.Controls.Add(Me.SQL_ERGEBNISTextBox)
Me.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "SQLConfigAutoIndex"
Me.Text = "SQL-Editor für automatischen Index"
CType(Me.TBDD_CONNECTIONBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.MyDataset, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.TBDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).EndInit()