From 7978c0345a7dba15a7aadf562dfa7184e914e21d Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 20 十二月 2024 14:51:35 +0800 Subject: [PATCH] 修改表格聚焦颜色 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/03-valve/AssetsValveSingleMatchingCtrl.cs | 2 +- WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/relation/03-grid/PhartDiagramRelationGridViewCtrl.cs | 2 +- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/16-meter/AssetsMeterSingleMatchingCtrl.cs | 5 ++--- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/21-cooling/AssetsCoolingSingleMatchingCtrl.cs | 2 +- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-exchanger/AssetsExchangerSingleMatchingCtrl.cs | 7 ++----- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-pressmeter/AssetsPressmeterSingleMatchingCtrl.cs | 2 +- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingCtrl.cs | 2 +- 7 files changed, 9 insertions(+), 13 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/relation/03-grid/PhartDiagramRelationGridViewCtrl.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/relation/03-grid/PhartDiagramRelationGridViewCtrl.cs index 4fb0459..21362ee 100644 --- a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/relation/03-grid/PhartDiagramRelationGridViewCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/relation/03-grid/PhartDiagramRelationGridViewCtrl.cs @@ -19,7 +19,7 @@ { InitializeComponent(); this.gridView1.SetNormalView(); - //this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); } private List<PhartDiagramRelationGridItemViewModel> _allBindingList = null;//鎵�鏈夌粦瀹氬垪琛� diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/03-valve/AssetsValveSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/03-valve/AssetsValveSingleMatchingCtrl.cs index 0671440..5e6e3bd 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/03-valve/AssetsValveSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/03-valve/AssetsValveSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingCtrl.cs index cbf63f7..e18c22b 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/16-meter/AssetsMeterSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/16-meter/AssetsMeterSingleMatchingCtrl.cs index f69f52d..e18308b 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/16-meter/AssetsMeterSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/16-meter/AssetsMeterSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } @@ -88,6 +88,5 @@ } return vm.Vmo; } - } -} +} \ No newline at end of file diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-exchanger/AssetsExchangerSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-exchanger/AssetsExchangerSingleMatchingCtrl.cs index 90e7411..e7beaad 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-exchanger/AssetsExchangerSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-exchanger/AssetsExchangerSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } @@ -119,8 +119,5 @@ } this.phartDiagramRelationGridViewCtrl1.SetBindingData(HStation.Assets.DataType.ExchangerMain, row.Vmo.ID); } - - - } -} +} \ No newline at end of file diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-pressmeter/AssetsPressmeterSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-pressmeter/AssetsPressmeterSingleMatchingCtrl.cs index e6ee69d..0e570d6 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-pressmeter/AssetsPressmeterSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/18-pressmeter/AssetsPressmeterSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/21-cooling/AssetsCoolingSingleMatchingCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/21-cooling/AssetsCoolingSingleMatchingCtrl.cs index c6a917c..a542438 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/21-cooling/AssetsCoolingSingleMatchingCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/21-cooling/AssetsCoolingSingleMatchingCtrl.cs @@ -18,7 +18,7 @@ InitializeComponent(); this.layoutControl1.SetupLayoutControl(); this.gridView1.SetLimitView(); - this.gridView1.RegistCustomDrawCell(); + this.gridView1.RegistCustomDrawCell(Color.BurlyWood, Color.White); this.generalSearchCtrl1.SearchEvent += Search; this.generalSearchCtrl1.ClearEvent += Clear; } -- Gitblit v1.9.3