Пример #1
0
 // Called during a remove operation
 private void detach_Reminder(ReminderModel reminder)
 {
     NotifyPropertyChanging("Vehicle");
     reminder.Vehicle = null;
 }
Пример #2
0
 // Called during an add operation
 private void attach_Reminder(ReminderModel reminder)
 {
     NotifyPropertyChanging("Vehicle");
     reminder.Vehicle = this;
 }