Common: Improve Grids, Ribbons, UI
This commit is contained in:
@@ -31,6 +31,7 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.ViewObjectHistory = New DevExpress.XtraGrid.Views.Grid.GridView()
|
||||
Me.GridColumn1 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.GridColumn2 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.RepositoryItemDateEdit1 = New DevExpress.XtraEditors.Repository.RepositoryItemDateEdit()
|
||||
Me.progressLifecycle = New DevExpress.XtraEditors.ProgressBarControl()
|
||||
Me.txtObjectId = New DevExpress.XtraEditors.TextEdit()
|
||||
Me.txtCreatedWhen = New DevExpress.XtraEditors.TextEdit()
|
||||
@@ -57,6 +58,11 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.XtraTabPageAttributeHistory = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.GridValueHistory = New DevExpress.XtraGrid.GridControl()
|
||||
Me.ViewValueHistory = New DevExpress.XtraGrid.Views.Grid.GridView()
|
||||
Me.GridColumn3 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.GridColumn4 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.GridColumn5 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.GridColumn6 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.GridColumn7 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||
Me.XtraTabPageVersions = New DevExpress.XtraTab.XtraTabPage()
|
||||
Me.BarManager1 = New DevExpress.XtraBars.BarManager(Me.components)
|
||||
Me.d = New DevExpress.XtraBars.Bar()
|
||||
@@ -74,6 +80,8 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.LayoutControl1.SuspendLayout()
|
||||
CType(Me.GridObjectHistory, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.ViewObjectHistory, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.RepositoryItemDateEdit1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.RepositoryItemDateEdit1.CalendarTimeProperties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.progressLifecycle.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.txtObjectId.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.txtCreatedWhen.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
@@ -149,10 +157,11 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'
|
||||
'GridObjectHistory
|
||||
'
|
||||
Me.GridObjectHistory.Location = New System.Drawing.Point(22, 265)
|
||||
Me.GridObjectHistory.Location = New System.Drawing.Point(22, 269)
|
||||
Me.GridObjectHistory.MainView = Me.ViewObjectHistory
|
||||
Me.GridObjectHistory.Name = "GridObjectHistory"
|
||||
Me.GridObjectHistory.Size = New System.Drawing.Size(459, 285)
|
||||
Me.GridObjectHistory.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemDateEdit1})
|
||||
Me.GridObjectHistory.Size = New System.Drawing.Size(459, 282)
|
||||
Me.GridObjectHistory.TabIndex = 9
|
||||
Me.GridObjectHistory.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.ViewObjectHistory})
|
||||
'
|
||||
@@ -175,16 +184,26 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'GridColumn2
|
||||
'
|
||||
Me.GridColumn2.Caption = "Datum"
|
||||
Me.GridColumn2.DisplayFormat.FormatString = "g"
|
||||
Me.GridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime
|
||||
Me.GridColumn2.FieldName = "ADDED_WHEN"
|
||||
Me.GridColumn2.Name = "GridColumn2"
|
||||
Me.GridColumn2.Visible = True
|
||||
Me.GridColumn2.VisibleIndex = 1
|
||||
'
|
||||
'RepositoryItemDateEdit1
|
||||
'
|
||||
Me.RepositoryItemDateEdit1.AutoHeight = False
|
||||
Me.RepositoryItemDateEdit1.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)})
|
||||
Me.RepositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)})
|
||||
Me.RepositoryItemDateEdit1.Name = "RepositoryItemDateEdit1"
|
||||
Me.RepositoryItemDateEdit1.UseMaskAsDisplayFormat = True
|
||||
'
|
||||
'progressLifecycle
|
||||
'
|
||||
Me.progressLifecycle.Location = New System.Drawing.Point(24, 630)
|
||||
Me.progressLifecycle.Location = New System.Drawing.Point(24, 631)
|
||||
Me.progressLifecycle.Name = "progressLifecycle"
|
||||
Me.progressLifecycle.Size = New System.Drawing.Size(455, 14)
|
||||
Me.progressLifecycle.Size = New System.Drawing.Size(455, 13)
|
||||
Me.progressLifecycle.StyleController = Me.LayoutControl1
|
||||
Me.progressLifecycle.TabIndex = 7
|
||||
'
|
||||
@@ -255,10 +274,10 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'LayoutControlGroup1
|
||||
'
|
||||
Me.LayoutControlGroup1.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.LayoutControlItem2})
|
||||
Me.LayoutControlGroup1.Location = New System.Drawing.Point(0, 222)
|
||||
Me.LayoutControlGroup1.Location = New System.Drawing.Point(0, 226)
|
||||
Me.LayoutControlGroup1.Name = "LayoutControlGroup1"
|
||||
Me.LayoutControlGroup1.Padding = New DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0)
|
||||
Me.LayoutControlGroup1.Size = New System.Drawing.Size(483, 330)
|
||||
Me.LayoutControlGroup1.Size = New System.Drawing.Size(483, 327)
|
||||
Me.LayoutControlGroup1.Text = "Objekt Historie"
|
||||
'
|
||||
'LayoutControlItem2
|
||||
@@ -267,7 +286,7 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.LayoutControlItem2.Location = New System.Drawing.Point(0, 0)
|
||||
Me.LayoutControlItem2.Name = "LayoutControlItem2"
|
||||
Me.LayoutControlItem2.Padding = New DevExpress.XtraLayout.Utils.Padding(9, 9, 9, 9)
|
||||
Me.LayoutControlItem2.Size = New System.Drawing.Size(477, 303)
|
||||
Me.LayoutControlItem2.Size = New System.Drawing.Size(477, 300)
|
||||
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(0, 0)
|
||||
Me.LayoutControlItem2.TextVisible = False
|
||||
'
|
||||
@@ -276,7 +295,7 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.LayoutControlGroup2.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.EmptySpaceItem1, Me.LayoutControlItem1, Me.LayoutControlItem3, Me.LayoutControlItem5, Me.LayoutControlItem6, Me.LayoutControlItem7})
|
||||
Me.LayoutControlGroup2.Location = New System.Drawing.Point(0, 0)
|
||||
Me.LayoutControlGroup2.Name = "LayoutControlGroup2"
|
||||
Me.LayoutControlGroup2.Size = New System.Drawing.Size(483, 222)
|
||||
Me.LayoutControlGroup2.Size = New System.Drawing.Size(483, 226)
|
||||
Me.LayoutControlGroup2.Text = "Eigenschaften"
|
||||
'
|
||||
'EmptySpaceItem1
|
||||
@@ -284,7 +303,7 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.EmptySpaceItem1.AllowHotTrack = False
|
||||
Me.EmptySpaceItem1.Location = New System.Drawing.Point(0, 90)
|
||||
Me.EmptySpaceItem1.Name = "EmptySpaceItem1"
|
||||
Me.EmptySpaceItem1.Size = New System.Drawing.Size(459, 87)
|
||||
Me.EmptySpaceItem1.Size = New System.Drawing.Size(459, 91)
|
||||
Me.EmptySpaceItem1.TextSize = New System.Drawing.Size(0, 0)
|
||||
'
|
||||
'LayoutControlItem1
|
||||
@@ -350,9 +369,9 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'LayoutControlGroup3
|
||||
'
|
||||
Me.LayoutControlGroup3.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.LayoutControlItem4, Me.lbLifecycleStart, Me.lbLifecycleEnd})
|
||||
Me.LayoutControlGroup3.Location = New System.Drawing.Point(0, 552)
|
||||
Me.LayoutControlGroup3.Location = New System.Drawing.Point(0, 553)
|
||||
Me.LayoutControlGroup3.Name = "LayoutControlGroup3"
|
||||
Me.LayoutControlGroup3.Size = New System.Drawing.Size(483, 96)
|
||||
Me.LayoutControlGroup3.Size = New System.Drawing.Size(483, 95)
|
||||
Me.LayoutControlGroup3.Text = "Lebenszyklus"
|
||||
'
|
||||
'LayoutControlItem4
|
||||
@@ -360,7 +379,7 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.LayoutControlItem4.Control = Me.progressLifecycle
|
||||
Me.LayoutControlItem4.Location = New System.Drawing.Point(0, 33)
|
||||
Me.LayoutControlItem4.Name = "LayoutControlItem4"
|
||||
Me.LayoutControlItem4.Size = New System.Drawing.Size(459, 18)
|
||||
Me.LayoutControlItem4.Size = New System.Drawing.Size(459, 17)
|
||||
Me.LayoutControlItem4.TextSize = New System.Drawing.Size(0, 0)
|
||||
Me.LayoutControlItem4.TextVisible = False
|
||||
'
|
||||
@@ -416,7 +435,6 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'
|
||||
Me.XtraTabPageAttributeHistory.Controls.Add(Me.GridValueHistory)
|
||||
Me.XtraTabPageAttributeHistory.Name = "XtraTabPageAttributeHistory"
|
||||
Me.XtraTabPageAttributeHistory.PageEnabled = False
|
||||
Me.XtraTabPageAttributeHistory.Size = New System.Drawing.Size(503, 668)
|
||||
Me.XtraTabPageAttributeHistory.Text = "Attribut Historie"
|
||||
'
|
||||
@@ -432,11 +450,52 @@ Partial Class ctrlObjectPropertyDialog
|
||||
'
|
||||
'ViewValueHistory
|
||||
'
|
||||
Me.ViewValueHistory.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.GridColumn3, Me.GridColumn4, Me.GridColumn5, Me.GridColumn6, Me.GridColumn7})
|
||||
Me.ViewValueHistory.GridControl = Me.GridValueHistory
|
||||
Me.ViewValueHistory.Name = "ViewValueHistory"
|
||||
Me.ViewValueHistory.OptionsView.ShowGroupPanel = False
|
||||
Me.ViewValueHistory.OptionsView.ShowIndicator = False
|
||||
'
|
||||
'GridColumn3
|
||||
'
|
||||
Me.GridColumn3.Caption = "Attribut"
|
||||
Me.GridColumn3.FieldName = "Attribute"
|
||||
Me.GridColumn3.Name = "GridColumn3"
|
||||
Me.GridColumn3.Visible = True
|
||||
Me.GridColumn3.VisibleIndex = 0
|
||||
'
|
||||
'GridColumn4
|
||||
'
|
||||
Me.GridColumn4.Caption = "Alter Wert"
|
||||
Me.GridColumn4.FieldName = "Old value"
|
||||
Me.GridColumn4.Name = "GridColumn4"
|
||||
Me.GridColumn4.Visible = True
|
||||
Me.GridColumn4.VisibleIndex = 1
|
||||
'
|
||||
'GridColumn5
|
||||
'
|
||||
Me.GridColumn5.Caption = "Neuer Wert"
|
||||
Me.GridColumn5.FieldName = "New value"
|
||||
Me.GridColumn5.Name = "GridColumn5"
|
||||
Me.GridColumn5.Visible = True
|
||||
Me.GridColumn5.VisibleIndex = 2
|
||||
'
|
||||
'GridColumn6
|
||||
'
|
||||
Me.GridColumn6.Caption = "Datum"
|
||||
Me.GridColumn6.FieldName = "Changed when"
|
||||
Me.GridColumn6.Name = "GridColumn6"
|
||||
Me.GridColumn6.Visible = True
|
||||
Me.GridColumn6.VisibleIndex = 3
|
||||
'
|
||||
'GridColumn7
|
||||
'
|
||||
Me.GridColumn7.Caption = "Benutzer"
|
||||
Me.GridColumn7.FieldName = "Changed who"
|
||||
Me.GridColumn7.Name = "GridColumn7"
|
||||
Me.GridColumn7.Visible = True
|
||||
Me.GridColumn7.VisibleIndex = 4
|
||||
'
|
||||
'XtraTabPageVersions
|
||||
'
|
||||
Me.XtraTabPageVersions.Name = "XtraTabPageVersions"
|
||||
@@ -535,6 +594,8 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Me.LayoutControl1.ResumeLayout(False)
|
||||
CType(Me.GridObjectHistory, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.ViewObjectHistory, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.RepositoryItemDateEdit1.CalendarTimeProperties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.RepositoryItemDateEdit1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.progressLifecycle.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.txtObjectId.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.txtCreatedWhen.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
@@ -610,4 +671,10 @@ Partial Class ctrlObjectPropertyDialog
|
||||
Friend WithEvents XtraTabPageVersions As DevExpress.XtraTab.XtraTabPage
|
||||
Friend WithEvents GridColumn1 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn2 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn3 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn4 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn5 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn6 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents GridColumn7 As DevExpress.XtraGrid.Columns.GridColumn
|
||||
Friend WithEvents RepositoryItemDateEdit1 As DevExpress.XtraEditors.Repository.RepositoryItemDateEdit
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user