WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/02-main/AddAssetsExchangerMainDlg.cs
@@ -8,6 +8,7 @@ public AddAssetsCompressorMainDlg() { InitializeComponent(); this.treeList1.InitialMultiColSettings(); this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; } @@ -152,5 +153,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.TextEditCoefficient.Text = vm.MinorLoss.ToString(); } } }