Zooflow: First version of user group relations

This commit is contained in:
Jonathan Jenne
2022-03-09 15:36:14 +01:00
parent f48912b996
commit 8ace2fe11f
10 changed files with 214 additions and 70 deletions

View File

@@ -29,9 +29,12 @@ Partial Class frmAdmin_UserGroupRelations
Me.RibbonStatusBar1 = New DevExpress.XtraBars.Ribbon.RibbonStatusBar()
Me.RibbonPage2 = New DevExpress.XtraBars.Ribbon.RibbonPage()
Me.LayoutControl1 = New DevExpress.XtraLayout.LayoutControl()
Me.SimpleButton2 = New DevExpress.XtraEditors.SimpleButton()
Me.SimpleButton1 = New DevExpress.XtraEditors.SimpleButton()
Me.GridControl3 = New DevExpress.XtraGrid.GridControl()
Me.GridView3 = New DevExpress.XtraGrid.Views.Grid.GridView()
Me.colUsername2 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colSurname2 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.GridControl2 = New DevExpress.XtraGrid.GridControl()
Me.GridView2 = New DevExpress.XtraGrid.Views.Grid.GridView()
Me.colName = New DevExpress.XtraGrid.Columns.GridColumn()
@@ -39,6 +42,7 @@ Partial Class frmAdmin_UserGroupRelations
Me.colActive = New DevExpress.XtraGrid.Columns.GridColumn()
Me.GridControl1 = New DevExpress.XtraGrid.GridControl()
Me.GridView1 = New DevExpress.XtraGrid.Views.Grid.GridView()
Me.colSurname = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colUsername = New DevExpress.XtraGrid.Columns.GridColumn()
Me.Root = New DevExpress.XtraLayout.LayoutControlGroup()
Me.SimpleLabelItem1 = New DevExpress.XtraLayout.SimpleLabelItem()
@@ -47,8 +51,8 @@ Partial Class frmAdmin_UserGroupRelations
Me.SimpleLabelItem3 = New DevExpress.XtraLayout.SimpleLabelItem()
Me.LayoutControlItem2 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem3 = New DevExpress.XtraLayout.LayoutControlItem()
Me.colSurname = New DevExpress.XtraGrid.Columns.GridColumn()
Me.colSurname2 = New DevExpress.XtraGrid.Columns.GridColumn()
Me.LayoutControlItem4 = New DevExpress.XtraLayout.LayoutControlItem()
Me.LayoutControlItem5 = New DevExpress.XtraLayout.LayoutControlItem()
CType(Me.RibbonControl1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.LayoutControl1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.LayoutControl1.SuspendLayout()
@@ -65,6 +69,8 @@ Partial Class frmAdmin_UserGroupRelations
CType(Me.SimpleLabelItem3, 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.LayoutControlItem5, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'RibbonControl1
@@ -108,6 +114,8 @@ Partial Class frmAdmin_UserGroupRelations
'
'LayoutControl1
'
Me.LayoutControl1.Controls.Add(Me.SimpleButton2)
Me.LayoutControl1.Controls.Add(Me.SimpleButton1)
Me.LayoutControl1.Controls.Add(Me.GridControl3)
Me.LayoutControl1.Controls.Add(Me.GridControl2)
Me.LayoutControl1.Controls.Add(Me.GridControl1)
@@ -119,6 +127,28 @@ Partial Class frmAdmin_UserGroupRelations
Me.LayoutControl1.TabIndex = 2
Me.LayoutControl1.Text = "LayoutControl1"
'
'SimpleButton2
'
Me.SimpleButton2.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.RightCenter
Me.SimpleButton2.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.nextview
Me.SimpleButton2.Location = New System.Drawing.Point(414, 405)
Me.SimpleButton2.Name = "SimpleButton2"
Me.SimpleButton2.Size = New System.Drawing.Size(398, 36)
Me.SimpleButton2.StyleController = Me.LayoutControl1
Me.SimpleButton2.TabIndex = 8
Me.SimpleButton2.Text = "Benutzer zuordnen"
'
'SimpleButton1
'
Me.SimpleButton1.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter
Me.SimpleButton1.ImageOptions.SvgImage = Global.DigitalData.GUIs.ZooFlow.My.Resources.Resources.previousview
Me.SimpleButton1.Location = New System.Drawing.Point(414, 445)
Me.SimpleButton1.Name = "SimpleButton1"
Me.SimpleButton1.Size = New System.Drawing.Size(398, 36)
Me.SimpleButton1.StyleController = Me.LayoutControl1
Me.SimpleButton1.TabIndex = 7
Me.SimpleButton1.Text = "Benutzer entfernen"
'
'GridControl3
'
Me.GridControl3.AllowDrop = True
@@ -144,13 +174,21 @@ Partial Class frmAdmin_UserGroupRelations
Me.colUsername2.Visible = True
Me.colUsername2.VisibleIndex = 0
'
'colSurname2
'
Me.colSurname2.Caption = "Name"
Me.colSurname2.FieldName = "NAME"
Me.colSurname2.Name = "colSurname2"
Me.colSurname2.Visible = True
Me.colSurname2.VisibleIndex = 1
'
'GridControl2
'
Me.GridControl2.Location = New System.Drawing.Point(414, 45)
Me.GridControl2.MainView = Me.GridView2
Me.GridControl2.MenuManager = Me.RibbonControl1
Me.GridControl2.Name = "GridControl2"
Me.GridControl2.Size = New System.Drawing.Size(398, 436)
Me.GridControl2.Size = New System.Drawing.Size(398, 356)
Me.GridControl2.TabIndex = 5
Me.GridControl2.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridView2})
'
@@ -201,6 +239,14 @@ Partial Class frmAdmin_UserGroupRelations
Me.GridView1.GridControl = Me.GridControl1
Me.GridView1.Name = "GridView1"
'
'colSurname
'
Me.colSurname.Caption = "Name"
Me.colSurname.FieldName = "NAME"
Me.colSurname.Name = "colSurname"
Me.colSurname.Visible = True
Me.colSurname.VisibleIndex = 0
'
'colUsername
'
Me.colUsername.Caption = "Benutzername"
@@ -213,7 +259,7 @@ Partial Class frmAdmin_UserGroupRelations
'
Me.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.[True]
Me.Root.GroupBordersVisible = False
Me.Root.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.SimpleLabelItem1, Me.LayoutControlItem1, Me.SimpleLabelItem2, Me.SimpleLabelItem3, Me.LayoutControlItem2, Me.LayoutControlItem3})
Me.Root.Items.AddRange(New DevExpress.XtraLayout.BaseLayoutItem() {Me.SimpleLabelItem1, Me.LayoutControlItem1, Me.SimpleLabelItem2, Me.SimpleLabelItem3, Me.LayoutControlItem2, Me.LayoutControlItem3, Me.LayoutControlItem4, Me.LayoutControlItem5})
Me.Root.Name = "Root"
Me.Root.Size = New System.Drawing.Size(1221, 493)
Me.Root.TextVisible = False
@@ -262,7 +308,7 @@ Partial Class frmAdmin_UserGroupRelations
Me.LayoutControlItem2.Control = Me.GridControl2
Me.LayoutControlItem2.Location = New System.Drawing.Point(402, 33)
Me.LayoutControlItem2.Name = "LayoutControlItem2"
Me.LayoutControlItem2.Size = New System.Drawing.Size(402, 440)
Me.LayoutControlItem2.Size = New System.Drawing.Size(402, 360)
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(0, 0)
Me.LayoutControlItem2.TextVisible = False
'
@@ -275,21 +321,23 @@ Partial Class frmAdmin_UserGroupRelations
Me.LayoutControlItem3.TextSize = New System.Drawing.Size(0, 0)
Me.LayoutControlItem3.TextVisible = False
'
'colSurname
'LayoutControlItem4
'
Me.colSurname.Caption = "Name"
Me.colSurname.FieldName = "NAME"
Me.colSurname.Name = "colSurname"
Me.colSurname.Visible = True
Me.colSurname.VisibleIndex = 0
Me.LayoutControlItem4.Control = Me.SimpleButton1
Me.LayoutControlItem4.Location = New System.Drawing.Point(402, 433)
Me.LayoutControlItem4.Name = "LayoutControlItem4"
Me.LayoutControlItem4.Size = New System.Drawing.Size(402, 40)
Me.LayoutControlItem4.TextSize = New System.Drawing.Size(0, 0)
Me.LayoutControlItem4.TextVisible = False
'
'colSurname2
'LayoutControlItem5
'
Me.colSurname2.Caption = "Name"
Me.colSurname2.FieldName = "NAME"
Me.colSurname2.Name = "colSurname2"
Me.colSurname2.Visible = True
Me.colSurname2.VisibleIndex = 1
Me.LayoutControlItem5.Control = Me.SimpleButton2
Me.LayoutControlItem5.Location = New System.Drawing.Point(402, 393)
Me.LayoutControlItem5.Name = "LayoutControlItem5"
Me.LayoutControlItem5.Size = New System.Drawing.Size(402, 40)
Me.LayoutControlItem5.TextSize = New System.Drawing.Size(0, 0)
Me.LayoutControlItem5.TextVisible = False
'
'frmAdmin_UserGroupRelations
'
@@ -319,6 +367,8 @@ Partial Class frmAdmin_UserGroupRelations
CType(Me.SimpleLabelItem3, 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.LayoutControlItem5, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
@@ -351,4 +401,8 @@ Partial Class frmAdmin_UserGroupRelations
Friend WithEvents colUsername As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colSurname2 As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents colSurname As DevExpress.XtraGrid.Columns.GridColumn
Friend WithEvents SimpleButton2 As DevExpress.XtraEditors.SimpleButton
Friend WithEvents SimpleButton1 As DevExpress.XtraEditors.SimpleButton
Friend WithEvents LayoutControlItem4 As DevExpress.XtraLayout.LayoutControlItem
Friend WithEvents LayoutControlItem5 As DevExpress.XtraLayout.LayoutControlItem
End Class