jj: add confirmation when removing final index, set (readonly) vector prop when selecting index

This commit is contained in:
Jonathan Jenne
2018-07-12 11:04:52 +02:00
parent 23795dd3da
commit 80099c5a01
5 changed files with 115 additions and 131 deletions

View File

@@ -166,7 +166,6 @@ Partial Class frmAdministration
Me.colCHANGED_WHO = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colCHANGED_WHEN = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colGUID = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colCONNECTION_ID = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colSQL_COMMAND = New DevExpress.XtraGrid.Columns.GridColumn()
Me.PropertyGrid1 = New System.Windows.Forms.PropertyGrid()
Me.BindingNavigator1 = New System.Windows.Forms.BindingNavigator(Me.components)
@@ -185,7 +184,6 @@ Partial Class frmAdministration
Me.tsBtnSave = New System.Windows.Forms.ToolStripButton()
Me.ToolStripButton5 = New System.Windows.Forms.ToolStripButton()
Me.Label13 = New System.Windows.Forms.Label()
Me.TBDD_CONNECTIONBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.TabPage12 = New System.Windows.Forms.TabPage()
@@ -247,6 +245,7 @@ Partial Class frmAdministration
Me.BindingNavigatorMoveNextItem3 = New System.Windows.Forms.ToolStripButton()
Me.BindingNavigatorMoveLastItem3 = New System.Windows.Forms.ToolStripButton()
Me.BindingNavigatorSeparator11 = New System.Windows.Forms.ToolStripSeparator()
Me.TBDD_CONNECTIONBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.TBPM_PROFILE_CONTROLSBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.StatusStrip1 = New System.Windows.Forms.StatusStrip()
Me.tstrpinfo = New System.Windows.Forms.ToolStripStatusLabel()
@@ -336,7 +335,6 @@ Partial Class frmAdministration
CType(Me.viewFinalIndex, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.BindingNavigator1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.BindingNavigator1.SuspendLayout()
CType(Me.TBDD_CONNECTIONBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPage12.SuspendLayout()
Me.TabPage2.SuspendLayout()
CType(Me.SplitContainerProfilzuordnung, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -358,6 +356,7 @@ Partial Class frmAdministration
CType(Me.TBPM_ERROR_LOGBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TBPM_ERROR_LOGBindingNavigator, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TBPM_ERROR_LOGBindingNavigator.SuspendLayout()
CType(Me.TBDD_CONNECTIONBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TBPM_PROFILE_CONTROLSBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
Me.StatusStrip1.SuspendLayout()
Me.pnlMain.SuspendLayout()
@@ -1279,7 +1278,7 @@ Partial Class frmAdministration
'
'viewFinalIndex
'
Me.viewFinalIndex.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colINDEXNAME, Me.colVALUE, Me.colADDED_WHO, Me.colADDED_WHEN, Me.colCHANGED_WHO, Me.colCHANGED_WHEN, Me.colGUID, Me.colCONNECTION_ID, Me.colSQL_COMMAND})
Me.viewFinalIndex.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colGUID, Me.colINDEXNAME, Me.colVALUE, Me.colSQL_COMMAND, Me.colADDED_WHO, Me.colADDED_WHEN, Me.colCHANGED_WHO, Me.colCHANGED_WHEN})
Me.viewFinalIndex.GridControl = Me.gridFinalIndex
Me.viewFinalIndex.Name = "viewFinalIndex"
Me.viewFinalIndex.OptionsBehavior.Editable = False
@@ -1288,15 +1287,15 @@ Partial Class frmAdministration
'
'colINDEXNAME
'
resources.ApplyResources(Me.colINDEXNAME, "colINDEXNAME")
Me.colINDEXNAME.FieldName = "INDEXNAME"
Me.colINDEXNAME.Name = "colINDEXNAME"
resources.ApplyResources(Me.colINDEXNAME, "colINDEXNAME")
'
'colVALUE
'
resources.ApplyResources(Me.colVALUE, "colVALUE")
Me.colVALUE.FieldName = "VALUE"
Me.colVALUE.Name = "colVALUE"
resources.ApplyResources(Me.colVALUE, "colVALUE")
'
'colADDED_WHO
'
@@ -1324,21 +1323,15 @@ Partial Class frmAdministration
'
'colGUID
'
resources.ApplyResources(Me.colGUID, "colGUID")
Me.colGUID.FieldName = "GUID"
Me.colGUID.Name = "colGUID"
resources.ApplyResources(Me.colGUID, "colGUID")
'
'colCONNECTION_ID
'
Me.colCONNECTION_ID.FieldName = "CONNECTION_ID"
Me.colCONNECTION_ID.Name = "colCONNECTION_ID"
resources.ApplyResources(Me.colCONNECTION_ID, "colCONNECTION_ID")
'
'colSQL_COMMAND
'
resources.ApplyResources(Me.colSQL_COMMAND, "colSQL_COMMAND")
Me.colSQL_COMMAND.FieldName = "SQL_COMMAND"
Me.colSQL_COMMAND.Name = "colSQL_COMMAND"
resources.ApplyResources(Me.colSQL_COMMAND, "colSQL_COMMAND")
'
'PropertyGrid1
'
@@ -1444,11 +1437,6 @@ Partial Class frmAdministration
resources.ApplyResources(Me.Label13, "Label13")
Me.Label13.Name = "Label13"
'
'TBDD_CONNECTIONBindingSource
'
Me.TBDD_CONNECTIONBindingSource.DataMember = "TBDD_CONNECTION"
Me.TBDD_CONNECTIONBindingSource.DataSource = Me.DD_DMSLiteDataSet
'
'Label5
'
resources.ApplyResources(Me.Label5, "Label5")
@@ -1901,6 +1889,11 @@ Partial Class frmAdministration
Me.BindingNavigatorSeparator11.Name = "BindingNavigatorSeparator11"
resources.ApplyResources(Me.BindingNavigatorSeparator11, "BindingNavigatorSeparator11")
'
'TBDD_CONNECTIONBindingSource
'
Me.TBDD_CONNECTIONBindingSource.DataMember = "TBDD_CONNECTION"
Me.TBDD_CONNECTIONBindingSource.DataSource = Me.DD_DMSLiteDataSet
'
'TBPM_PROFILE_CONTROLSBindingSource
'
Me.TBPM_PROFILE_CONTROLSBindingSource.DataMember = "TBPM_PROFILE_CONTROLS"
@@ -2036,7 +2029,6 @@ Partial Class frmAdministration
CType(Me.BindingNavigator1, System.ComponentModel.ISupportInitialize).EndInit()
Me.BindingNavigator1.ResumeLayout(False)
Me.BindingNavigator1.PerformLayout()
CType(Me.TBDD_CONNECTIONBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
Me.TabPage12.ResumeLayout(False)
Me.TabPage12.PerformLayout()
Me.TabPage2.ResumeLayout(False)
@@ -2064,6 +2056,7 @@ Partial Class frmAdministration
CType(Me.TBPM_ERROR_LOGBindingNavigator, System.ComponentModel.ISupportInitialize).EndInit()
Me.TBPM_ERROR_LOGBindingNavigator.ResumeLayout(False)
Me.TBPM_ERROR_LOGBindingNavigator.PerformLayout()
CType(Me.TBDD_CONNECTIONBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.TBPM_PROFILE_CONTROLSBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
Me.StatusStrip1.ResumeLayout(False)
Me.StatusStrip1.PerformLayout()
@@ -2283,7 +2276,6 @@ Partial Class frmAdministration
Friend WithEvents colCHANGED_WHO As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colCHANGED_WHEN As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colGUID As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colCONNECTION_ID As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colSQL_COMMAND As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents ToolStripButton5 As ToolStripButton
Friend WithEvents tsBtnCancel As ToolStripButton