WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/AddFourLinkMainDlg.cs
@@ -8,6 +8,7 @@ public AddAssetsFourlinkMainDlg() { InitializeComponent(); this.treeList1.InitialMultiColSettings(); this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; } @@ -154,5 +155,13 @@ this.DialogResult = DialogResult.OK; this.Close(); } private void treeList1_FocusedNodeChanged(object sender, DevExpress.XtraTreeList.FocusedNodeChangedEventArgs e) { var vm = this.treeList1.GetCurrentViewModel(_AssetsFourlinkCoefficient); if (vm == null) return; this.TextEditCoefficient.Text = vm.MinorLoss.ToString(); } } }