AcManager.Pages.Dialogs.SelectCarDialog.List_WrappedValueChanged C# (CSharp) Method

List_WrappedValueChanged() private method

private List_WrappedValueChanged ( object sender, WrappedValueChangedEventArgs e ) : void
sender object
e AcManager.Tools.AcManagersNew.WrappedValueChangedEventArgs
return void
        void List_WrappedValueChanged(object sender, WrappedValueChangedEventArgs e) {
            var car = e.NewValue as CarObject;
            if (car == null || SelectedCar == null) return;

            if (car.ParentId == SelectedCar.Id) {
                _previousTunableParent = null;
                UpdateTunableVersions();
            }
        }