| | |
| | | typeTreeListLookUpEdit1 = new SysTypeTreeListLookUpEdit(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | propGroupTreeListViewModelBindingSource = new BindingSource(components); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); |
| | | popupMenu1 = new DevExpress.XtraBars.PopupMenu(components); |
| | | popupMenu2 = new DevExpress.XtraBars.PopupMenu(components); |
| | | propGroupTreeListViewModelBindingSource = new BindingSource(components); |
| | | standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupTreeListViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupMenu1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupMenu2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupTreeListViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // barManager1 |
| | |
| | | barManager1.DockControls.Add(barDockControlBottom); |
| | | barManager1.DockControls.Add(barDockControlLeft); |
| | | barManager1.DockControls.Add(barDockControlRight); |
| | | barManager1.DockControls.Add(standaloneBarDockControl1); |
| | | barManager1.Form = this; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCkSearch, barBtnAdd, barBtnEdit, barBtnDelete, barButtonItem1, barButtonItem2, barButtonItem3 }); |
| | | barManager1.MaxItemId = 55; |
| | |
| | | // bar1 |
| | | // |
| | | bar1.BarName = "Custom 2"; |
| | | bar1.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; |
| | | bar1.DockCol = 0; |
| | | bar1.DockRow = 0; |
| | | bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone; |
| | | bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnAdd), new DevExpress.XtraBars.LinkPersistInfo(barBtnEdit), new DevExpress.XtraBars.LinkPersistInfo(barBtnDelete), new DevExpress.XtraBars.LinkPersistInfo(barCkSearch) }); |
| | | bar1.OptionsBar.AllowQuickCustomization = false; |
| | | bar1.OptionsBar.DrawBorder = false; |
| | | bar1.OptionsBar.DrawDragBorder = false; |
| | | bar1.OptionsBar.MultiLine = true; |
| | | bar1.OptionsBar.UseWholeRow = true; |
| | | bar1.StandaloneBarDockControl = standaloneBarDockControl1; |
| | | bar1.Text = "Custom 2"; |
| | | // |
| | | // barBtnAdd |
| | |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(276, 30); |
| | | barDockControlTop.Size = new Size(276, 0); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | |
| | | // |
| | | barDockControlLeft.CausesValidation = false; |
| | | barDockControlLeft.Dock = DockStyle.Left; |
| | | barDockControlLeft.Location = new Point(0, 30); |
| | | barDockControlLeft.Location = new Point(0, 0); |
| | | barDockControlLeft.Manager = barManager1; |
| | | barDockControlLeft.Size = new Size(0, 539); |
| | | barDockControlLeft.Size = new Size(0, 569); |
| | | // |
| | | // barDockControlRight |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(276, 30); |
| | | barDockControlRight.Location = new Point(276, 0); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 539); |
| | | barDockControlRight.Size = new Size(0, 569); |
| | | // |
| | | // barButtonItem1 |
| | | // |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(standaloneBarDockControl1); |
| | | layoutControl1.Controls.Add(typeTreeListLookUpEdit1); |
| | | layoutControl1.Controls.Add(treeList1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 30); |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(276, 539); |
| | | layoutControl1.Size = new Size(276, 569); |
| | | layoutControl1.TabIndex = 6; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | typeTreeListLookUpEdit1.Location = new Point(0, 0); |
| | | typeTreeListLookUpEdit1.Name = "typeTreeListLookUpEdit1"; |
| | | typeTreeListLookUpEdit1.Size = new Size(276, 20); |
| | | typeTreeListLookUpEdit1.TabIndex = 5; |
| | | typeTreeListLookUpEdit1.TabIndex = 0; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); |
| | | treeList1.DataSource = propGroupTreeListViewModelBindingSource; |
| | | treeList1.Location = new Point(0, 20); |
| | | treeList1.Location = new Point(0, 54); |
| | | treeList1.MenuManager = barManager1; |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.Editable = false; |
| | | treeList1.OptionsBehavior.ReadOnly = true; |
| | | treeList1.Size = new Size(276, 519); |
| | | treeList1.TabIndex = 4; |
| | | treeList1.Size = new Size(276, 515); |
| | | treeList1.TabIndex = 2; |
| | | treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | // |
| | |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | // |
| | | // propGroupTreeListViewModelBindingSource |
| | | // |
| | | propGroupTreeListViewModelBindingSource.DataSource = typeof(SysPropGroupTreeListViewModel); |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem3, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(276, 539); |
| | | Root.Size = new Size(276, 569); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = treeList1; |
| | | layoutControlItem1.Location = new Point(0, 20); |
| | | layoutControlItem1.Location = new Point(0, 54); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem1.Size = new Size(276, 519); |
| | | layoutControlItem1.Size = new Size(276, 515); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | |
| | | popupMenu2.Manager = barManager1; |
| | | popupMenu2.Name = "popupMenu2"; |
| | | // |
| | | // propGroupTreeListViewModelBindingSource |
| | | // standaloneBarDockControl1 |
| | | // |
| | | propGroupTreeListViewModelBindingSource.DataSource = typeof(SysPropGroupTreeListViewModel); |
| | | standaloneBarDockControl1.CausesValidation = false; |
| | | standaloneBarDockControl1.Location = new Point(2, 22); |
| | | standaloneBarDockControl1.Manager = barManager1; |
| | | standaloneBarDockControl1.Name = "standaloneBarDockControl1"; |
| | | standaloneBarDockControl1.Size = new Size(272, 30); |
| | | standaloneBarDockControl1.Text = "standaloneBarDockControl1"; |
| | | // |
| | | // PropGroupTreeListCtrl |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = standaloneBarDockControl1; |
| | | layoutControlItem3.Location = new Point(0, 20); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(276, 34); |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | | // SysPropGroupTreeListCtrl |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | |
| | | Controls.Add(barDockControlRight); |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Name = "PropGroupTreeListCtrl"; |
| | | Name = "SysPropGroupTreeListCtrl"; |
| | | Size = new Size(276, 569); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupTreeListViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupMenu1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupMenu2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)propGroupTreeListViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private SysTypeTreeListLookUpEdit typeTreeListLookUpEdit1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private BindingSource propGroupTreeListViewModelBindingSource; |
| | | private DevExpress.XtraBars.StandaloneBarDockControl standaloneBarDockControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | } |
| | | } |