From ca5f300a7cef85d22b5e0f9d59d117c49f9909b3 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 19 十一月 2024 09:42:16 +0800 Subject: [PATCH] 完善资产界面 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs | 64 +++++++++++++++++++------------ 1 files changed, 39 insertions(+), 25 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs index cde8462..144c75c 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs @@ -29,13 +29,13 @@ private void InitializeComponent() { components = new Container(); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + 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(); ComponentResourceManager resources = new ComponentResourceManager(typeof(XhsProjectMgrPage)); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + EditorButtonImageOptions editorButtonImageOptions2 = new EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); @@ -74,8 +74,9 @@ colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ColViewBimface = new DevExpress.XtraTreeList.Columns.TreeListColumn(); repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + colCreateTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); xhsProjectMgrViewModelBindingSource = new BindingSource(components); - panelControl1 = new DevExpress.XtraEditors.PanelControl(); + panelControl1 = new PanelControl(); svgImg32 = new DevExpress.Utils.SvgImageCollection(components); ((ISupportInitialize)repositoryItemImageComboBox1).BeginInit(); ((ISupportInitialize)svgImageCollection1).BeginInit(); @@ -95,7 +96,7 @@ ColModelState.FieldName = "ModelState"; ColModelState.Name = "ColModelState"; ColModelState.Visible = true; - ColModelState.VisibleIndex = 7; + ColModelState.VisibleIndex = 8; ColModelState.Width = 20; // // repositoryItemImageComboBox1 @@ -109,7 +110,7 @@ serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; serializableAppearanceObject4.Options.UseTextOptions = true; serializableAppearanceObject4.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; - repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + repositoryItemImageComboBox1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Ellipsis, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); repositoryItemImageComboBox1.HtmlImages = svgImageCollection1; repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; repositoryItemImageComboBox1.SmallImages = svgImageCollection1; @@ -135,6 +136,7 @@ ribbonControl1.MaxItemId = 15; ribbonControl1.Name = "ribbonControl1"; ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); + ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.False; @@ -305,8 +307,8 @@ // treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true; treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colAddress, colCustomer, colFlags, colTagName, colDescription, ColModelState, ColViewBimface }); + treeList1.BorderStyle = BorderStyles.NoBorder; + treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colAddress, colCustomer, colFlags, colTagName, colDescription, ColModelState, ColViewBimface, colCreateTime }); treeList1.DataSource = xhsProjectMgrViewModelBindingSource; treeList1.Dock = DockStyle.Fill; treeList1.Location = new Point(0, 1); @@ -329,7 +331,7 @@ colNO.Name = "colNO"; colNO.Visible = true; colNO.VisibleIndex = 0; - colNO.Width = 95; + colNO.Width = 87; // // colName // @@ -339,7 +341,7 @@ colName.Name = "colName"; colName.Visible = true; colName.VisibleIndex = 1; - colName.Width = 94; + colName.Width = 167; // // colAddress // @@ -348,8 +350,8 @@ colAddress.FieldName = "Address"; colAddress.Name = "colAddress"; colAddress.Visible = true; - colAddress.VisibleIndex = 6; - colAddress.Width = 230; + colAddress.VisibleIndex = 7; + colAddress.Width = 257; // // colCustomer // @@ -358,8 +360,8 @@ colCustomer.FieldName = "Customer"; colCustomer.Name = "colCustomer"; colCustomer.Visible = true; - colCustomer.VisibleIndex = 4; - colCustomer.Width = 94; + colCustomer.VisibleIndex = 5; + colCustomer.Width = 127; // // colFlags // @@ -368,8 +370,8 @@ colFlags.FieldName = "Flags"; colFlags.Name = "colFlags"; colFlags.Visible = true; - colFlags.VisibleIndex = 2; - colFlags.Width = 94; + colFlags.VisibleIndex = 3; + colFlags.Width = 57; // // colTagName // @@ -378,8 +380,8 @@ colTagName.FieldName = "TagName"; colTagName.Name = "colTagName"; colTagName.Visible = true; - colTagName.VisibleIndex = 3; - colTagName.Width = 94; + colTagName.VisibleIndex = 4; + colTagName.Width = 58; // // colDescription // @@ -388,29 +390,40 @@ colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 5; - colDescription.Width = 94; + colDescription.VisibleIndex = 6; + colDescription.Width = 57; // // ColViewBimface // ColViewBimface.AppearanceCell.Options.UseTextOptions = true; ColViewBimface.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - ColViewBimface.Caption = "鏌ョ湅鏂规绠$悊"; + ColViewBimface.Caption = "鏌ョ湅鏂规"; ColViewBimface.ColumnEdit = repositoryItemButtonEdit1; ColViewBimface.Name = "ColViewBimface"; ColViewBimface.OptionsColumn.AllowEdit = false; ColViewBimface.Visible = true; - ColViewBimface.VisibleIndex = 8; - ColViewBimface.Width = 32; + ColViewBimface.VisibleIndex = 9; + ColViewBimface.Width = 20; // // repositoryItemButtonEdit1 // repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); editorButtonImageOptions2.SvgImageSize = new Size(25, 25); - repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; - repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + repositoryItemButtonEdit1.TextEditStyle = TextEditStyles.HideTextEditor; + // + // colCreateTime + // + colCreateTime.AppearanceCell.Options.UseTextOptions = true; + colCreateTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + colCreateTime.Caption = "鍒涘缓鏃堕棿"; + colCreateTime.FieldName = "CreateTime"; + colCreateTime.Name = "colCreateTime"; + colCreateTime.Visible = true; + colCreateTime.VisibleIndex = 2; + colCreateTime.Width = 125; // // xhsProjectMgrViewModelBindingSource // @@ -418,7 +431,7 @@ // // panelControl1 // - panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; + panelControl1.BorderStyle = BorderStyles.NoBorder; panelControl1.Controls.Add(treeList1); panelControl1.Dock = DockStyle.Fill; panelControl1.Location = new Point(0, 101); @@ -494,5 +507,6 @@ private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repositoryItemImageComboBox1; private DevExpress.Utils.SvgImageCollection svgImageCollection1; private DevExpress.XtraBars.BarButtonItem BtnAddBimfaceFile; + private DevExpress.XtraTreeList.Columns.TreeListColumn colCreateTime; } } -- Gitblit v1.9.3