jj: add initial propertygrid functions

This commit is contained in:
Jonathan Jenne
2019-01-22 17:00:02 +01:00
parent 1e0bccdb48
commit 82376122c8
7 changed files with 93 additions and 46 deletions

View File

@@ -24,18 +24,18 @@ Partial Class frmEntityDesigner
Private Sub InitializeComponent()
Me.SplitContainerMain = New DevExpress.XtraEditors.SplitContainerControl()
Me.PanelMain = New EDMI_ClientSuite.SnapPanel()
Me.TabControlDetail = New DevExpress.XtraTab.XtraTabControl()
Me.TabControlMain = New DevExpress.XtraTab.XtraTabControl()
Me.TabPageProperties = New DevExpress.XtraTab.XtraTabPage()
Me.PropertyGridControl1 = New DevExpress.XtraVerticalGrid.PropertyGridControl()
Me.PropertyGridMain = New DevExpress.XtraVerticalGrid.PropertyGridControl()
Me.TabPageControls = New DevExpress.XtraTab.XtraTabPage()
Me.btnTextbox = New System.Windows.Forms.Button()
Me.btnLabel = New System.Windows.Forms.Button()
CType(Me.SplitContainerMain, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SplitContainerMain.SuspendLayout()
CType(Me.TabControlDetail, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabControlDetail.SuspendLayout()
CType(Me.TabControlMain, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabControlMain.SuspendLayout()
Me.TabPageProperties.SuspendLayout()
CType(Me.PropertyGridControl1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PropertyGridMain, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPageControls.SuspendLayout()
Me.SuspendLayout()
'
@@ -46,10 +46,10 @@ Partial Class frmEntityDesigner
Me.SplitContainerMain.Name = "SplitContainerMain"
Me.SplitContainerMain.Panel1.Controls.Add(Me.PanelMain)
Me.SplitContainerMain.Panel1.Text = "Panel1"
Me.SplitContainerMain.Panel2.Controls.Add(Me.TabControlDetail)
Me.SplitContainerMain.Panel2.Controls.Add(Me.TabControlMain)
Me.SplitContainerMain.Panel2.Text = "Panel2"
Me.SplitContainerMain.Size = New System.Drawing.Size(800, 450)
Me.SplitContainerMain.SplitterPosition = 583
Me.SplitContainerMain.SplitterPosition = 571
Me.SplitContainerMain.TabIndex = 0
Me.SplitContainerMain.Text = "SplitContainerControl1"
'
@@ -61,41 +61,41 @@ Partial Class frmEntityDesigner
Me.PanelMain.Location = New System.Drawing.Point(0, 0)
Me.PanelMain.Name = "PanelMain"
Me.PanelMain.ShowGrid = True
Me.PanelMain.Size = New System.Drawing.Size(583, 450)
Me.PanelMain.Size = New System.Drawing.Size(571, 450)
Me.PanelMain.TabIndex = 0
'
'TabControlDetail
'TabControlMain
'
Me.TabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill
Me.TabControlDetail.Location = New System.Drawing.Point(0, 0)
Me.TabControlDetail.Name = "TabControlDetail"
Me.TabControlDetail.SelectedTabPage = Me.TabPageProperties
Me.TabControlDetail.Size = New System.Drawing.Size(205, 450)
Me.TabControlDetail.TabIndex = 1
Me.TabControlDetail.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.TabPageControls, Me.TabPageProperties})
Me.TabControlMain.Dock = System.Windows.Forms.DockStyle.Fill
Me.TabControlMain.Location = New System.Drawing.Point(0, 0)
Me.TabControlMain.Name = "TabControlMain"
Me.TabControlMain.SelectedTabPage = Me.TabPageControls
Me.TabControlMain.Size = New System.Drawing.Size(217, 450)
Me.TabControlMain.TabIndex = 0
Me.TabControlMain.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.TabPageControls, Me.TabPageProperties})
'
'TabPageProperties
'
Me.TabPageProperties.Controls.Add(Me.PropertyGridControl1)
Me.TabPageProperties.Controls.Add(Me.PropertyGridMain)
Me.TabPageProperties.Name = "TabPageProperties"
Me.TabPageProperties.Size = New System.Drawing.Size(203, 425)
Me.TabPageProperties.Size = New System.Drawing.Size(215, 425)
Me.TabPageProperties.Text = "Properties"
'
'PropertyGridControl1
'PropertyGridMain
'
Me.PropertyGridControl1.Cursor = System.Windows.Forms.Cursors.Hand
Me.PropertyGridControl1.Dock = System.Windows.Forms.DockStyle.Fill
Me.PropertyGridControl1.Location = New System.Drawing.Point(0, 0)
Me.PropertyGridControl1.Name = "PropertyGridControl1"
Me.PropertyGridControl1.Size = New System.Drawing.Size(203, 425)
Me.PropertyGridControl1.TabIndex = 0
Me.PropertyGridMain.Cursor = System.Windows.Forms.Cursors.Hand
Me.PropertyGridMain.Dock = System.Windows.Forms.DockStyle.Fill
Me.PropertyGridMain.Location = New System.Drawing.Point(0, 0)
Me.PropertyGridMain.Name = "PropertyGridMain"
Me.PropertyGridMain.Size = New System.Drawing.Size(215, 425)
Me.PropertyGridMain.TabIndex = 0
'
'TabPageControls
'
Me.TabPageControls.Controls.Add(Me.btnTextbox)
Me.TabPageControls.Controls.Add(Me.btnLabel)
Me.TabPageControls.Name = "TabPageControls"
Me.TabPageControls.Size = New System.Drawing.Size(262, 425)
Me.TabPageControls.Size = New System.Drawing.Size(215, 425)
Me.TabPageControls.Text = "Controls"
'
'btnTextbox
@@ -126,19 +126,19 @@ Partial Class frmEntityDesigner
Me.Text = "Entitäten Designer"
CType(Me.SplitContainerMain, System.ComponentModel.ISupportInitialize).EndInit()
Me.SplitContainerMain.ResumeLayout(False)
CType(Me.TabControlDetail, System.ComponentModel.ISupportInitialize).EndInit()
Me.TabControlDetail.ResumeLayout(False)
CType(Me.TabControlMain, System.ComponentModel.ISupportInitialize).EndInit()
Me.TabControlMain.ResumeLayout(False)
Me.TabPageProperties.ResumeLayout(False)
CType(Me.PropertyGridControl1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PropertyGridMain, System.ComponentModel.ISupportInitialize).EndInit()
Me.TabPageControls.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
Friend WithEvents SplitContainerMain As DevExpress.XtraEditors.SplitContainerControl
Friend WithEvents TabControlDetail As DevExpress.XtraTab.XtraTabControl
Friend WithEvents TabControlMain As DevExpress.XtraTab.XtraTabControl
Friend WithEvents TabPageProperties As DevExpress.XtraTab.XtraTabPage
Friend WithEvents PropertyGridControl1 As DevExpress.XtraVerticalGrid.PropertyGridControl
Friend WithEvents PropertyGridMain As DevExpress.XtraVerticalGrid.PropertyGridControl
Friend WithEvents TabPageControls As DevExpress.XtraTab.XtraTabPage
Friend WithEvents PanelMain As SnapPanel
Friend WithEvents btnTextbox As Button