WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/EditExchangerMainDlg.cs
@@ -9,6 +9,7 @@ public EditCompressorMainDlg() { InitializeComponent(); this.treeList1.InitialMultiColSettings(); this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; } @@ -157,5 +158,13 @@ this.DialogResult = DialogResult.OK; this.Close(); } private void treeList1_FocusedNodeChanged(object sender, DevExpress.XtraTreeList.FocusedNodeChangedEventArgs e) { var vm = this.treeList1.GetCurrentViewModel(_AssetsCompressorCoefficient); if (vm == null) return; this.TextEditMinorLoss.Text = vm.MinorLoss.ToString(); } } }