From a01861a95ede48fa4979a47b24f21616e362e534 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期二, 19 十一月 2024 16:29:46 +0800 Subject: [PATCH] 用水当量模块 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs | 53 ++++++++++++++++++++--------------------------------- 1 files changed, 20 insertions(+), 33 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs index 8996c0f..4e62ba5 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs @@ -30,19 +30,17 @@ { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(HomeXhsProjectTreeListCtrl)); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); + DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); + EditorButtonImageOptions editorButtonImageOptions1 = new EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); - DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - btnImportProject = new DevExpress.XtraEditors.SimpleButton(); + btnImportProject = new SimpleButton(); treeList1 = new DevExpress.XtraTreeList.TreeList(); colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - colJump = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); barManager1 = new DevExpress.XtraBars.BarManager(components); bar1 = new DevExpress.XtraBars.Bar(); barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem(); @@ -54,8 +52,9 @@ barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); imageCollection1 = new DevExpress.Utils.ImageCollection(components); - searchControl1 = new DevExpress.XtraEditors.SearchControl(); + searchControl1 = new SearchControl(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -63,8 +62,8 @@ ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)treeList1).BeginInit(); - ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((ISupportInitialize)barManager1).BeginInit(); + ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((ISupportInitialize)imageCollection1).BeginInit(); ((ISupportInitialize)searchControl1.Properties).BeginInit(); ((ISupportInitialize)Root).BeginInit(); @@ -94,7 +93,7 @@ btnImportProject.Appearance.Options.UseBackColor = true; btnImportProject.Appearance.Options.UseForeColor = true; btnImportProject.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; - btnImportProject.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + btnImportProject.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter; btnImportProject.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnImportProject.ImageOptions.SvgImage"); btnImportProject.ImageOptions.SvgImageSize = new Size(24, 24); btnImportProject.Location = new Point(0, 607); @@ -107,7 +106,7 @@ // // treeList1 // - treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colJump }); + treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); treeList1.Location = new Point(0, 24); treeList1.MenuManager = barManager1; treeList1.Name = "treeList1"; @@ -119,8 +118,8 @@ treeList1.StateImageList = imageCollection1; treeList1.TabIndex = 5; treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; - treeList1.RowCellClick += treeList1_RowCellClick; treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; + treeList1.DoubleClick += treeList1_DoubleClick; // // colName // @@ -133,25 +132,6 @@ colName.Visible = true; colName.VisibleIndex = 0; colName.Width = 172; - // - // colJump - // - colJump.Caption = "treeListColumn1"; - colJump.ColumnEdit = repositoryItemButtonEdit1; - colJump.FieldName = "treeListColumn1"; - colJump.Name = "colJump"; - colJump.Visible = true; - colJump.VisibleIndex = 1; - colJump.Width = 61; - // - // repositoryItemButtonEdit1 - // - repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); - editorButtonImageOptions1.SvgImageSize = new Size(20, 20); - repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); - repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; - repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // barManager1 // @@ -253,6 +233,14 @@ barDockControlRight.Manager = barManager1; barDockControlRight.Size = new Size(0, 636); // + // repositoryItemButtonEdit1 + // + repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.SvgImageSize = new Size(20, 20); + repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; + repositoryItemButtonEdit1.TextEditStyle = TextEditStyles.HideTextEditor; + // // imageCollection1 // imageCollection1.ImageStream = (DevExpress.Utils.ImageCollectionStreamer)resources.GetObject("imageCollection1.ImageStream"); @@ -264,7 +252,7 @@ searchControl1.Location = new Point(0, 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.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); searchControl1.Properties.Client = treeList1; searchControl1.Size = new Size(235, 20); searchControl1.StyleController = layoutControl1; @@ -327,8 +315,8 @@ ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((ISupportInitialize)treeList1).EndInit(); - ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((ISupportInitialize)barManager1).EndInit(); + ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((ISupportInitialize)imageCollection1).EndInit(); ((ISupportInitialize)searchControl1.Properties).EndInit(); ((ISupportInitialize)Root).EndInit(); @@ -362,7 +350,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraBars.BarButtonItem barBtnRefresh; private DevExpress.Utils.ImageCollection imageCollection1; - private DevExpress.XtraTreeList.Columns.TreeListColumn colJump; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; } } -- Gitblit v1.9.3