From 34d47fbe6f79897f79b381eb1f1b4cae89b6fe05 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 14 十月 2024 00:07:42 +0800
Subject: [PATCH] 优化bimface 鼠标左键点击,尝试解决不能选中的问题,不一定解决,待测试

---
 WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/BimfaceFileMgrPage.Designer.cs |   58 +++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 43 insertions(+), 15 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/BimfaceFileMgrPage.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/BimfaceFileMgrPage.Designer.cs
index 2162bc9..a36ed1d 100644
--- a/WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/BimfaceFileMgrPage.Designer.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/BimfaceFileMgrPage.Designer.cs
@@ -31,7 +31,7 @@
             components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BimfaceFileMgrPage));
             gridControl1 = new DevExpress.XtraGrid.GridControl();
-            bimfaceFileViewModelBindingSource = new BindingSource(components);
+            bimfaceFileMgrViewModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             colBimfaceId = new DevExpress.XtraGrid.Columns.GridColumn();
             colName = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -62,31 +62,35 @@
             ribPageGrpView = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             ribPageGrpSet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
             ribPageGrpMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
+            svgImage32 = new DevExpress.Utils.SvgImageCollection(components);
+            panelControl1 = new PanelControl();
             ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)bimfaceFileViewModelBindingSource).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)bimfaceFileMgrViewModelBindingSource).BeginInit();
             ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)svgImage32).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)panelControl1).BeginInit();
+            panelControl1.SuspendLayout();
             SuspendLayout();
             // 
             // gridControl1
             // 
-            gridControl1.DataSource = bimfaceFileViewModelBindingSource;
+            gridControl1.DataSource = bimfaceFileMgrViewModelBindingSource;
             gridControl1.Dock = DockStyle.Fill;
             gridControl1.EmbeddedNavigator.Margin = new Padding(3, 1, 3, 1);
-            gridControl1.Location = new Point(0, 128);
+            gridControl1.Location = new Point(0, 1);
             gridControl1.MainView = gridView1;
             gridControl1.Margin = new Padding(3, 2, 3, 2);
             gridControl1.Name = "gridControl1";
             gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
-            gridControl1.Size = new Size(1287, 495);
+            gridControl1.Size = new Size(1285, 519);
             gridControl1.TabIndex = 7;
             gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
-            gridControl1.Click += gridControl1_Click;
             // 
-            // bimfaceFileViewModelBindingSource
+            // bimfaceFileMgrViewModelBindingSource
             // 
-            bimfaceFileViewModelBindingSource.DataSource = typeof(BimfaceFileViewModel);
+            bimfaceFileMgrViewModelBindingSource.DataSource = typeof(BimfaceFileMgrViewModel);
             // 
             // gridView1
             // 
@@ -168,6 +172,7 @@
             // 
             colHasRelation.FieldName = "HasRelation";
             colHasRelation.Name = "colHasRelation";
+            colHasRelation.OptionsColumn.FixedWidth = true;
             colHasRelation.Visible = true;
             colHasRelation.VisibleIndex = 9;
             // 
@@ -193,13 +198,13 @@
             // 
             ribbonControl1.ExpandCollapseItem.Id = 0;
             ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnUpload, barBtnTranslate, barBtnAdminAdd, barBtnDelete, barBtnDetail, barBtnEdit, barBtnLocal, barBtnWeb, barBtnPhone, barBtnSetBim, barBtnReloadData });
-            ribbonControl1.Location = new Point(0, 0);
+            ribbonControl1.Location = new Point(1, 1);
             ribbonControl1.MaxItemId = 13;
             ribbonControl1.Name = "ribbonControl1";
             ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 });
             ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
             ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
-            ribbonControl1.Size = new Size(1287, 128);
+            ribbonControl1.Size = new Size(1285, 101);
             ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;
             // 
             // barBtnUpload
@@ -276,7 +281,7 @@
             // 
             // barBtnSetBim
             // 
-            barBtnSetBim.Caption = "妯″瀷璁剧疆";
+            barBtnSetBim.Caption = "璁剧疆";
             barBtnSetBim.Id = 11;
             barBtnSetBim.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetBim.ImageOptions.SvgImage");
             barBtnSetBim.Name = "barBtnSetBim";
@@ -319,7 +324,7 @@
             // 
             ribPageGrpSet.ItemLinks.Add(barBtnSetBim);
             ribPageGrpSet.Name = "ribPageGrpSet";
-            ribPageGrpSet.Text = "璁剧疆";
+            ribPageGrpSet.Text = "妯″瀷";
             // 
             // ribPageGrpMore
             // 
@@ -327,21 +332,42 @@
             ribPageGrpMore.Name = "ribPageGrpMore";
             ribPageGrpMore.Text = "鏇村";
             // 
+            // svgImage32
+            // 
+            svgImage32.ImageSize = new Size(32, 32);
+            svgImage32.Add("bletter", "image://svgimages/outlook inspired/bletter.svg");
+            svgImage32.Add("bold", "image://svgimages/outlook inspired/bold.svg");
+            // 
+            // panelControl1
+            // 
+            panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+            panelControl1.Controls.Add(gridControl1);
+            panelControl1.Dock = DockStyle.Fill;
+            panelControl1.Location = new Point(1, 102);
+            panelControl1.Name = "panelControl1";
+            panelControl1.Padding = new Padding(0, 1, 0, 0);
+            panelControl1.Size = new Size(1285, 520);
+            panelControl1.TabIndex = 9;
+            // 
             // BimfaceFileMgrPage
             // 
             Appearance.BackColor = SystemColors.Control;
             Appearance.Options.UseBackColor = true;
             AutoScaleDimensions = new SizeF(7F, 14F);
             AutoScaleMode = AutoScaleMode.Font;
-            Controls.Add(gridControl1);
+            Controls.Add(panelControl1);
             Controls.Add(ribbonControl1);
             Name = "BimfaceFileMgrPage";
+            Padding = new Padding(1);
             Size = new Size(1287, 623);
             ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit();
-            ((System.ComponentModel.ISupportInitialize)bimfaceFileViewModelBindingSource).EndInit();
+            ((System.ComponentModel.ISupportInitialize)bimfaceFileMgrViewModelBindingSource).EndInit();
             ((System.ComponentModel.ISupportInitialize)gridView1).EndInit();
             ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit();
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit();
+            ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit();
+            ((System.ComponentModel.ISupportInitialize)panelControl1).EndInit();
+            panelControl1.ResumeLayout(false);
             ResumeLayout(false);
             PerformLayout();
         }
@@ -369,7 +395,7 @@
         private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribPageGrpSet;
         private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribPageGrpMore;
         private DevExpress.XtraBars.BarButtonItem barBtnReloadData;
-        private BindingSource bimfaceFileViewModelBindingSource;
+        private BindingSource bimfaceFileMgrViewModelBindingSource;
         private DevExpress.XtraGrid.Columns.GridColumn colBimfaceId;
         private DevExpress.XtraGrid.Columns.GridColumn colName;
         private DevExpress.XtraGrid.Columns.GridColumn colModelType;
@@ -380,5 +406,7 @@
         private DevExpress.XtraGrid.Columns.GridColumn colFlags;
         private DevExpress.XtraGrid.Columns.GridColumn colTagName;
         private DevExpress.XtraGrid.Columns.GridColumn colHasRelation;
+        private DevExpress.Utils.SvgImageCollection svgImage32;
+        private PanelControl panelControl1;
     }
 }

--
Gitblit v1.9.3