fix sql not being loaded by cleverly hiding the corresponding textboxes

This commit is contained in:
Jonathan Jenne
2020-07-28 13:29:33 +02:00
parent 0d0447d19a
commit d9fab01ce7
4 changed files with 1899 additions and 2881 deletions

View File

@@ -182,9 +182,7 @@ Partial Class frmAdministration
Me.Panel1 = New System.Windows.Forms.Panel()
Me.Button3 = New System.Windows.Forms.Button()
Me.lbManIndexDefaultValueParameter = New System.Windows.Forms.ListBox()
Me.txtManIndexConnectionId = New System.Windows.Forms.TextBox()
Me.TBDD_INDEX_MANBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.txtManIndexSQL = New System.Windows.Forms.TextBox()
Me.ACTIVECheckBox = New System.Windows.Forms.CheckBox()
Me.GUIDTextBox1 = New System.Windows.Forms.TextBox()
Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox = New System.Windows.Forms.CheckBox()
@@ -231,9 +229,9 @@ Partial Class frmAdministration
Me.COMMENTTextBox2 = New System.Windows.Forms.TextBox()
Me.GUIDTextBox4 = New System.Windows.Forms.TextBox()
Me.XtraTabPageAutoIndex = New DevExpress.XtraTab.XtraTabPage()
Me.TBDD_INDEX_AUTOMBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.Label6 = New System.Windows.Forms.Label()
Me.ListBoxControl4 = New DevExpress.XtraEditors.ListBoxControl()
Me.TBDD_INDEX_AUTOMBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.btnAddWindowsVariable = New System.Windows.Forms.Button()
Me.lblWindowParameter = New System.Windows.Forms.Label()
Me.lbFileparameter = New System.Windows.Forms.ListBox()
@@ -304,8 +302,10 @@ Partial Class frmAdministration
Me.TBGI_REGEX_DOCTYPETableAdapter = New Global_Indexer.MyDatasetTableAdapters.TBGI_REGEX_DOCTYPETableAdapter()
Me.RibbonPage2 = New DevExpress.XtraBars.Ribbon.RibbonPage()
Me.RibbonPage8 = New DevExpress.XtraBars.Ribbon.RibbonPage()
Me.txtAutomIndexSQLResult = New System.Windows.Forms.TextBox()
Me.txtManIndexConnectionId = New System.Windows.Forms.TextBox()
Me.txtManIndexSQL = New System.Windows.Forms.TextBox()
Me.txtAutomIndexConnectionId = New System.Windows.Forms.TextBox()
Me.txtAutomIndexSQLResult = New System.Windows.Forms.TextBox()
GUIDLabel = New System.Windows.Forms.Label()
GUIDLabel1 = New System.Windows.Forms.Label()
NAMELabel = New System.Windows.Forms.Label()
@@ -385,8 +385,8 @@ Partial Class frmAdministration
CType(Me.TBDD_INDEX_MAN_POSTPROCESSINGBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
Me.XtraTabPageAutoIndex.SuspendLayout()
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).BeginInit()
Me.XtraTabPageFolderPath.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.GroupBox5.SuspendLayout()
@@ -1298,10 +1298,10 @@ Partial Class frmAdministration
'
'Panel1
'
Me.Panel1.Controls.Add(Me.Button3)
Me.Panel1.Controls.Add(Me.lbManIndexDefaultValueParameter)
Me.Panel1.Controls.Add(Me.txtManIndexConnectionId)
Me.Panel1.Controls.Add(Me.txtManIndexSQL)
Me.Panel1.Controls.Add(Me.Button3)
Me.Panel1.Controls.Add(Me.lbManIndexDefaultValueParameter)
Me.Panel1.Controls.Add(Me.ACTIVECheckBox)
Me.Panel1.Controls.Add(Me.GUIDTextBox1)
Me.Panel1.Controls.Add(Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox)
@@ -1349,23 +1349,11 @@ Partial Class frmAdministration
Me.lbManIndexDefaultValueParameter.Items.AddRange(New Object() {resources.GetString("lbManIndexDefaultValueParameter.Items"), resources.GetString("lbManIndexDefaultValueParameter.Items1"), resources.GetString("lbManIndexDefaultValueParameter.Items2"), resources.GetString("lbManIndexDefaultValueParameter.Items3"), resources.GetString("lbManIndexDefaultValueParameter.Items4"), resources.GetString("lbManIndexDefaultValueParameter.Items5"), resources.GetString("lbManIndexDefaultValueParameter.Items6"), resources.GetString("lbManIndexDefaultValueParameter.Items7"), resources.GetString("lbManIndexDefaultValueParameter.Items8")})
Me.lbManIndexDefaultValueParameter.Name = "lbManIndexDefaultValueParameter"
'
'txtManIndexConnectionId
'
Me.txtManIndexConnectionId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "CONNECTION_ID", True))
resources.ApplyResources(Me.txtManIndexConnectionId, "txtManIndexConnectionId")
Me.txtManIndexConnectionId.Name = "txtManIndexConnectionId"
'
'TBDD_INDEX_MANBindingSource
'
Me.TBDD_INDEX_MANBindingSource.DataMember = "TBDD_INDEX_MAN"
Me.TBDD_INDEX_MANBindingSource.DataSource = Me.MyDataset
'
'txtManIndexSQL
'
Me.txtManIndexSQL.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "SQL_RESULT", True))
resources.ApplyResources(Me.txtManIndexSQL, "txtManIndexSQL")
Me.txtManIndexSQL.Name = "txtManIndexSQL"
'
'ACTIVECheckBox
'
Me.ACTIVECheckBox.DataBindings.Add(New System.Windows.Forms.Binding("CheckState", Me.TBDD_INDEX_MANBindingSource, "ACTIVE", True))
@@ -1831,6 +1819,11 @@ Partial Class frmAdministration
Me.XtraTabPageAutoIndex.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
Me.XtraTabPageAutoIndex.Name = "XtraTabPageAutoIndex"
'
'TBDD_INDEX_AUTOMBindingSource
'
Me.TBDD_INDEX_AUTOMBindingSource.DataMember = "TBDD_INDEX_AUTOM"
Me.TBDD_INDEX_AUTOMBindingSource.DataSource = Me.MyDataset
'
'Label6
'
resources.ApplyResources(Me.Label6, "Label6")
@@ -1845,11 +1838,6 @@ Partial Class frmAdministration
resources.ApplyResources(Me.ListBoxControl4, "ListBoxControl4")
Me.ListBoxControl4.Name = "ListBoxControl4"
'
'TBDD_INDEX_AUTOMBindingSource
'
Me.TBDD_INDEX_AUTOMBindingSource.DataMember = "TBDD_INDEX_AUTOM"
Me.TBDD_INDEX_AUTOMBindingSource.DataSource = Me.MyDataset
'
'btnAddWindowsVariable
'
Me.btnAddWindowsVariable.Image = Global.Global_Indexer.My.Resources.Resources.arrow_previous_16xLG
@@ -2419,17 +2407,45 @@ Partial Class frmAdministration
Me.RibbonPage8.Name = "RibbonPage8"
resources.ApplyResources(Me.RibbonPage8, "RibbonPage8")
'
'txtAutomIndexSQLResult
'txtManIndexConnectionId
'
Me.txtAutomIndexSQLResult.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "SQL_RESULT", True))
resources.ApplyResources(Me.txtAutomIndexSQLResult, "txtAutomIndexSQLResult")
Me.txtAutomIndexSQLResult.Name = "txtAutomIndexSQLResult"
Me.txtManIndexConnectionId.BackColor = System.Drawing.SystemColors.Control
Me.txtManIndexConnectionId.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.txtManIndexConnectionId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "CONNECTION_ID", True))
resources.ApplyResources(Me.txtManIndexConnectionId, "txtManIndexConnectionId")
Me.txtManIndexConnectionId.ForeColor = System.Drawing.SystemColors.Control
Me.txtManIndexConnectionId.Name = "txtManIndexConnectionId"
Me.txtManIndexConnectionId.TabStop = False
'
'txtManIndexSQL
'
Me.txtManIndexSQL.BackColor = System.Drawing.SystemColors.Control
Me.txtManIndexSQL.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.txtManIndexSQL.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "SQL_RESULT", True))
resources.ApplyResources(Me.txtManIndexSQL, "txtManIndexSQL")
Me.txtManIndexSQL.ForeColor = System.Drawing.SystemColors.Control
Me.txtManIndexSQL.Name = "txtManIndexSQL"
Me.txtManIndexSQL.TabStop = False
'
'txtAutomIndexConnectionId
'
Me.txtAutomIndexConnectionId.BackColor = System.Drawing.SystemColors.Control
Me.txtAutomIndexConnectionId.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.txtAutomIndexConnectionId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "CONNECTION_ID", True))
resources.ApplyResources(Me.txtAutomIndexConnectionId, "txtAutomIndexConnectionId")
Me.txtAutomIndexConnectionId.ForeColor = System.Drawing.SystemColors.Control
Me.txtAutomIndexConnectionId.Name = "txtAutomIndexConnectionId"
Me.txtAutomIndexConnectionId.TabStop = False
'
'txtAutomIndexSQLResult
'
Me.txtAutomIndexSQLResult.BackColor = System.Drawing.SystemColors.Control
Me.txtAutomIndexSQLResult.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.txtAutomIndexSQLResult.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "SQL_RESULT", True))
resources.ApplyResources(Me.txtAutomIndexSQLResult, "txtAutomIndexSQLResult")
Me.txtAutomIndexSQLResult.ForeColor = System.Drawing.SystemColors.Control
Me.txtAutomIndexSQLResult.Name = "txtAutomIndexSQLResult"
Me.txtAutomIndexSQLResult.TabStop = False
'
'frmAdministration
'
@@ -2481,8 +2497,8 @@ Partial Class frmAdministration
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
Me.XtraTabPageAutoIndex.ResumeLayout(False)
Me.XtraTabPageAutoIndex.PerformLayout()
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).EndInit()
Me.XtraTabPageFolderPath.ResumeLayout(False)
Me.GroupBox4.ResumeLayout(False)
Me.GroupBox4.PerformLayout()
@@ -2738,10 +2754,10 @@ Partial Class frmAdministration
Friend WithEvents BarButtonItem33 As DevExpress.XtraBars.BarButtonItem
Friend WithEvents Panel1 As Panel
Friend WithEvents SplitContainerControl4 As DevExpress.XtraEditors.SplitContainerControl
Friend WithEvents txtManIndexSQL As TextBox
Friend WithEvents txtManIndexConnectionId As TextBox
Friend WithEvents Button3 As Button
Friend WithEvents lbManIndexDefaultValueParameter As ListBox
Friend WithEvents txtManIndexConnectionId As TextBox
Friend WithEvents txtManIndexSQL As TextBox
Friend WithEvents txtAutomIndexConnectionId As TextBox
Friend WithEvents txtAutomIndexSQLResult As TextBox
End Class