コード例 #1
0
 // Called during a remove operation
 private void detach_Fillup(FillupModel fillup)
 {
     NotifyPropertyChanging("Vehicle");
     fillup.Vehicle = null;
 }
コード例 #2
0
 // Called during an add operation
 private void attach_Fillup(FillupModel fillup)
 {
     NotifyPropertyChanging("Vehicle");
     fillup.Vehicle = this;
 }