| | |
| | | barManager1 = new DevExpress.XtraBars.BarManager(components); |
| | | bar1 = new DevExpress.XtraBars.Bar(); |
| | | barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnAddChild = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCkSearch = new DevExpress.XtraBars.BarCheckItem(); |
| | | barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnCollapseAll = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnAddChild = new DevExpress.XtraBars.BarButtonItem(); |
| | | barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | barRoot = new DevExpress.XtraBars.BarSubItem(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | searchControl1 = new DevExpress.XtraEditors.SearchControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItemSearch = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // barManager1 |
| | |
| | | barBtnAdd.ImageOptions.SvgImageSize = new Size(22, 22); |
| | | barBtnAdd.Name = "barBtnAdd"; |
| | | barBtnAdd.ItemClick += barBtnAdd_ItemClick; |
| | | // |
| | | // barBtnAddChild |
| | | // |
| | | barBtnAddChild.Caption = "增加子项"; |
| | | barBtnAddChild.Id = 50; |
| | | barBtnAddChild.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAddChild.ImageOptions.SvgImage"); |
| | | barBtnAddChild.Name = "barBtnAddChild"; |
| | | barBtnAddChild.ItemClick += barBtnAddChild_ItemClick; |
| | | // |
| | | // barBtnEdit |
| | | // |
| | |
| | | barBtnCollapseAll.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | barBtnCollapseAll.ItemClick += barBtnCollapseAll_ItemClick; |
| | | // |
| | | // barBtnAddChild |
| | | // |
| | | barBtnAddChild.Caption = "增加子项"; |
| | | barBtnAddChild.Id = 50; |
| | | barBtnAddChild.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAddChild.ImageOptions.SvgImage"); |
| | | barBtnAddChild.Name = "barBtnAddChild"; |
| | | barBtnAddChild.ItemClick += barBtnAddChild_ItemClick; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | | barDockControlTop.CausesValidation = false; |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(searchControl1); |
| | | layoutControl1.Controls.Add(treeList1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 50); |
| | |
| | | layoutControl1.TabIndex = 6; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // searchControl1 |
| | | // |
| | | searchControl1.Client = treeList1; |
| | | searchControl1.Location = new Point(2, 2); |
| | | searchControl1.MenuManager = barManager1; |
| | | searchControl1.Name = "searchControl1"; |
| | | searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); |
| | | searchControl1.Properties.Client = treeList1; |
| | | searchControl1.Size = new Size(235, 20); |
| | | searchControl1.StyleController = layoutControl1; |
| | | searchControl1.TabIndex = 8; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); |
| | | treeList1.Location = new Point(0, 0); |
| | | treeList1.Location = new Point(0, 24); |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.Editable = false; |
| | | treeList1.OptionsBehavior.ReadOnly = true; |
| | | treeList1.OptionsMenu.EnableNodeMenu = false; |
| | | treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; |
| | | treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; |
| | | treeList1.Size = new Size(239, 519); |
| | | treeList1.Size = new Size(239, 495); |
| | | treeList1.TabIndex = 7; |
| | | treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItemSearch }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(239, 519); |
| | |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = treeList1; |
| | | layoutControlItem2.Location = new Point(0, 0); |
| | | layoutControlItem2.Location = new Point(0, 24); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem2.Size = new Size(239, 519); |
| | | layoutControlItem2.Size = new Size(239, 495); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControlItemSearch |
| | | // |
| | | layoutControlItemSearch.Control = searchControl1; |
| | | layoutControlItemSearch.Location = new Point(0, 0); |
| | | layoutControlItemSearch.Name = "layoutControlItemSearch"; |
| | | layoutControlItemSearch.Size = new Size(239, 24); |
| | | layoutControlItemSearch.TextSize = new Size(0, 0); |
| | | layoutControlItemSearch.TextVisible = false; |
| | | layoutControlItemSearch.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; |
| | | // |
| | | // barRootBasicInfoMgr |
| | | // |
| | |
| | | barRootBasicInfoMgr.Id = 20; |
| | | barRootBasicInfoMgr.Name = "barRootBasicInfoMgr"; |
| | | // |
| | | // PumpSeriesTreeListCtrl |
| | | // PumpProductSeriesTreeListCtrl |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | |
| | | Controls.Add(barDockControlRight); |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Name = "PumpSeriesTreeListCtrl"; |
| | | Name = "PumpProductSeriesTreeListCtrl"; |
| | | Size = new Size(239, 569); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private DevExpress.XtraBars.BarButtonItem barBtnExpandAll; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnCollapseAll; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnAddChild; |
| | | private DevExpress.XtraEditors.SearchControl searchControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItemSearch; |
| | | } |
| | | } |