public void DelRent() { if (null == ToBeRent || !ToBeRents.Contains(ToBeRent)) { return; } ToBeRents.Remove(ToBeRent); }