duheng
2024-11-17 a2a57963e160a319276c5c8499f16c9809056e4c
WinFrmUI/HStation.WinFrmUI.Assets.Core/11-compressor/03-coefficient/SetCompressorCoefficientDlg.cs
@@ -23,13 +23,13 @@
            _allBindingList = new List<CompressorCoefficientViewModel>();
            if (alllist != null)
            {
                 foreach (var item in alllist)
                foreach (var item in alllist)
                {
                    _allBindingList.Add(new CompressorCoefficientViewModel(item));
                }
            }
            this.sysPropChoiceViewModelBindingSource.DataSource = _allBindingList;
            this.sysPropChoiceViewModelBindingSource.ResetBindings(false);
            this.compressorCoefficientViewModelBindingSource.DataSource = _allBindingList;
            this.compressorCoefficientViewModelBindingSource.ResetBindings(false);
        }
        //完成
@@ -76,8 +76,8 @@
                return;
            if (e.Column == this.ColDelete)
                _allBindingList.Remove(row);
            this.sysPropChoiceViewModelBindingSource.DataSource = _allBindingList;
            this.sysPropChoiceViewModelBindingSource.ResetBindings(false);
            this.compressorCoefficientViewModelBindingSource.DataSource = _allBindingList;
            this.compressorCoefficientViewModelBindingSource.ResetBindings(false);
        }
    }
}