private void lookUpChangedSerialNumber_Enter(object sender, EventArgs e)
        {
            if (this.WheelDetailList != null)
            {
                var result = WheelDetailList.Where(wd => !_wheelDetailChanged.Any(wdc => wdc.Id == wd.Id && wdc.Id != this.SelectedVehicleWheel.ReplaceWithWheelDetailId)).ToList();
                this.WheelDetailList = result;
            }
            else
            {
                this.WheelDetailList = new List <SpecialSparepartDetailViewModel>();
            }

            this.lookUpChangedSerialNumber.Refresh();
        }
        private void btnNewVehicleWheel_Click(object sender, EventArgs e)
        {
            foreach (var item in this.VehicleWheelList)
            {
                SpecialSparepartDetailViewModel toRemove = WheelDetailList.Where(wd => wd.SerialNumber == item.WheelDetail.SerialNumber).FirstOrDefault();
                if (toRemove != null)
                {
                    this.WheelDetailList.Remove(toRemove);
                }
            }

            VehicleWheelList.Add(new VehicleWheelViewModel
            {
                WheelDetail = new SpecialSparepartDetailViewModel()
            });
            gridVehicleWheel.DataSource = VehicleWheelList;
            gvVehicleWheel.BestFitColumns();
        }