private void DeleteAddressCommandHandler(object sender, DelegateCommandEventArgs e) { MutableAddress address = e.Parameter as MutableAddress; if (address != null) { this.addresses.Remove(address); } }
private void DeleteTrackingItemCommandHandler(object sender, DelegateCommandEventArgs e) { TrackingItem item = e.Parameter as TrackingItem; if (item != null) { this.trackingItems.Remove(item); } }
private void DeleteCopyToCommandHandler(object sender, DelegateCommandEventArgs e) { MutableCopyTo copyTo = e.Parameter as MutableCopyTo; if (copyTo != null) { this.mutableCopyToList.Remove(copyTo); } }