| | |
| | | Root = new LayoutControlGroup(); |
| | | layoutControlItem1 = new LayoutControlItem(); |
| | | layoutControlItem2 = new LayoutControlItem(); |
| | | barBtnDetail = new DevExpress.XtraBars.BarButtonItem(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)treeList1).BeginInit(); |
| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(539, 371, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(235, 636); |
| | | layoutControl1.Size = new Size(533, 636); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | treeList1.OptionsView.FocusRectStyle = DrawFocusRectStyle.None; |
| | | treeList1.ParentFieldName = "ParentId"; |
| | | treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | treeList1.Size = new Size(235, 611); |
| | | treeList1.Size = new Size(533, 611); |
| | | treeList1.TabIndex = 5; |
| | | treeList1.TreeViewColumn = colName; |
| | | treeList1.ViewStyle = TreeListViewStyle.TreeView; |
| | | treeList1.RowClick += treeList1_RowClick; |
| | | treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; |
| | | // |
| | | // colName |
| | |
| | | barManager1.DockControls.Add(barDockControlLeft); |
| | | barManager1.DockControls.Add(barDockControlRight); |
| | | barManager1.Form = this; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollpseAll, barBtnSearchBox, barCkTreeLine }); |
| | | barManager1.MaxItemId = 6; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollpseAll, barBtnSearchBox, barCkTreeLine, barBtnDetail }); |
| | | barManager1.MaxItemId = 9; |
| | | // |
| | | // bar1 |
| | | // |
| | |
| | | bar1.DockCol = 0; |
| | | bar1.DockRow = 0; |
| | | bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine) }); |
| | | bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine), new DevExpress.XtraBars.LinkPersistInfo(barBtnDetail) }); |
| | | bar1.OptionsBar.AllowQuickCustomization = false; |
| | | bar1.OptionsBar.DrawDragBorder = false; |
| | | bar1.OptionsBar.MultiLine = true; |
| | |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(235, 24); |
| | | barDockControlTop.Size = new Size(533, 24); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | |
| | | barDockControlBottom.Dock = DockStyle.Bottom; |
| | | barDockControlBottom.Location = new Point(0, 660); |
| | | barDockControlBottom.Manager = barManager1; |
| | | barDockControlBottom.Size = new Size(235, 0); |
| | | barDockControlBottom.Size = new Size(533, 0); |
| | | // |
| | | // barDockControlLeft |
| | | // |
| | |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(235, 24); |
| | | barDockControlRight.Location = new Point(533, 24); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 636); |
| | | // |
| | |
| | | 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.Size = new Size(533, 20); |
| | | searchControl1.StyleController = layoutControl1; |
| | | searchControl1.TabIndex = 4; |
| | | // |
| | |
| | | Root.Items.AddRange(new BaseLayoutItem[] { layoutControlItem1, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(235, 636); |
| | | Root.Size = new Size(533, 636); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 1); |
| | | layoutControlItem1.Size = new Size(235, 23); |
| | | layoutControlItem1.Size = new Size(533, 23); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | |
| | | layoutControlItem2.Location = new Point(0, 23); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1); |
| | | layoutControlItem2.Size = new Size(235, 613); |
| | | layoutControlItem2.Size = new Size(533, 613); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // barBtnDetail |
| | | // |
| | | barBtnDetail.Caption = "详细信息"; |
| | | barBtnDetail.Id = 6; |
| | | barBtnDetail.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDetail.ImageOptions.SvgImage"); |
| | | barBtnDetail.Name = "barBtnDetail"; |
| | | // |
| | | // HydroWorkingTreeCtrl |
| | | // |
| | |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Name = "HydroWorkingTreeCtrl"; |
| | | Size = new Size(235, 660); |
| | | Size = new Size(533, 660); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)treeList1).EndInit(); |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnRefresh; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDetail; |
| | | } |
| | | } |