Small config form improvements

This commit is contained in:
Jonathan Jenne
2022-04-26 14:18:08 +02:00
parent c33770dd9e
commit 371c8e27cc
4 changed files with 305 additions and 62 deletions

View File

@@ -37,15 +37,20 @@ Partial Class frmConfig
Me.colIS_READ_ONLY = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colIS_VISIBLE = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colORDER_KEY = New DevExpress.XtraGrid.Columns.GridColumn()
Me.RepositoryItemSpinEdit1 = New DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit()
Me.colIS_REQUIRED = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colIS_VIRTUAL = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colFUNCTION_ID = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colFUNCTION_PARAMETERS = New DevExpress.XtraGrid.Columns.GridColumn()
Me.RepositoryItemMemoExEdit1 = New DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit()
Me.colXML_TABLE_ID = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colADDED_WHO1 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colADDED_WHEN1 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colCHANGED_WHO1 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colCHANGED_WHEN1 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colTABLE_NAME = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colTEMPLATE_NAME = New DevExpress.XtraGrid.Columns.GridColumn()
Me.RepositoryItemMemoEdit1 = New DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit()
Me.tabPageConfig = New DevExpress.XtraTab.XtraTabPage()
Me.GridConfig = New DevExpress.XtraGrid.GridControl()
Me.TBMT_CONFIGBindingSource = New System.Windows.Forms.BindingSource(Me.components)
@@ -76,9 +81,9 @@ Partial Class frmConfig
Me.txtWebserviceImportBasePath = New DevExpress.XtraEditors.MemoEdit()
Me.Root = New DevExpress.XtraLayout.LayoutControlGroup()
Me.LayoutControlGroup1 = New DevExpress.XtraLayout.LayoutControlGroup()
Me.LayoutControlItem4 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem3 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem2 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem3 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem4 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlGroup2 = New DevExpress.XtraLayout.LayoutControlGroup()
Me.LayoutControlItem1 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlGroup3 = New DevExpress.XtraLayout.LayoutControlGroup()
@@ -96,6 +101,9 @@ Partial Class frmConfig
CType(Me.TBEDIXMLITEMSBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.DS_DD_ECM, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.GridViewSchema, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.RepositoryItemSpinEdit1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.RepositoryItemMemoExEdit1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.RepositoryItemMemoEdit1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.tabPageConfig.SuspendLayout()
CType(Me.GridConfig, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TBMT_CONFIGBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -111,9 +119,9 @@ Partial Class frmConfig
CType(Me.txtWebserviceImportBasePath.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Root, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlGroup1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlGroup2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlItem1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControlGroup3, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -146,6 +154,7 @@ Partial Class frmConfig
Me.GridSchema.Location = New System.Drawing.Point(0, 0)
Me.GridSchema.MainView = Me.GridViewSchema
Me.GridSchema.Name = "GridSchema"
Me.GridSchema.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemMemoEdit1, Me.RepositoryItemSpinEdit1, Me.RepositoryItemMemoExEdit1})
Me.GridSchema.Size = New System.Drawing.Size(1130, 582)
Me.GridSchema.TabIndex = 0
Me.GridSchema.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridViewSchema})
@@ -162,9 +171,11 @@ Partial Class frmConfig
'
'GridViewSchema
'
Me.GridViewSchema.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colGUID, Me.colXML_NAME, Me.colXML_TYPE_ID, Me.colIS_READ_ONLY, Me.colIS_VISIBLE, Me.colORDER_KEY, Me.colIS_REQUIRED, Me.colIS_VIRTUAL, Me.colFUNCTION_ID, Me.colFUNCTION_PARAMETERS, Me.colXML_TABLE_ID, Me.colADDED_WHO1, Me.colADDED_WHEN1, Me.colCHANGED_WHO1, Me.colCHANGED_WHEN1})
Me.GridViewSchema.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colGUID, Me.colXML_NAME, Me.colXML_TYPE_ID, Me.colIS_READ_ONLY, Me.colIS_VISIBLE, Me.colORDER_KEY, Me.colIS_REQUIRED, Me.colIS_VIRTUAL, Me.colFUNCTION_ID, Me.colFUNCTION_PARAMETERS, Me.colXML_TABLE_ID, Me.colADDED_WHO1, Me.colADDED_WHEN1, Me.colCHANGED_WHO1, Me.colCHANGED_WHEN1, Me.colTABLE_NAME, Me.colTEMPLATE_NAME})
Me.GridViewSchema.GridControl = Me.GridSchema
Me.GridViewSchema.GroupCount = 2
Me.GridViewSchema.Name = "GridViewSchema"
Me.GridViewSchema.SortInfo.AddRange(New DevExpress.XtraGrid.Columns.GridColumnSortInfo() {New DevExpress.XtraGrid.Columns.GridColumnSortInfo(Me.colTEMPLATE_NAME, DevExpress.Data.ColumnSortOrder.Ascending), New DevExpress.XtraGrid.Columns.GridColumnSortInfo(Me.colTABLE_NAME, DevExpress.Data.ColumnSortOrder.Ascending)})
'
'colGUID
'
@@ -180,7 +191,7 @@ Partial Class frmConfig
Me.colXML_NAME.Name = "colXML_NAME"
Me.colXML_NAME.Visible = True
Me.colXML_NAME.VisibleIndex = 0
Me.colXML_NAME.Width = 123
Me.colXML_NAME.Width = 144
'
'colXML_TYPE_ID
'
@@ -190,7 +201,7 @@ Partial Class frmConfig
Me.colXML_TYPE_ID.Name = "colXML_TYPE_ID"
Me.colXML_TYPE_ID.Visible = True
Me.colXML_TYPE_ID.VisibleIndex = 1
Me.colXML_TYPE_ID.Width = 30
Me.colXML_TYPE_ID.Width = 55
'
'colIS_READ_ONLY
'
@@ -200,7 +211,7 @@ Partial Class frmConfig
Me.colIS_READ_ONLY.Name = "colIS_READ_ONLY"
Me.colIS_READ_ONLY.Visible = True
Me.colIS_READ_ONLY.VisibleIndex = 2
Me.colIS_READ_ONLY.Width = 50
Me.colIS_READ_ONLY.Width = 80
'
'colIS_VISIBLE
'
@@ -210,16 +221,24 @@ Partial Class frmConfig
Me.colIS_VISIBLE.Name = "colIS_VISIBLE"
Me.colIS_VISIBLE.Visible = True
Me.colIS_VISIBLE.VisibleIndex = 3
Me.colIS_VISIBLE.Width = 80
'
'colORDER_KEY
'
Me.colORDER_KEY.Caption = "Sortierung"
Me.colORDER_KEY.ColumnEdit = Me.RepositoryItemSpinEdit1
Me.colORDER_KEY.FieldName = "ORDER_KEY"
Me.colORDER_KEY.MaxWidth = 80
Me.colORDER_KEY.Name = "colORDER_KEY"
Me.colORDER_KEY.Visible = True
Me.colORDER_KEY.VisibleIndex = 6
Me.colORDER_KEY.Width = 50
Me.colORDER_KEY.Width = 80
'
'RepositoryItemSpinEdit1
'
Me.RepositoryItemSpinEdit1.AutoHeight = False
Me.RepositoryItemSpinEdit1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)})
Me.RepositoryItemSpinEdit1.Name = "RepositoryItemSpinEdit1"
'
'colIS_REQUIRED
'
@@ -229,7 +248,7 @@ Partial Class frmConfig
Me.colIS_REQUIRED.Name = "colIS_REQUIRED"
Me.colIS_REQUIRED.Visible = True
Me.colIS_REQUIRED.VisibleIndex = 4
Me.colIS_REQUIRED.Width = 50
Me.colIS_REQUIRED.Width = 80
'
'colIS_VIRTUAL
'
@@ -239,6 +258,7 @@ Partial Class frmConfig
Me.colIS_VIRTUAL.Name = "colIS_VIRTUAL"
Me.colIS_VIRTUAL.Visible = True
Me.colIS_VIRTUAL.VisibleIndex = 5
Me.colIS_VIRTUAL.Width = 80
'
'colFUNCTION_ID
'
@@ -248,15 +268,23 @@ Partial Class frmConfig
Me.colFUNCTION_ID.Name = "colFUNCTION_ID"
Me.colFUNCTION_ID.Visible = True
Me.colFUNCTION_ID.VisibleIndex = 7
Me.colFUNCTION_ID.Width = 50
Me.colFUNCTION_ID.Width = 80
'
'colFUNCTION_PARAMETERS
'
Me.colFUNCTION_PARAMETERS.Caption = "Funktionsparameter"
Me.colFUNCTION_PARAMETERS.ColumnEdit = Me.RepositoryItemMemoExEdit1
Me.colFUNCTION_PARAMETERS.FieldName = "FUNCTION_PARAMETERS"
Me.colFUNCTION_PARAMETERS.Name = "colFUNCTION_PARAMETERS"
Me.colFUNCTION_PARAMETERS.Visible = True
Me.colFUNCTION_PARAMETERS.VisibleIndex = 8
Me.colFUNCTION_PARAMETERS.Width = 401
'
'RepositoryItemMemoExEdit1
'
Me.RepositoryItemMemoExEdit1.AutoHeight = False
Me.RepositoryItemMemoExEdit1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)})
Me.RepositoryItemMemoExEdit1.Name = "RepositoryItemMemoExEdit1"
'
'colXML_TABLE_ID
'
@@ -283,6 +311,27 @@ Partial Class frmConfig
Me.colCHANGED_WHEN1.FieldName = "CHANGED_WHEN"
Me.colCHANGED_WHEN1.Name = "colCHANGED_WHEN1"
'
'colTABLE_NAME
'
Me.colTABLE_NAME.Caption = "Tabelle"
Me.colTABLE_NAME.FieldName = "TABLE_NAME"
Me.colTABLE_NAME.Name = "colTABLE_NAME"
Me.colTABLE_NAME.Visible = True
Me.colTABLE_NAME.VisibleIndex = 9
'
'colTEMPLATE_NAME
'
Me.colTEMPLATE_NAME.Caption = "Vorlage"
Me.colTEMPLATE_NAME.FieldName = "TEMPLATE_NAME"
Me.colTEMPLATE_NAME.Name = "colTEMPLATE_NAME"
Me.colTEMPLATE_NAME.Visible = True
Me.colTEMPLATE_NAME.VisibleIndex = 9
'
'RepositoryItemMemoEdit1
'
Me.RepositoryItemMemoEdit1.LinesCount = 5
Me.RepositoryItemMemoEdit1.Name = "RepositoryItemMemoEdit1"
'
'tabPageConfig
'
Me.tabPageConfig.Controls.Add(Me.GridConfig)
@@ -532,14 +581,14 @@ Partial Class frmConfig
Me.LayoutControlGroup1.Size = New System.Drawing.Size(399, 117)
Me.LayoutControlGroup1.Text = "Webservice / EWL"
'
'LayoutControlItem4
'LayoutControlItem2
'
Me.LayoutControlItem4.Control = Me.txtWebservicePassword
Me.LayoutControlItem4.Location = New System.Drawing.Point(0, 48)
Me.LayoutControlItem4.Name = "LayoutControlItem4"
Me.LayoutControlItem4.Size = New System.Drawing.Size(375, 24)
Me.LayoutControlItem4.Text = "Webservice Passwort"
Me.LayoutControlItem4.TextSize = New System.Drawing.Size(116, 13)
Me.LayoutControlItem2.Control = Me.txtWebserviceBaseurl
Me.LayoutControlItem2.Location = New System.Drawing.Point(0, 0)
Me.LayoutControlItem2.Name = "LayoutControlItem2"
Me.LayoutControlItem2.Size = New System.Drawing.Size(375, 24)
Me.LayoutControlItem2.Text = "Server Adresse"
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(116, 13)
'
'LayoutControlItem3
'
@@ -550,14 +599,14 @@ Partial Class frmConfig
Me.LayoutControlItem3.Text = "Webservice Username"
Me.LayoutControlItem3.TextSize = New System.Drawing.Size(116, 13)
'
'LayoutControlItem2
'LayoutControlItem4
'
Me.LayoutControlItem2.Control = Me.txtWebserviceBaseurl
Me.LayoutControlItem2.Location = New System.Drawing.Point(0, 0)
Me.LayoutControlItem2.Name = "LayoutControlItem2"
Me.LayoutControlItem2.Size = New System.Drawing.Size(375, 24)
Me.LayoutControlItem2.Text = "Server Adresse"
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(116, 13)
Me.LayoutControlItem4.Control = Me.txtWebservicePassword
Me.LayoutControlItem4.Location = New System.Drawing.Point(0, 48)
Me.LayoutControlItem4.Name = "LayoutControlItem4"
Me.LayoutControlItem4.Size = New System.Drawing.Size(375, 24)
Me.LayoutControlItem4.Text = "Webservice Passwort"
Me.LayoutControlItem4.TextSize = New System.Drawing.Size(116, 13)
'
'LayoutControlGroup2
'
@@ -654,6 +703,9 @@ Partial Class frmConfig
CType(Me.TBEDIXMLITEMSBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.DS_DD_ECM, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.GridViewSchema, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.RepositoryItemSpinEdit1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.RepositoryItemMemoExEdit1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.RepositoryItemMemoEdit1, System.ComponentModel.ISupportInitialize).EndInit()
Me.tabPageConfig.ResumeLayout(False)
CType(Me.GridConfig, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.TBMT_CONFIGBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
@@ -669,9 +721,9 @@ Partial Class frmConfig
CType(Me.txtWebserviceImportBasePath.Properties, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.Root, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlGroup1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem4, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlGroup2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlItem1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.LayoutControlGroup3, System.ComponentModel.ISupportInitialize).EndInit()
@@ -746,4 +798,9 @@ Partial Class frmConfig
Friend WithEvents LayoutControlItem5 As LayoutControlItem
Friend WithEvents LayoutControlItem6 As LayoutControlItem
Friend WithEvents EmptySpaceItem1 As EmptySpaceItem
Friend WithEvents colTABLE_NAME As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colTEMPLATE_NAME As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents RepositoryItemSpinEdit1 As Repository.RepositoryItemSpinEdit
Friend WithEvents RepositoryItemMemoEdit1 As Repository.RepositoryItemMemoEdit
Friend WithEvents RepositoryItemMemoExEdit1 As Repository.RepositoryItemMemoExEdit
End Class